How to exclude folders which are not part of the solution?
I recently installed an AddIn to Visual Studio which automatically maintains a history of changes in a source file on each save (https://marketplace.visualstudio.com/items?itemName=KenCross.VSHistory). The history is stored in folders named ".vshistory" on project level. I tried to exclude the folders in the code inspections settings but nevertheless how i try to configure, either with "exclude folders" not with "file mask", R# says "Some selected folders are not part of the solution and were not added". Unforunately the VSHistory Addin stores the whole source file and R# analyze the files in the .vshistory folder which leads to "Duplicate Definition" errors.
How can i configure R# to ignore this folder?
Best Regards
Andreas
Please sign in to leave a comment.
Hello Andreas,
Thank you for contacting us.
What about specifying a different location for VSHistory files? Is it possible to keep them not in a solution folder, but some custom (VS Options | VS History Files | VS History Files Location)?
Thank you.
Hello Angelina,
sorry for the late response, but i was offline the last days. Thank you for the hint. I didn't think about this. But nevertheless i excpected that R# also allows to exclude folders which are not part of the solution. Is there a special reason for the restriction?
Best Regards
Andreas
Hello Andreas,
Thank you for the reply.
There's an option to exclude such folders by using ReSharper | Options | Code Editing | Third-Party Code. But it can be only applied to C++ and Web languages.
Thank you.