MSBuild in TeamCity of Visual Studio 2012 solution

前端 未结 6 718

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 05:57

    I totally disagree with changing the project files because that might affect other developers. This is what worked for me since the v11.0 folder was missing on MS build folder: 1)Create v111.

    1. Create v11.0 folder on C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio
    2. Copy Web and WebApplications folders from my development box "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0"
    3. Booom! work like a charm\
    4. Note: I installed "Microsoft Visual Studio 2012 Shell (Isolated) Redistributable Package"

提交回复
热议问题