MSBuild in TeamCity of Visual Studio 2012 solution

前端 未结 6 719

I have a VS 2012 web project /sln that I am trying to build in TeamCity. it uses .NET 4.5 which is installed on TeamCity.

The TeamCity server has VS 2010 in

6条回答
  •  醉酒成梦
    2020-12-02 06:04

    As described here:

    • Install nuget MSBuild.Microsoft.VisualStudio.Web.targets
    • Edit the .csproj file

    Replace:

     
    
    

    with:

    
    

    Obviously you have to make sure versions match your case both on the nuget installed and path in

提交回复
热议问题