Correct way to deploy Assemblies?

Hope I am posting in the correct spot.

I have built 2 DLL's in VB.NET2K5.

I have multiple projects that refer to these assemblies (Specific Version & NOT local).

I built a setup project to install my assemblies -> GAC

After I deploy my Assemblies, I deploy one of my projects. Both install no problem. When I try to run my EXE that was installed, I get a runtime exception of "InvalidOperationException".

My question is, what is the correct way to deploy an assembly(s) to another machine, so that the assembly does not have to be a local copy/specific version

Kevin


Answer this question

Correct way to deploy Assemblies?

  • Rick Shaw

    Figured it out,

    It was a third party assembly that did not exist on my test machines.

    Here is a link to my post

  • NiekL

    Hi

    Can you post the exception trace

    Thanks

    Richard


  • zerovelocity

    My deployed application doesn't give me that option.

    This is what I get;

    ".....application has encountered a problem and needs to close. We are sorry for the inconvenience."

    This only happens on machines I deploy to, not my development box.

    This is totally driving me crazy! Just a few weeks ago, I had 0 problems deploying. Now, everything I deploy takes a dump. Probably a setting in my DLL project, that I accidentally changed

    My next course of action will be a new deployment project from scratch



  • Correct way to deploy Assemblies?