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 1837
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: 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: 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,...
| |
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...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |