问题描述
我使用它没有安装任何Visual Studio中的Buildserver。我使用TeamCity的用的MSBuild代理构建我的应用程序。现在,我需要使用异步靶向包使用异步/等待(我不能应用更新到.NET 4.5,因为它在Windows XP计算机上运行)。
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).
现在,我正在寻找一种方式来继续在此计算机上建立我的申请与所引用的异步瞄准包,但没有安装Visual Studio 2012有没有办法做到这一点?
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?
推荐答案
该Aync定位软件现在已上的NuGet:的
The Aync Targeting Pack is now on NuGet: http://nuget.org/packages/Microsoft.Bcl.Async
您可以从您的项目,应使其可以运行您的构建服务器上,而无需安装Visual Studio的扩展引用包。
You could reference the package from your project which should make it runnable on your build server without installing the Visual Studio extension.
这篇关于异步的BuildServer瞄准包没有Visual Studio 2012中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!