Reporter | Feng Xiao (fxiao) |
---|---|
Created | Mar 22, 2012 10:04:58 PM |
Updated | Mar 22, 2012 10:04:58 PM |
Priority | Normal |
Type | Bug |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Unassigned |
Subsystem | Code Analysis |
Affected versions | 5.0, 6.0 EAP, 6.0 Beta, 5.1, 5.1.1, 6.0, 5.1.2, 5.1.3, 6.1, 7.0, 7.0 Preview, 6.1.1 |
Fixed in build | No Fixed in build |
I have custom build provder configured in web.config as followed
<compilation debug="true" targetFramework="4.0">
<buildProviders>
<remove extension=".cshtml" />
<add extension=".cshtml" type="MvcApplication7.CSHtmlBuildProvider, MvcApplication7"/>
</buildProviders>
</compilation>
Then I created helper page ViewPage1-Test.cshtml in App_Code folder, the custom build provider alters the class name to ViewPage1 instead of ViewPage1_Test. ReSharper cannot resolve the new class name, it still consider the old one is valid.
<compilation debug="true" targetFramework="4.0">
<buildProviders>
<remove extension=".cshtml" />
<add extension=".cshtml" type="MvcApplication7.CSHtmlBuildProvider, MvcApplication7"/>
</buildProviders>
</compilation>
Then I created helper page ViewPage1-Test.cshtml in App_Code folder, the custom build provider alters the class name to ViewPage1 instead of ViewPage1_Test. ReSharper cannot resolve the new class name, it still consider the old one is valid.