开发者

How to exclude un-necessary DLLs from an MSI in Visual Studio 2010

开发者 https://www.devze.com 2023-02-11 21:42 出处:网络
I have a number of projects that are in solution, which reference DLLs from other Projects in the solution. However, some of DLLs, also reference other DLLs, such database connections, which are quite

I have a number of projects that are in solution, which reference DLLs from other Projects in the solution. However, some of DLLs, also reference other DLLs, such database connections, which are quite large and because of this I wish t开发者_如何学编程o exclude it from the build.

Is there away of doing this in the setup project? If so, how do you do it?

Thanks


As I remember right, off the top of my head, you should be able to disable automatic dependencies. Furthermore, right clicking on the installer in the solution explorer should show you all the dependencies. Simply delete the dependencies you don't want.

Of course, you run the risk of broken installer, but I think you'll figure that out.

J

0

精彩评论

暂无评论...
验证码 换一张
取 消