问题
I am using a Buildserver which does not have installed any Visual Studio. I use TeamCity with msbuild Agent to Building my application. Now, I need to use the Async Targeting Pack for using async/await (I cannot update the application to .NET 4.5 because it has to run on Windows XP Machines).
Now, I am searching a way to continue build my application on this machine with Referenced the Async Targeting Pack but without installing Visual Studio 2012. Is there a way to do this?
回答1:
The Aync Targeting Pack is now on NuGet: http://nuget.org/packages/Microsoft.Bcl.Async
You could reference the package from your project which should make it runnable on your build server without installing the Visual Studio extension.
来源:https://stackoverflow.com/questions/14870081/async-targeting-pack-without-visual-studio-2012-on-buildserver