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

RSRP-291531: Errorneous "Namespace does not correspond to file location" warning

$
0
0
Reporter Ilya Brooke (Aquilae) Ilya Brooke (Aquilae)
Created Mar 24, 2012 7:43:50 PM
Updated Apr 25, 2012 2:35:00 PM
Resolved Apr 25, 2012 4:33:27 AM
Priority Critical
Type Bug
Fix versions 7.0
State Fixed
Assignee Sergey Shkredov (serjic.shkredov)
Subsystem Code Analysis
Affected versions 7.0 Preview
Fixed in build 7.0.25.5
ReSharper 7 Preview ignores project's namespace setting (maybe only when dot is used?) and tries to move top-level identifiers into global namespace.
Live templates also created with empty $NAMESPACE$ token.
It may also be caused by creating solution inside differenly named folder (I have folder projects/ImageStore.Lite, solution named ImageStore in it and c# project named ImageStore.Lite)

How to reproduce:
1. Create empty solution "TestSol" inside "TestSol.Test" folder.
2. Add C# class library project "TestSol.Test".
3. Add top-level class "TestClass".

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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