I wish you could turn off dependency analysis when building a setup project in Visual Studio. Unfortunately you can't as stated below. The workarounds aren't very nice either.
"Unfortunately, there is no direct way to turn off dependency-analysis searching and resolution. However, there is a workaround: you can clear the Include standard search paths option in the dialog box that appears when you click the SearchPath property.
There are a few additional points to consider:
-
You need to add your files by using the Add File command. (On the Project menu, point to Add, and then click File.) If you use Add Project Output (on the Project menu, point to Add, and then click Project Output), dependencies reported from the code project will be included.
-
When you build, you may see one or more Unable to find dependency warnings, but you can ignore these in this case.
-
If you want to turn off dependency analysis only for some files, you can put those files in a merge module project with standard search paths turned off. Then use Add Merge Module (on the Project menu, point to Add, and then click Add Merge Module) to include the .msm in a regular Setup project with standard search paths turned on."
0 Comments:
Post a Comment
<< Home