471,627 Members | 1,717 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,627 software developers and data experts.

Release Compling & References

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
Jan 19 '06 #1
2 1203
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]
- mv*@spam.guard.caspershouse.com

"Steve B." <St****@discussions.microsoft.com> wrote in message
news:E7**********************************@microsof t.com...
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

Jan 19 '06 #2
Thank You Nicholas. Yes it did help

Steve

"Nicholas Paldino [.NET/C# MVP]" wrote:
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]
- mv*@spam.guard.caspershouse.com

"Steve B." <St****@discussions.microsoft.com> wrote in message
news:E7**********************************@microsof t.com...
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


Jan 21 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by zambizzi | last post: by
6 posts views Thread by Andrew Rowley | last post: by
6 posts views Thread by =?Utf-8?B?SHVnaA==?= | last post: by
1 post views Thread by Jeff Dege | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.