This project is to verify a bug in Rider https://youtrack.jetbrains.com/issue/RIDER-2240 .
Steps:
- Create a dotnet core project
- Set the
RootNamespace
inOuter.Inner.xproj
toOuter
(By manually editing thexproj
file). - Create a directory
SubDir
in the project. - Add a class
Sample.cs
in directorySubDir
.
Expected:
Rider should give NO warning for the namespace Outer.SubDir
in Sample.cs
.
Actual:
Rider warns Namespace does not correspond to file location, should be 'Outer.Inner.Inner'