Website fails to load when project open in VS 2013

来源:互联网 发布:网络主播是怎么挣钱的 编辑:程序博客网 时间:2024/06/06 04:00

原帖地址:http://connect.microsoft.com/VisualStudio/feedback/details/800212/website-fails-to-load-when-project-open-in-vs-2013

I have an existing web project that when I run it in IIS and VS 2013 RC is open, I get the exception below, but when I close VS 2013 RC and reload the page it works fine.

My solution has many projects and the web project has a mix of webforms, asp.net mvc and WebApi.

解决方案

1. add following to your config file:
<appSettings>
<add key="PageInspector:ServerCodeMappingSupport" value="Disabled" />
</appSettings>


2. Disable the Browser Link feature in VS 2013

2.1. Click on the Browser Link combo button on the Standard toolbar
2.2. Un-check "Enable Browser Link"

0 0
原创粉丝点击