Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In Visual C#, how to disable WiX project? (makes build too slow)

I am using Visual C# 2010.
I used to have a WiX script independently from Visual C#.
But recently I decided to integrate it as a WiX project inside Visual C#.

PROBLEM: Visual C# is now much slower when building.
Whenever I want to launch Debug it takes forever, and when there is a compilation error all sorts of WiX errors appear too.

Can I disable/close the WiX Project, and only enable it when I need it? (like in Eclipse)

like image 484
Nicolas Raoul Avatar asked Dec 25 '22 15:12

Nicolas Raoul


1 Answers

Yes, go to Build -> Configuration Manager

Here you can uncheck Build for your WiX project.

This way the project will not build. You can also choose to not build it in the Debug configuration but to have it build when doing a Release build.

like image 164
faester Avatar answered Dec 28 '22 11:12

faester