MSMVPS.COM
The Ultimate Destination for Blogs by Current and Former Microsoft Most Valuable Professionals.

Fixing "Rebuild" error when using the Object Test Bench

Lots of folks don't know that Visual Studio 2005 has design-time expression evaluation that allows you to instantiate objects and execute their methods at design time--a very cool feature. You can do this by right-clicking an object in a class diagram and selecting Create Instance from the shortcut menu (you can also do the same from the Class View window).

If you get an error telling you to rebuild the project when trying to instantiate an object in the Object Test Bench (and the error won't go away), rebuild your project, then select Tools | Options from the Visual Studio menu and in the Options dialog, select Projects and Solutions in the left pane then mark the Show advanced build configurations check box.

Best Regards,

Kevin McNeish
Microsoft .NET MVP
President, Oak Leaf Enterprises, Inc.
Chief Architect of the MM .NET Application Framework


 


Posted Apr 29 2007, 05:07 AM by KevinMcNeish

Add a Comment

(required)  
(optional)
(required)  
Remember Me?


Copyright © is the original authors. Blog site is an independent site not sponsored by Microsoft. The Yoda blog server and the Brianna SQL server would like to thank www.ownwebnow.com and www.exchangedefender.com. They wouldn't be here and broadcasting without the generosity of Vlad Mazek and his companies.

Powered by Community Server (Commercial Edition), by Telligent Systems