Visual Studio 2010 Beta1 – Unknown build error workaround

I’ve been working a good bit with the new Visual Studio 2010 Beta1 and really like the new designer features, .NET 4.0 features and VB language changes.

I have been getting the following error during project builds:

Error 1 Unknown build error, ‘Could not load file or assembly ‘file:///C:\Users\molenator\Documents\Visual Studio 10\Projects\MasterDetailDataSourcesWindowDemo\MasterDetailDataSourcesWindowDemo\obj\x86\Debug\MasterDetailDataSourcesWindowDemo.exe’ or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0×80070020)’  MasterDetailDataSourcesWindowDemo

When this happens rebuild your solution. (Build menu, select Rebuild Solution).  Solution will rebuild successfully.

If you encounter problems like this, please report them on Microsoft Connect.

Have a great day,

Just a grain of sand on the worlds beaches.

Leave a Reply

You must be logged in to post a comment.