Hi Yan,
I think I found how to reproduce the problem; I appreciate if you could
confirm it with Microsoft tem:
Step 1) Use Visual Studio 2005 Professional Edition
Step 2) Create a solution with one WinForms application within it
At this point you have create instance option for all classes within the
class view
Step 3) Add a class library to the solution
Step 4) Go to the class view and choose any class of the class library you
just created
Step 5) Right click on that class, there is no "Create Instance" option!
This behavior seems to be by design, but I am wondering what is the
microsoft official explanation for this limitation.
Thank you,
Alan
[quoted text, click to view] "Yan-Hong Huang[MSFT]" <yhhuang@online.microsoft.com> wrote in message
news:Z2Py7ZwJGHA.3152@TK2MSFTNGXA02.phx.gbl...
> Hello Alan,
>
> Based on my understanding, the problem is that: Your solution has 20 C#
> projects. However, the IDE doesn't have the "create instance" menu item
> when you right click on any class in class view. Please correct me if I
> have misunderstood anything.
>
> I created a testing solution and 20 testing c# projects. However, it seems
> the option is working on my side. Could you please help test from a simple
> solution to see whether you can reproduce it on your side?
>
> If it is convenient for you, could you please email us a repro sample and
> so we will investigate it for you. Thanks very much.
>
> Best regards,
> Yanhong Huang
> Microsoft Community Support
>
> Get Secure! ¨C
www.microsoft.com/security > Register to Access MSDN Managed Newsgroups!
>
http://msdn.microsoft.com/subscriptions/managednewsgroups/ >
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>