This error message occurs when we define in our project settings -> Application -> Startup object a reference to an non-existing class.
We usually encounter this error after renaming our main project's namespace. Visual Studio's rename command won't change your Startup object to the newly renamed class, so make sure you change it to the new namespace after the rename!
Frequent error messages:
Could not find 'Program' specified for Main method
Could not find 'Shell.App' specified for Main method
Showing posts with label visual studio. Show all posts
Showing posts with label visual studio. Show all posts
Sunday, March 20, 2011
Wednesday, December 17, 2008
Visual Studio 2008 XML Editor Outlining Expansion Issue
In the previous release of Visual Studio(2005 release), XML editing was really a comfortable task for me, as comfortable as an XML task can be. You could easily expand/collapse elements, and while the elements were collapsed, it was easy to distinguish between them.
Subscribe to:
Posts (Atom)