Deploying a .Net 4.5 website to an IIS 7.5 server

前端 未结 5 897
野性不改
野性不改 2020-12-30 12:29

We are using Teamcity to do continuous integration builds for our website and have just upgraded our website to .Net 4.5RC. The application builds and runs in IIS express o

5条回答
  •  粉色の甜心
    2020-12-30 12:55

    I had a similar problem. I was building my application by calling MSBuild, and I found that when I tried to web-deploy the application I got that error. I fixed it by telling MSBuild to build with VS2012, by adding a commandline switch to the MSBuild command:

    /P:VisualStudioVersion=11.0
    

    Tip o' the hat to this question.

提交回复
热议问题