Exclude files in inspectcode

I am testing Resharper CLT, and I am currently testing inspectcode.

Since my sample includes a lot of .js and .css files that give warning when run, I would like to exclude them (or only include  my .cs files)

The issue is I do not have Resharper, only the clt.

I have read lots of documentation about excluding/including using resharper/settings to create the dotsetting file, but how do I exclude or include without the main resharper app/gui?

0
3 comments

Hello!

 

Thank you for contacting us.

I'd suggest the most convenient way is installing ReSharper and using 30 days trial so you can configure settings the way you need.

Thank you.

0

I did as suggest. A downloaded the trial version, created a .dotsettings file(BaseSettings.DotSettings),created a folder on the server for the file, and put the file there.

but when I run the clt in a cmd prompt, I get an error ( and yes, the sln is in the folder specified)

InspectCode.exe -o="C:\Program Files\Resharper\Output\CodeInspectionResults.xml" --profile="C:\Program Files\Resharper\DotSettings\BaseSettings.DotSettings --no-swea -x=EtherealCode.ReSpeller "C:\Atlassian\bamboo-home\xml-data\build-dir\FTD-BB-JOB1\BB_Test.sln"

 

0

Hello @Rkmoray,

 

Thank you for the reply.

Just a guess from what I can see on the screenshot - there's missing second quote for a settings file, so CLI cannot find solution option specified.

Thank you.

0

Please sign in to leave a comment.