Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad Visual Studio Performance #94

Open
lakario opened this issue Feb 6, 2017 · 1 comment
Open

Bad Visual Studio Performance #94

lakario opened this issue Feb 6, 2017 · 1 comment

Comments

@lakario
Copy link

lakario commented Feb 6, 2017

As a result of trying to utilize TemplateBuilder to create an installer for a large multi-project template, the performance of Visual Studio while maintaining the VSIX project is miserable. Adding a file to the project, editing a build configuration, updating references- anything which modifies the project in anyway, results in a delay of several minutes or even indefinite while Visual Studio processes the change.

Opening up SysInternals procmon.exe I was able to determine that the crux of the issue was massive churn on the VSIX project's /obj directory. Every change to the project is copying and reprocessing files from the ProjectTemplates directory. In the case of my templates, we have about 50 nuget packages which are being extensively indexed by TemplateBuilder's build targets. Interestingly, if Visual Studio is hanging for any period of time, I can just delete the /obj folder and Visual Studio snaps back to life.

http://i.imgur.com/6FPQHyt.gifv

A small installer project like the one configured in the multi-project template tutorial, is still slow, but it's manageable. In the case of my large project template, Visual Studio is just short of unusable without constantly deleting the /obj folder.

@lakario
Copy link
Author

lakario commented Feb 8, 2017

This appears to be related to #67.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant