|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Troubleshooting Object Test Bench
This topic describes the most common problems you can encounter working with Object Test Bench and a short description of how to solve the problem.
Cause: You have changed your code, and now Object Test Bench displays a version no longer in sync with your code.
Solution: Rebuild to re-sync Object Test Bench. You will not be able to perform an object operation in Object Test Bench until you rebuild to refresh.
Rebuilding the application can cause the Object Test Bench to reset.
Cause: The project which contains the class on which Object Test Bench is being invoked might not be set as StartUp Project.
Solution: In Whidbey, a project needs to be set as startup project before we can use OTB with it. In the Class view, right click on the project (which contains class you want to use with OTB) and click on Set as StartUp Project.