Kevin McNeish Blog

All things iOS, Kindle and .NET

Recent Posts



  • First books in my new book series, "iOS App Development for Non-Programmers" are now available! iBookStore: Amazon: Amazon:


Email Notifications


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



Kim Rossey said:

Checked or unchecked I still get error telling me to rebuild the project...

# May 12, 2007 11:31 PM
Leave a Comment





If you can't read this number refresh your screen
Enter the numbers above: