Resharper CLT - Inspect code --include option - what is the format to specify files to include

Hi,

I am trying to run the code inspections for a subset fo files ( HomeController.cs and ErrorViewModel.cs) which I have changed,  using inspectcode.exe ( CLT) . so I have tried to use --include scanning option to only perform scan on the files I have specified. it does not do a scan and throws an error - No files to insepct found. 

Need help in understandng how to use --include / --exlude parameters to specify subset of files in the solution. Also is there a better way to specify the list of files as a parameter file itself?

3 comments
Comment actions Permalink

Hello Deepa Nandkumarkorantak

 

Could you please try specifying full paths for the files that should be included and let me know if it helps?

Thank you.

0
Comment actions Permalink

Hi Angelina Elycheva - I did but it throws the same error as No files to insepct found

0
Comment actions Permalink

Hello Deepa Nandkumarkorantak,

I'm sorry for the late reply. Could you check if you still get the "No files to inspect were found." error when you passes the whole solution without the `--project` and `--include` options?

0

Please sign in to leave a comment.