Release Compling & References

G

Guest

I have a ADO.Net Library project (adonet.dll) in my VS solution

Recently, when I Debug comple I don't get any errrors. When I Release
compile to my local share network drive the compiler says it can't find the
library project namespace (I build he library first)

When I add the project reference, where do I add it from?
What's the correct path should my library be set to?
or why the error?

Steve
 
N

Nicholas Paldino [.NET/C# MVP]

Steve,

You should add a project reference from a location where the same dll
will be in the search path of your application. In other words, it doesn't
matter where you set the reference to, as long as that same DLL is copied
along with your application to where it will excecute from.

Hope this helps.
 
G

Guest

Thank You Nicholas. Yes it did help

Steve

Nicholas Paldino said:
Steve,

You should add a project reference from a location where the same dll
will be in the search path of your application. In other words, it doesn't
matter where you set the reference to, as long as that same DLL is copied
along with your application to where it will excecute from.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Steve B. said:
I have a ADO.Net Library project (adonet.dll) in my VS solution

Recently, when I Debug comple I don't get any errrors. When I Release
compile to my local share network drive the compiler says it can't find
the
library project namespace (I build he library first)

When I add the project reference, where do I add it from?
What's the correct path should my library be set to?
or why the error?

Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top