project references and live asp.net project deployment.

  • Thread starter Thread starter Lauchlan M
  • Start date Start date
L

Lauchlan M

Hi

I have an asp.net project which has some project references to various
things it needs. Specifically, the project has a reference to a
nexusdbdotnetprovider dll, with a reference path in the project to . .
..\NexusDBdotNetProvider.dll

This all works fine on my development system.

However, it doesn't work when I deploy it live, because the references in
the dll files are no longer correct.

What do I need to do with regard to this reference when I deploy to live
hosting. Do I need to set it programatically via the web.confg or something?

Any pointers/guidelines/code snippets appreciated!

I have uploaded the dll to /cgi-bin/thedll.dll, I just need to know how to
reference it.

Thanks!

Lauchlan M
 
What you could do is set the "Copy Local" property of the referenced
dll to "True". This will copy and dll you reference to your local bin
folder, so you can dump it there with your project dll. In the
solution explorer, expand the references tree, and click on the
referenced dll you wish to copy. Go down to the properties tab, and
change "Copy Local" to "True". That should fix your problem!
 
What you could do is set the "Copy Local" property of the referenced
dll to "True". This will copy and dll you reference to your local bin
folder, so you can dump it there with your project dll. In the
solution explorer, expand the references tree, and click on the
referenced dll you wish to copy. Go down to the properties tab, and
change "Copy Local" to "True". That should fix your problem!

Justin,

I had this set. It turns out the problem was something totally different (to
do with namespaces when I shifted to a new version of the source files) but
your comments/thoughts helped get me thinking, and pin this down.

So, much appreciated!

Lauchlan M
 
Back
Top