PC Review


Reply
Thread Tools Rate Thread

BUG ?: SolutionItemsEvents not fired

 
 
Cedric
Guest
Posts: n/a
 
      2nd Oct 2003
Hello,

I trying to develop an addin but I not able to catch SolutionItemsEvents.

Is there somebody reach to do that ?


 
Reply With Quote
 
 
 
 
Peter Huang [MSFT]
Guest
Posts: n/a
 
      2nd Oct 2003
Hi Cedric,

SolutionEvents is of type SolutionEvents, but both MiscFilesEvents and
SolutionItemsEvents are of type ProjectItemsEvents.

You may try to have a look at the sample code.
Microsoft Visual Studio .NET Automation Sample: EventWatcher Add-in
http://msdn.microsoft.com/code/defau...p?url=/MSDN-FI
LES/026/002/525/msdncompositedoc.xml

Have a nice day.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
>From: "Cedric" <(E-Mail Removed)>
>Subject: BUG ?: SolutionItemsEvents not fired
>Date: Thu, 2 Oct 2003 14:01:23 +0200
>Lines: 7
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <(E-Mail Removed)>
>Newsgroups: microsoft.public.dotnet.general
>NNTP-Posting-Host: ca-sqy-14-167.w80-8.abo.wanadoo.fr 80.8.67.167
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:110542
>X-Tomcat-NG: microsoft.public.dotnet.general
>
>Hello,
>
>I trying to develop an addin but I not able to catch SolutionItemsEvents.
>
>Is there somebody reach to do that ?
>
>
>


 
Reply With Quote
 
Cedric
Guest
Posts: n/a
 
      2nd Oct 2003
> SolutionEvents is of type SolutionEvents, but both MiscFilesEvents and
> SolutionItemsEvents are of type ProjectItemsEvents.
>
> You may try to have a look at the sample code.
> Microsoft Visual Studio .NET Automation Sample: EventWatcher Add-in
>

http://msdn.microsoft.com/code/defau...p?url=/MSDN-FI
> LES/026/002/525/msdncompositedoc.xml
>

Your URL is wrong correct one is
:http://msdn.microsoft.com/vstudio/do...utomation.aspx

Ok thanks for that but try to run it. And you'll never see these events (in
..net 2003 at least):
SolutionItemsEvents.ItemAdded, ItemRenamed ItemRemoved

and same thing for MiscFilesEvents

So my question is not so bad and become really a bug report.

> Have a nice day.
>
> Regards,
> Peter Huang
> Microsoft Online Partner Support
> Get Secure! www.microsoft.com/security
> This posting is provided "as is" with no warranties and confers no rights.
> --------------------
> >Hello,
> >
> >I trying to develop an addin but I not able to catch SolutionItemsEvents.
> >
> >Is there somebody reach to do that ?
> >
> >
> >

>



 
Reply With Quote
 
Peter Huang [MSFT]
Guest
Posts: n/a
 
      6th Oct 2003
Hi,

Solution items is not a Common project e.g. VB. C#. It is a special project.

You may try to follow the steps below to see if the
SolutionItemsEvents_ItemAdded has been fired.
[I tested with the EventWatcher Add-In in the link below]
http://msdn.microsoft.com/vstudio/do...utomation.aspx
[STEPS]
1. In the Solution Explorer Panel, Right click on the Solution and select
Add-->Add New Item
2. In the Add New Item dialog, select a item ,e.g. Text File.
3. Click Open
Observe the Output panel[DTE Events Information] to see if the
SolutionItemsEvents_ItemAdded has been fired.

You may have a try and let me know the result.
Cheers.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
>From: "Cedric" <(E-Mail Removed)>
>References: <(E-Mail Removed)>

<sYKk$(E-Mail Removed)>
>Subject: Re: BUG ?: SolutionItemsEvents not fired
>Date: Thu, 2 Oct 2003 17:34:11 +0200
>Lines: 39
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <(E-Mail Removed)>
>Newsgroups: microsoft.public.dotnet.general
>NNTP-Posting-Host: ca-sqy-5-179.w80-8.abo.wanadoo.fr 80.8.58.179
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:110559
>X-Tomcat-NG: microsoft.public.dotnet.general
>
>> SolutionEvents is of type SolutionEvents, but both MiscFilesEvents and
>> SolutionItemsEvents are of type ProjectItemsEvents.
>>
>> You may try to have a look at the sample code.
>> Microsoft Visual Studio .NET Automation Sample: EventWatcher Add-in
>>

>http://msdn.microsoft.com/code/defau...sp?url=/MSDN-F

I
>> LES/026/002/525/msdncompositedoc.xml
>>

>Your URL is wrong correct one is
>:http://msdn.microsoft.com/vstudio/do...utomation.aspx
>
>Ok thanks for that but try to run it. And you'll never see these events (in
>.net 2003 at least):
>SolutionItemsEvents.ItemAdded, ItemRenamed ItemRemoved
>
>and same thing for MiscFilesEvents
>
>So my question is not so bad and become really a bug report.
>
>> Have a nice day.
>>
>> Regards,
>> Peter Huang
>> Microsoft Online Partner Support
>> Get Secure! www.microsoft.com/security
>> This posting is provided "as is" with no warranties and confers no

rights.
>> --------------------
>> >Hello,
>> >
>> >I trying to develop an addin but I not able to catch

SolutionItemsEvents.
>> >
>> >Is there somebody reach to do that ?
>> >
>> >
>> >

>>

>
>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Please help me fix my RPC before I get fired over it. Patrick Keenan Windows XP Help 0 11th Jan 2008 06:36 AM
What event is fired Martijn Mulder Microsoft C# .NET 4 30th Oct 2007 01:19 AM
BMB.CurrentChanged gets fired just once or twice?! Tom Spink Microsoft C# .NET 1 31st Oct 2006 03:25 PM
Must be why he got fired.... =?Utf-8?B?b2ZhbmdlZDE=?= Microsoft Windows 2000 5 17th Jul 2005 04:22 PM
Event Not getting fired. =?Utf-8?B?VmlkaXQ=?= Microsoft Dot NET Framework Forms 0 21st Oct 2004 08:37 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:33 PM.