473,395 Members | 1,968 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 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 1251
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Ariel | last post by:
I have an application that works correctly in debug mode but it does not work in release. I am not using anything of the class system.diagnostics. I tried to disable the optimization code, but...
11
by: Mr. Smith | last post by:
Hello all, My code can successfully open, write to, format and save several worksheets in a workbook then save it by a given name, close and quit excel. My problem is that if I try and do it...
3
by: Ed Sutton | last post by:
My solution contains multiple C# and C++ components as well as a deployment project. In my top-level C# WinForms application, I added references to some components by browsing to the...
5
by: nobody | last post by:
With Visual C++ 2005 beta 2, I get the below compling error for the following code. I think this error is not acceptable to me because int::typeid is a constant and is known to compiler when...
1
by: zambizzi | last post by:
I've got an asp.net app which has a whole series of class libraries (assemblies)...all of which is currently in debug mode. When I push all this to production, what is the easiest way to go from...
6
by: Andrew Rowley | last post by:
I am having trouble getting debug and release builds to work properly with project references using C++ .NET and Visual Studio 2003. I created a test solution, with a basic Windows form C++...
10
by: Hendri Adriaens | last post by:
Hi, I'm trying to automate the creation of an excel file via COM. I copied my code below. I read many articles about how to release the COM objects that I create. The code below runs just fine...
6
by: =?Utf-8?B?SHVnaA==?= | last post by:
Hi there We are trying to build a C sharp solution in Visual Studio 2005 Professional. We have a number of other assemblies, that do not form part of the solution. Assemblies that do form...
1
by: Jeff Dege | last post by:
When I am building a project in Visual Studio 2005, I can create references to assemblies that were built by other projects. The problem is that I don't see how to create a reference that switches...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.