Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: VB7
Expertise: beginner
May 8, 2002

Unload setup projects before running the Inheritance Picker

If your solution contains a setup project and this setup project has been built at least once, you get an Assembly Load error when you run the Inheritance Picker in order to inherit from an existing form in your main project.

This problem occurs because the setup project generates several executable files - such as InstMsiA.exe, InstMsiW.exe, and Setup.exe - that aren't valid .NET assemblies. However, the Inheritance Picker interprets these files as assemblies and attempts to load them, which results in a failure.

The only solution to this problem is removing the setup project from the solution, and re-add it to the solution only when you're about to package the solution.

Francesco Balena
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date