ASP.NET MVC 1.0 AfterBuilding Views fails on TFS Build

后端 未结 9 1388
你的背包
你的背包 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:27

    Actually, there's a better solution to this problem. I've tested it with VS/TFS 2010 but it should also work with VS/TFS 2008.

    
      
    
    

    I'm going to work with the MVC team to update their project template to to use this approach along with a custom target (rather than overriding AfterBuild).

    I've published a blog post on How to Turn on Compile-time View Checking for ASP.NET MVC projects in TFS Build 2010.

提交回复
热议问题