Hi,
Is there a way to define where the assembly should search for its referenced
assemblies? I have my assemblies in different locations and I don't want to
add them the GAC.
Any help is appreciated!
Thanks,
Mats-Lennart 6 1833
erm .... Yes. Did you know that the Visual Studio IDE is just a nice fancy UI
tool, and the real work is done by the ILASM and other such modules?
So, with that said .... in the solution explorer, right click on your
PROJECT (not solution) and select the properties menu. In the "MyApplication
Property Pages" dialog that is displayed, select common Properties/References
Path ... enter your paths
--
Of all words of tongue and pen, the saddest are: "It might have been"
Bill.Richards @ greyskin .co .uk http://greyskin.co.uk
"Mats-Lennart Hansson" wrote: Hi, Is there a way to define where the assembly should search for its referenced assemblies? I have my assemblies in different locations and I don't want to add them the GAC.
Any help is appreciated!
Thanks,
Mats-Lennart
erm .... Yes. Did you know that the Visual Studio IDE is just a nice fancy UI
tool, and the real work is done by the ILASM and other such modules?
So, with that said .... in the solution explorer, right click on your
PROJECT (not solution) and select the properties menu. In the "MyApplication
Property Pages" dialog that is displayed, select common Properties/References
Path ... enter your paths
--
Of all words of tongue and pen, the saddest are: "It might have been"
Bill.Richards @ greyskin .co .uk http://greyskin.co.uk
"Mats-Lennart Hansson" wrote: Hi, Is there a way to define where the assembly should search for its referenced assemblies? I have my assemblies in different locations and I don't want to add them the GAC.
Any help is appreciated!
Thanks,
Mats-Lennart
I'm aware of reference paths. I can't use this though, since I during design
time don't know where the components will be located. The user can define
any location during installation so I can't set it when compiling.
Maybe I was a bit unclear, but I'm wondering how to set reference paths
programatically. Can this be done?
Thanks for your answer,
Mats-Lennart
"billr" <bi***@discussions.microsoft.com> wrote in message
news:53**********************************@microsof t.com... erm .... Yes. Did you know that the Visual Studio IDE is just a nice fancy UI tool, and the real work is done by the ILASM and other such modules?
So, with that said .... in the solution explorer, right click on your PROJECT (not solution) and select the properties menu. In the "MyApplication Property Pages" dialog that is displayed, select common Properties/References Path ... enter your paths
-- Of all words of tongue and pen, the saddest are: "It might have been"
Bill.Richards @ greyskin .co .uk http://greyskin.co.uk
"Mats-Lennart Hansson" wrote:
Hi, Is there a way to define where the assembly should search for its referenced assemblies? I have my assemblies in different locations and I don't want to add them the GAC.
Any help is appreciated!
Thanks,
Mats-Lennart
I'm aware of reference paths. I can't use this though, since I during design
time don't know where the components will be located. The user can define
any location during installation so I can't set it when compiling.
Maybe I was a bit unclear, but I'm wondering how to set reference paths
programatically. Can this be done?
Thanks for your answer,
Mats-Lennart
"billr" <bi***@discussions.microsoft.com> wrote in message
news:53**********************************@microsof t.com... erm .... Yes. Did you know that the Visual Studio IDE is just a nice fancy UI tool, and the real work is done by the ILASM and other such modules?
So, with that said .... in the solution explorer, right click on your PROJECT (not solution) and select the properties menu. In the "MyApplication Property Pages" dialog that is displayed, select common Properties/References Path ... enter your paths
-- Of all words of tongue and pen, the saddest are: "It might have been"
Bill.Richards @ greyskin .co .uk http://greyskin.co.uk
"Mats-Lennart Hansson" wrote:
Hi, Is there a way to define where the assembly should search for its referenced assemblies? I have my assemblies in different locations and I don't want to add them the GAC.
Any help is appreciated!
Thanks,
Mats-Lennart
I don't think I do understand the problem :o((
If you have a project that you want to compile, and that project needs to
reference an external library, you have to know where that assembly is in
order to compile your project (or even to use the intellisense of Visual
Studio).
When you build your project, by default the dependencies are also copied to
the output directory. When you are creating your installer for your assembly,
you should include the dependencies also ... you need to do this because you
are insisting on not using the GAC and therefore you need to package
everything you need in order to operate.
--
Of all words of tongue and pen, the saddest are: "It might have been"
Bill.Richards @ greyskin .co .uk http://greyskin.co.uk
"Mats-Lennart Hansson" wrote: I'm aware of reference paths. I can't use this though, since I during design time don't know where the components will be located. The user can define any location during installation so I can't set it when compiling.
Maybe I was a bit unclear, but I'm wondering how to set reference paths programatically. Can this be done?
Thanks for your answer,
Mats-Lennart
"billr" <bi***@discussions.microsoft.com> wrote in message news:53**********************************@microsof t.com... erm .... Yes. Did you know that the Visual Studio IDE is just a nice fancy UI tool, and the real work is done by the ILASM and other such modules?
So, with that said .... in the solution explorer, right click on your PROJECT (not solution) and select the properties menu. In the "MyApplication Property Pages" dialog that is displayed, select common Properties/References Path ... enter your paths
-- Of all words of tongue and pen, the saddest are: "It might have been"
Bill.Richards @ greyskin .co .uk http://greyskin.co.uk
"Mats-Lennart Hansson" wrote:
Hi, Is there a way to define where the assembly should search for its referenced assemblies? I have my assemblies in different locations and I don't want to add them the GAC.
Any help is appreciated!
Thanks,
Mats-Lennart
I don't think I do understand the problem :o((
If you have a project that you want to compile, and that project needs to
reference an external library, you have to know where that assembly is in
order to compile your project (or even to use the intellisense of Visual
Studio).
When you build your project, by default the dependencies are also copied to
the output directory. When you are creating your installer for your assembly,
you should include the dependencies also ... you need to do this because you
are insisting on not using the GAC and therefore you need to package
everything you need in order to operate.
--
Of all words of tongue and pen, the saddest are: "It might have been"
Bill.Richards @ greyskin .co .uk http://greyskin.co.uk
"Mats-Lennart Hansson" wrote: I'm aware of reference paths. I can't use this though, since I during design time don't know where the components will be located. The user can define any location during installation so I can't set it when compiling.
Maybe I was a bit unclear, but I'm wondering how to set reference paths programatically. Can this be done?
Thanks for your answer,
Mats-Lennart
"billr" <bi***@discussions.microsoft.com> wrote in message news:53**********************************@microsof t.com... erm .... Yes. Did you know that the Visual Studio IDE is just a nice fancy UI tool, and the real work is done by the ILASM and other such modules?
So, with that said .... in the solution explorer, right click on your PROJECT (not solution) and select the properties menu. In the "MyApplication Property Pages" dialog that is displayed, select common Properties/References Path ... enter your paths
-- Of all words of tongue and pen, the saddest are: "It might have been"
Bill.Richards @ greyskin .co .uk http://greyskin.co.uk
"Mats-Lennart Hansson" wrote:
Hi, Is there a way to define where the assembly should search for its referenced assemblies? I have my assemblies in different locations and I don't want to add them the GAC.
Any help is appreciated!
Thanks,
Mats-Lennart This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Yang Liu |
last post by:
Hi all,
I have a .net windows application xx.exe, which reference
a private assembly yy.dll, the property "local copy" of
the yy.dll reference is automatically set to true, so the
yy.dll will be...
|
by: Russell Stevens |
last post by:
Should be trivial - I want to detect the program version so that I can
take steps to update things to the current version. Pretty simple - just use
Application.ProductVersion
So I install the...
|
by: Umut Tezduyar |
last post by:
I know that, in asp.net 2.0, the assembly for the web site is splitted into
pieces and each time you build it, it generates a random name for assembly.
My question is, if i create a custom web...
|
by: Richard Lewis Haggard |
last post by:
We are having a lot of trouble with problems relating to failures relating
to 'The located assembly's manifest definition with name 'xxx' does not
match the assembly reference" but none of us here...
|
by: Luis Arvayo |
last post by:
I am compiling and executing c# code at runtime and I need to define in
CompilerParameters.ReferencedAssemblies one of my own assemblies together
with the standard System.dll u others.
Example:...
|
by: RickN |
last post by:
I want to creat a new application domain called 'mydomain' and then load an
assembly named 'myassembly.dll' into the domain. The assembly is in the
folder "C:\Mydata\assembly", which is not the...
|
by: Kopiad |
last post by:
I have two assemblys A and B in folder 1. Assembly A references
assembly B.
In another folder 2, I have a program C that do a
Assmebly.LoadFile(<absolute path to assembly A) and creates an...
|
by: peter.drienovsky |
last post by:
Hello,
let me describe my problem:
ENVIRONMENT:
..Net 2.0, MSVS 2005, c#, WinXP
SYMPTOMS:
If assembly 'AgentDesktop' IS NOT in the (loading) application folder,
|
by: Andy |
last post by:
Thanks Peter,
I thought I'd give an update on this problem. My application had 2
assemblies that contained classed for the Data access and business
logic layer. It was on one of them that I was...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
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...
|
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...
|
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,...
|
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...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |