I’m developing web app with ASP.NET Core framework, using Visual Studio 2015 (VS) and Resharper. I use Ember 2.10 for client side. The problem is ember-cli “build” command generates huge amount of files in “tmp” folder (about 300-500 Mb) and VS + Resharper immediately tries to process all of them. Processing of those files takes up to 5 mins and VS just hangs all this time. It is very inconvenient to work.
Turning off Reshrper helps a little, but still processing files takes much time + working without Reshrper is not convenient. I have not found how to tell VS ignore files in some specific folder - looks like it is impossible. Resharper has such option, but nothing changes.
Is it possible to specify custom folder for files in “tmp” folder? If yes, placing it to outside VS source code would be a solution.
which version of resharper do you use? If I remember correctly directories exclusion feature has appeared in one of the latest version of resharper.
Have you tried to suspend resharper for while and reopen your solution? Just to check if it’s a resharper problem.
You could also try to make tmp, and node_modules directories hidden. Probably it could force vs to ignore them?
@beatle, I using ReSharper Ultimate 2016.3 (the latest at the moment) and VS 2015 update 3. When I started this post I used ReSharper Ultimate 2016.2, then upgraded to 2016.3, but the issue is not solved. I’ve added tmp folder under Code Inspections → Settings → Elements to skip for both 2016.2 and 2016.3 versions
After I turned off Resharper, VS processing faster, but not fast enough for comfort work. Hm, I’ll try to made the folders hidden.
I’m sure the solution is to move tmp folder outside VS source code base. I just do not know how and did not find how.
I agree with Cemarte. Visual Studio is simply not build for having /tmp, /node_modules, /bowe_components folders containing combined several hundred thousand files. We have switched to clients like VS code for the frontend stuff. The client does support to have stuff like excluding certain files form search and/or the overview. These settings can be global on your own editor, or is a .vscode file located in your project folder: