Code Inspection severity / excluded files on csproj.DotSettings level?

i would like to find a confirmation if project-level settings are respected in any way by Resharper 2017.1/2/3 with VS and Command Line Tool? As of now, i cannot find a way to make it work. As an example: 

when i add rule:  <s:Boolean x:Key="/Default/Environment/ExcludedFiles/FilesAndFoldersToSkip/=41FBA16E_002D8611_002D4A90_002D8131_002DE05B3538E237_002Fd_003AScripts_002Ff_003AnewsRoomApp_002Dlib_002Emin_002Ejs/@EntryIndexedValue">True</s:Boolean>

to csproj.dotsettings - it is not being respected. 

When i put the same rule sln.dotsettings, it works like charm. 

0
1 comment

Hello Marek!

 

Thank you for contacting us.

Per project settings are respected by the latest ReSharper versions.

Could you please try the following rule:

<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/

=41FBA16E_002D8611_002D4A90_002D8131_002DE05B3538E237_002Fd_003AScripts_002Ff_003AnewsRoomApp_002Dlib_002Emin_002Ejs/@EntryIndexedValue">ExplicitlyExcluded</s:String></wpf:ResourceDictionary>

You can also configure project settings using ReSharper interface as described in the following blog post: https://blog.jetbrains.com/dotnet/2012/01/18/per-project-settings-or-how-to-have-different-naming-styles-for-my-test-project/

Thank you.

0

Please sign in to leave a comment.