Visual Studio 2010 – The command you are attempting cannot be completed because the file is under source code control and is not checked out

If you have upgraded Visual Studio 2010 to SP1 recently, and you use Team Foundation Server, you may get the following message when trying to build MSI setup projects – “The command you are attempting cannot be completed because the file ‘<filename>’ is under source code control and is not checked out “.

To resolve this, check out MSI setup project file(s) manually before doing a build.

Advertisements

One thought on “Visual Studio 2010 – The command you are attempting cannot be completed because the file is under source code control and is not checked out

  1. An outstanding share! I’ve just forwarded this onto a colleague who was doing a little homework on this. And he in fact bought me lunch due to the fact that I found it for him… lol. So allow me to reword this…. Thanks for the meal!! But yeah, thanks for spending time to discuss this issue here on your blog.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s