由于使用RFS 可能出现多人提交导致文件混错。
本次遇到的错误原因是WebConfig 的节点出现错误。根据提示错误查找【compilation 】
发现有两处:
<system.web>
<authentication mode="None"/>
<compilation debug="true" />
<httpRuntime targetFramework="4.5"/>
<httpModules>
</system.web>
<appSettings>
<add key="webpages:Version" value="3.0.0.0"/>
.....
</appSettings>
<system.web>
<authentication mode="None"/>
<compilation debug="true" targetFramework="4.5"/>
<httpRuntime targetFramework="4.5"/>
<httpModules>
</system.web>
将其合并在一处!