J
jp2msft
Using Visual Studio 2005, I have created 4 small DLLs that our company
projects can use to access common tools included in each of the separate DLL
files.
Our Visual Studio 2005 applications call the DLLs and run them without any
problem.
Now we are trying to deploy the first of these applications, and we are now
stumped. The Visual Studio 2005 Deployment Project includes all of the DLL
files and successfully creates the setup.exe file for them. The setup.exe
file will even extract all of the files (including the DLLs) on the target
machines.
Whenever we attempt to run the application, they crash as soon as we attempt
any feature which needs to access these DLLs.
One person has suggested that I need to create an app.config file for the
Windows Form Applications, but there was little about how to do this.
I researched further into editing the runtime configuration, and found that
it uses assembly binding to a particular version of the .Net Framework and
requires a Public Key token for each of these files. I have not found where I
tell this XML file what my DLL file names actually are, though.
What is involved in getting a public key token for each DLL?
If I update a DLL, do I now have to rebuild the application to accept the
updated DLL version?
Since these are Company Internal applications, all I want to do is copy a
new EXE or DLL out onto our Server whenever we have a change, and have the
users systems appear magically updated.
Is this not possible?
What am I doing wrong?
I have not done too many installs, and I get stumped whenever I step outside
of the rhelm of the Deployment Wizard.
Thanks for your help,
Joe
projects can use to access common tools included in each of the separate DLL
files.
Our Visual Studio 2005 applications call the DLLs and run them without any
problem.
Now we are trying to deploy the first of these applications, and we are now
stumped. The Visual Studio 2005 Deployment Project includes all of the DLL
files and successfully creates the setup.exe file for them. The setup.exe
file will even extract all of the files (including the DLLs) on the target
machines.
Whenever we attempt to run the application, they crash as soon as we attempt
any feature which needs to access these DLLs.
One person has suggested that I need to create an app.config file for the
Windows Form Applications, but there was little about how to do this.
I researched further into editing the runtime configuration, and found that
it uses assembly binding to a particular version of the .Net Framework and
requires a Public Key token for each of these files. I have not found where I
tell this XML file what my DLL file names actually are, though.
What is involved in getting a public key token for each DLL?
If I update a DLL, do I now have to rebuild the application to accept the
updated DLL version?
Since these are Company Internal applications, all I want to do is copy a
new EXE or DLL out onto our Server whenever we have a change, and have the
users systems appear magically updated.
Is this not possible?
What am I doing wrong?
I have not done too many installs, and I get stumped whenever I step outside
of the rhelm of the Deployment Wizard.
Thanks for your help,
Joe