Craig Shoemaker

<November 2008>
SuMoTuWeThFrSa
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456


Navigation

The Roll

Subscriptions

News

Check out the Podcast
Polymorphic Podcast - the show about object oriented development, architecture and best practices in .NET
Subscribe to the Blog
ASP.NET 2.0 AJAX
Beginning Ajax with ASP.NET

Post Categories



Monday, July 10, 2006 - Posts

VS.NET 2005 Fails to Build Every Time (If you don't do this...)

One of the lovely artifacts of web project not having project files is that the contents of the project are determined by the contents of the directory. Oh happy day. This feature has caused more problems in a collaborative development environment than the problem of the project file being locked checked out by a single control-mongering developer.

One of the gotchas you must be aware of is that when you try to check in your files via the Check In option when you right-click on the Solution Explorer, Visual Studio.NET will very often try to check in the contents of your BIN and OBJ folders. Once this is done, the next time you get latest from source control, the project won't build because the individual .DLL files are set as read only.

So how do you get around this?

You can either use the View Pending Checkins context menu instead of going directly to the Check In window. The pending window will give you a tree view of all files checked out. All you have to do is un-check anything in the BIN or OBJ folder.

The other option you have available to you is to use project files with ASP.NET 2.0 applications . There is just a little work integrating this solution into an existing application.

posted Monday, July 10, 2006 5:51 PM by drazz75 with 0 Comments




Powered by Dot Net Junkies, by Telligent Systems