ASP.NET MVC 1.0 AfterBuilding Views fails on TFS Build

后端 未结 9 1379
你的背包
你的背包 2020-12-12 17:42

I\'ve upgraded from ASP.NET MVC Beta to 1.0 and did the following changes to the MVC project (as descibed in the RC release notes):


  ...         


        
9条回答
  •  无人及你
    2020-12-12 18:31

    We are still testing this out, but it appears that you can move the false/true from the tag set, into the property group for your DEBUG build version, you can still set it to true and MSBuild will compile (assuming MSBuild TfsBuild.proj file is setup to use something other than debug configuration). You will need to edit the csproj file using Notepad to accomplish this.

    
      
        Debug
        true
        ....
    

    You need to move the MVCBuildViews tag from the default property group above, to the debug configuration property group (below). Again, when we get the TFS / MSBuild setup, I'll try to post the step we added to our TFSBuild.proj file in TFS.

      
        true
        true
        ....
    

提交回复
热议问题