tags:

views:

101

answers:

1

Hi,

I spent a great many hours trying to work out why my project builds with the default (blank) configuration on TFS2010 but tells me there's no output path if I set it to anything.

In the end, I realised that in the .csproj file the configuration is written as AnyCPU while for TFS the proposed drop-down value is Any CPU (notice the space).

I removed the space in the TFS configuration and it worked.

The project was converted from a VS2008 version. Did MS change the name of the configuration for the VS2010 version? Can someone tell me what's happening?

Cheers.

+1  A: 

I'm not sure if it was every "AnyCPU" (no space), but the default target name is "Any CPU" with a space. I should point out, however, that these names are arbitrary strings and you can set them to whatever you like so long as they're consistent.

Jim Lamb