Problem:
Programming in Visual Studio 2005.
Have a Web Form with some user controls.
Drop into the code behind of the web form, and then try and right click on a method of a user control. VS2005 will redirect you to some Metadata class object file.
Useless I say, useless. In this file, you will see the definitions for all the controls on the user web control.
Solution:
1) When you start up a new project in visual studio 2005
File -> New Project ->
Project Type :: select c#
Visual Studio Installed Templates: ASP.Net Web Application
2) Build Application
a) make sure bin folder exists
b) build web application
3) Most IMPORTANT STEP
a) open solution explorer
b) right click on "references"
c) click on add reference
d) click on "browse" tab
e) click on solution DLL in Bin folder
Visual Studio 2003 works fine. I guess the programmer who wrote this feature no longer works at Microsoft.
Subscribe to:
Post Comments (Atom)
2 comments:
Yay. You finally found a solution! Way to go.
Believe it or not, I found metadata very useful (implemented interfaces and classes, quick view of methods and poperties...)
Post a Comment