2013-01-17 61 views

回答

5

我發現,在我的web.config,我有以下行:

<compilation 
    debug="true" targetFramework="4.0" 
    assemblyPostProcessorType="Microsoft.VisualStudio.Enterprise.Common.AspPerformanceInstrumenter, Microsoft.VisualStudio.Enterprise.AspNetHelper, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> 

的assemblyPostProcessorType屬性是造成問題。我假設它對動態生成的剃鬚刀組件進行了一些處理,以打破調試。

所以我只是刪除了屬性得到:

<compilation debug="true" targetFramework="4.0" /> 
相關問題