Навигация

Итоги года

Другие ссылки


Реклама

Счётчики


Setup project - how to exclude file dependencies

27.09.2006 Среда 22:10

Software

Visual Studio 2005

Issue

Other day I was working on a setup project. I noticed that when I include a file into the project, all of its dependencies get included as well. Which I didn't like because what is the point in installing, say, a standard .Net or Windows library? Its presense on the target system is a platform requirement. So I decided to exclude dependencies from the setup project. But I failed to do that. It turned out you cannot delete them by simply pressing Del button on the keyboard or by selecting "Delete" in the context menu because it is not there.

Solution

Dependenices can be deleted from the project by the following:

1) Select them.
2) Right-click selection, click Properties, in Properties sheet set Exclude to True, that's it.