To illustrate, I've create a simple solution with five assembly projects and an installer project.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivTNoK1rkNvjrckst2WptIdO7sVc7Obroo8g6L_viUJERXGTH8Q_sE_pZuwIhN2lweap4qUIPi5P5azNX5-7Gb3qAGm4sUqhkamecw8naoHhbJRF7a8V8ySXqpJTTZaH2UQDQ-UrcCRtvv/s400/SolutionListing.bmp)
As I add each project to the installer, we see the primary output added within the installer
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlQmXCFFqNgjdbXwHN60n82PmBw210fz44ZgB-oVpQrhgeRrVcwYj0mKGuiEkrl_xt2xhSmCAkcHabFZWJ8jpnYeQFfiYhX-H26SxJyYJQIbsJ1HFFuLcs6hJWS3xLW69ne5dL3IS1fYkY/s400/SolutionListingAfterOneAssembly.bmp)
It looks simple enough when you only have a few projects. Add a couple dozen more and you can see that things are going to become more difficult.
To get a better view of the installer's dependencies, right-click on the solution in the Solution Explorer and choose "Properties." On the Property Pages dialog, choose Common Properties > Project Dependencies from the tree on the left. Under the Project dropdown on the right, select the installer project.
Here is my installer before adding any projects
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglg0vczLE-BO9ATLjLkW8ELImQSw3giKqaynzOnv2DOw7nq1TqtjLobubltpZGhcHR65r_x1F8VoO6Enj48HmWRrOhoWNqdDHOU71G8UBTTqPDdl-_YNhTt-NxY87gD3d3lwLd4RUueLrg/s400/EmptyInstaller.bmp)
After I add AssemblyA to the installer, the Project Dependencies looks like this
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTp1khURmVddFxcexgKZ6x8Q9HYW3kf_XFrg03YdqdtOGck_OLcYh_Xp9gTL8h4tEz7WAYF3IVDAkNvtFNg2Rgud9hdBYJ6AweNYrDtm-WVtQZRaY9NE7thcSZw4fVvki_VFfcPedkTyIk/s400/InstallerWithOneDependency.bmp)
Notice the box beside AssemblyA now contains a checkbox. As I continue adding projects, each of these will be similarly checked. Below is an example after all but one assembly has been added. Even with 149 projects to include, it takes very little time to scan through the list and see which items remain unchecked.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQOkB7ALYUapoDhyhI6s_cSmJvSehTn4kFDQL9MNgiVRWsSjVeP6NJ4n_CbXxfdY3huXAdvSB8t3H8CXFGpWRZqGg7oBhZ5bQeNAMy5RTp8pLoRW74nwixEYwjP7zdRBsl2W5Nfg7q_Qv7/s400/InstallerWithFourDependencies.bmp)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.