Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-287759: Cleanup (configured to clean usings) will add unneeded required usings to razor views

$
0
0
Reporter tobi (thymin) tobi (thymin)
Created Jan 13, 2012 6:22:16 PM
Updated Jan 16, 2012 2:37:50 PM
Priority Critical
Type Unspecified
Fix versions Next
State Submitted
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
1. configure the c# settings to always import the System namespace
2. create an empty razor file
3. perform code cleanup on it

a using directive for System has now been added. This is a) redundant and b) not what I want. Who wants unneeded usings in their razor files? This is a totally different thing than C# files where you actually might want to always include certain namespaces. Makes no sense for razor ans aspx views.

I think required usings should not be added to razor files.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>