473,503 Members | 9,735 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Application configuration

Hi,

How I can create an configuration file for showing the app.exe where the DLL
files located.
I do not what to add my DLL to the assembly or copy them to the same
location with EXE file.

Thanks
Nov 20 '05 #1
8 1043
If you don't want to add your DLL to the main EXE assembly, how do you plan
to use them?
If you can answer that first, I might be able to give you a better response.

-Rob Teixeira [MVP]

"Mike" <pl****@no.spam> wrote in message
news:6F********************@news20.bellglobal.com. ..
Hi,

How I can create an configuration file for showing the app.exe where the DLL files located.
I do not what to add my DLL to the assembly or copy them to the same
location with EXE file.

Thanks

Nov 20 '05 #2
If you don't want to add your DLL to the main EXE assembly, how do you plan
to use them?
If you can answer that first, I might be able to give you a better response.

-Rob Teixeira [MVP]

"Mike" <pl****@no.spam> wrote in message
news:6F********************@news20.bellglobal.com. ..
Hi,

How I can create an configuration file for showing the app.exe where the DLL files located.
I do not what to add my DLL to the assembly or copy them to the same
location with EXE file.

Thanks

Nov 20 '05 #3
It has to be 3 possibilities how to use DLLs:
1. Add to Assembly
2. Copy the DLL at the same location where EXE exists
3. Use configuration file.

I am looking for third one choice.
Sorry that I did not mantion this detail in my first posting.

I hope that I cleared the my previous question

Thanks

"Rob Teixeira [MVP]" <RobTeixeira@@msn.com> wrote in message
news:u7*************@TK2MSFTNGP09.phx.gbl...
If you don't want to add your DLL to the main EXE assembly, how do you plan to use them?
If you can answer that first, I might be able to give you a better response.
-Rob Teixeira [MVP]

"Mike" <pl****@no.spam> wrote in message
news:6F********************@news20.bellglobal.com. ..
Hi,

How I can create an configuration file for showing the app.exe where the

DLL
files located.
I do not what to add my DLL to the assembly or copy them to the same
location with EXE file.

Thanks


Nov 20 '05 #4
It has to be 3 possibilities how to use DLLs:
1. Add to Assembly
2. Copy the DLL at the same location where EXE exists
3. Use configuration file.

I am looking for third one choice.
Sorry that I did not mantion this detail in my first posting.

I hope that I cleared the my previous question

Thanks

"Rob Teixeira [MVP]" <RobTeixeira@@msn.com> wrote in message
news:u7*************@TK2MSFTNGP09.phx.gbl...
If you don't want to add your DLL to the main EXE assembly, how do you plan to use them?
If you can answer that first, I might be able to give you a better response.
-Rob Teixeira [MVP]

"Mike" <pl****@no.spam> wrote in message
news:6F********************@news20.bellglobal.com. ..
Hi,

How I can create an configuration file for showing the app.exe where the

DLL
files located.
I do not what to add my DLL to the assembly or copy them to the same
location with EXE file.

Thanks


Nov 20 '05 #5
* "Mike" <pl****@no.spam> scripsit:
It has to be 3 possibilities how to use DLLs:
1. Add to Assembly
2. Copy the DLL at the same location where EXE exists
3. Use configuration file.


<URL:http://msdn.microsoft.com/library/en-us/cpgenref/html/gngrfprobing.asp>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #6
* "Mike" <pl****@no.spam> scripsit:
It has to be 3 possibilities how to use DLLs:
1. Add to Assembly
2. Copy the DLL at the same location where EXE exists
3. Use configuration file.


<URL:http://msdn.microsoft.com/library/en-us/cpgenref/html/gngrfprobing.asp>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #7
If i'm not mistaken, you can also go to the config file's AssemblyBinding
tag, and specify the location for a specific dependent assembly (rather than
use probing). If i remember correctly, add a "dependentAssembly" tag, then
an "assemblyIdentity" tag and "codeBase" tag under it. The "codeBase" tag
contains the path.

-Rob Teixeira [MVP]

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:c7************@ID-208219.news.uni-berlin.de...
* "Mike" <pl****@no.spam> scripsit:
It has to be 3 possibilities how to use DLLs:
1. Add to Assembly
2. Copy the DLL at the same location where EXE exists
3. Use configuration file.

<URL:http://msdn.microsoft.com/library/en-us/cpgenref/html/gngrfprobing.asp>
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #8
If i'm not mistaken, you can also go to the config file's AssemblyBinding
tag, and specify the location for a specific dependent assembly (rather than
use probing). If i remember correctly, add a "dependentAssembly" tag, then
an "assemblyIdentity" tag and "codeBase" tag under it. The "codeBase" tag
contains the path.

-Rob Teixeira [MVP]

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:c7************@ID-208219.news.uni-berlin.de...
* "Mike" <pl****@no.spam> scripsit:
It has to be 3 possibilities how to use DLLs:
1. Add to Assembly
2. Copy the DLL at the same location where EXE exists
3. Use configuration file.

<URL:http://msdn.microsoft.com/library/en-us/cpgenref/html/gngrfprobing.asp>
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
8760
by: Terence Shek | last post by:
Is there a way to set the application binding policy so that it always binds to the latest version of an assembly? I'm hoping there is a way to avoid updating the application's binding...
1
2737
by: serge calderara | last post by:
dear all, I have problem accessing section group in my configuration application file. I got an error saying thta I can have only one section ???? here is my application configuration looks...
6
635
by: Javier Cortés Cortés | last post by:
i am getting this error when i am trying to access any file(with the ext. aspx) from my remote server. the error is : Server Error in '/' Application....
3
4884
by: Damian | last post by:
Hi everyone I'm having an issue with one of our applications. I'm getting the following error when attempting to log in to the site: Server Error in 'xxxxxxxxxxxxxxxx' Application....
4
5374
by: tommy | last post by:
hello everbody, i write a little asp-application with forms-authentication. i copy my aspx-files with web.config to my webspace and i get the error above... i tried to set the...
9
1879
by: Wayne Wengert | last post by:
I built an ASP application and it runs fine on my local IIS. I am trying to move the application to my web service (ISP) out on the internet. I've read several of the help articles but they all...
3
375
by: Sean | last post by:
HI There, I am having trouble deploying my .aspx pages to a remote server, I have made changes to the config file and it still returns an error. I have also contacted the server administrator to...
12
26769
by: Kevin Farless | last post by:
Hi all, I'm having trouble viewing any .aspx pages on my hosting company's server. The server is a new box running Windows Server 2003 default installation. I'm the first client to try using...
2
1599
by: Chris_24 | last post by:
To all, I am experiencing difficulties with an asp.net web application and its web.config file. No matter what I try I keep getting the following error: Server Error in '/action' Application....
7
6112
by: Steven Cliff | last post by:
I have started to use the new Enterprise Library (Jan 06) and have set up a skeleton project using the DAAB. This all seems to work fine apart from when I come to secure the app.config file via...
0
7095
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
7294
Oralloy
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,...
0
7361
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...
1
7015
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
5602
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,...
0
4693
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...
0
3173
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1523
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
403
bsmnconsultancy
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...

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.