Using TeamCity 5.1.2, I am able to build my .net 4 application successfully using Visual Studio (sln) build runner, and specifying Visual Studio 2010.
I am also able to successfully build the application running a Nant build file directly on the server that TeamCity is running on,
so I know Nant is configured correctly to use .net 4.0.
But if I try using the Nant build runner in TeamCity, and set the Target Framework as unspecified (as this option only goes up to .net3.5),
I receive the following error which leads me to believe that it’s using .net 3.5 to compile the application
c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(2341, 9): error MSB3188: Assembly ‘…' must be strong signed in order to be marked as a prerequisite.
Is there something specific i need to do to TeamCity in order to use Nant to compile .net 4.0?