I have setup a deployment project to build an installation program for
my app and I am using VS 2003.
Within the File System Editor, I can add the Project Outputs which will
automatically include groups of files that I need. In my case I add
the Primary Output and Content Files. With the Primary Output, the exe
is not only added to the project but also a required dll which shows up
a Detected Dependencies. This is one way to do things.
However, if I instead try to manually add the exe file and the dll, the
dll does not show up under Detectected Dependencies but just another
file to be installed in the Application Folder. I also get an "Unable
to find dependency'" message in the task list. In spite of this, I am
still able to build the package and the app that it installs appears to
work correctly.
In the first case, the Primary Output is generated automatically by VS
by its "knowledge" of the project, including the dependency
relationship. In the second case where I am adding items manually, the
dependency it not acknoledged by VS, even though the dll has been
added.
What should I do? Should I just use the Project Output. I wanted to
have the exe by itself to create a shortcut. But a shortcut to project
output seems to work anyways.
my app and I am using VS 2003.
Within the File System Editor, I can add the Project Outputs which will
automatically include groups of files that I need. In my case I add
the Primary Output and Content Files. With the Primary Output, the exe
is not only added to the project but also a required dll which shows up
a Detected Dependencies. This is one way to do things.
However, if I instead try to manually add the exe file and the dll, the
dll does not show up under Detectected Dependencies but just another
file to be installed in the Application Folder. I also get an "Unable
to find dependency'" message in the task list. In spite of this, I am
still able to build the package and the app that it installs appears to
work correctly.
In the first case, the Primary Output is generated automatically by VS
by its "knowledge" of the project, including the dependency
relationship. In the second case where I am adding items manually, the
dependency it not acknoledged by VS, even though the dll has been
added.
What should I do? Should I just use the Project Output. I wanted to
have the exe by itself to create a shortcut. But a shortcut to project
output seems to work anyways.