473,394 Members | 1,165 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,394 software developers and data experts.

Codebase to locate assemblies

Tim
I have placed my assemblies in different folders (as per project req.). I am
using config file with <codebase> option and registry with codebase option
(COM Interop) to enable the runtime to locate the assemblies. Will I face any
problems in future versions due to the usage of 'codebase' option? What
precautionary measures need to be taken if the 'codebase' option is used?
Dec 27 '05 #1
2 2219
Tim,

I don't think you will have a problem in the future. I think that the
biggest problem is that you have to have your assemblies in a specific
location which can't change.

You could put your assemblies in the GAC (if appropriate), and that
might make deployment a little easier for you.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Tim" <Ti*@discussions.microsoft.com> wrote in message
news:73**********************************@microsof t.com...
I have placed my assemblies in different folders (as per project req.). I
am
using config file with <codebase> option and registry with codebase option
(COM Interop) to enable the runtime to locate the assemblies. Will I face
any
problems in future versions due to the usage of 'codebase' option? What
precautionary measures need to be taken if the 'codebase' option is used?

Dec 27 '05 #2
Tim
Thanks Nicholas for the immediate response. Regarding using the codebase
option to register the managed dll in the registry for COM Interop, will it
lead to DLL HELL kind of problems?

I think that the
biggest problem is that you have to have your assemblies in a specific
location which can't change.


Also, Regarding using the <codebase> option in the config file, if I have to
change the path of the managed assemblies for a future deployment, can I just
change the path in the config file to make it work. Will there be any
problems of doing so?

"Nicholas Paldino [.NET/C# MVP]" wrote:
Tim,

I don't think you will have a problem in the future. I think that the
biggest problem is that you have to have your assemblies in a specific
location which can't change.

You could put your assemblies in the GAC (if appropriate), and that
might make deployment a little easier for you.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Tim" <Ti*@discussions.microsoft.com> wrote in message
news:73**********************************@microsof t.com...
I have placed my assemblies in different folders (as per project req.). I
am
using config file with <codebase> option and registry with codebase option
(COM Interop) to enable the runtime to locate the assemblies. Will I face
any
problems in future versions due to the usage of 'codebase' option? What
precautionary measures need to be taken if the 'codebase' option is used?


Dec 28 '05 #3

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

Similar topics

6
by: Pablo | last post by:
Hi, I'm creating an AppDomain and creating an instance of a class. This works fine unless I use caching, which I need to use. The exception that I get is of type "System.IO.FileLoadException"...
0
by: Ram | last post by:
Hey, I have 2 computers, one has Framework 1.0 and 1.1 installed, and the other has them both And the beta of Framework 2.0. I install a certian Assembly in the GAC using - GacUtil /i, and it...
7
by: Ruslan Popov | last post by:
Hi, I am trying to prevent an assembly being loaded from GAC and instead want it loaded from the application's base directory. However, the assembly always gets loaded from GAC. How to have it...
0
by: Dinesh Upare | last post by:
Hi, I want to deploy my private shared assembly using codebase keeping some of the assemblies in common folder. I am using following tag in web.config <runtime> <assemblyBinding...
2
by: BentleyInc | last post by:
I wrote a DownloadRequestHandler to be used in http://server/DownloadDir and I've made the correct IIS settings for DownloadDir. Currently I'm having problem loading up some dependent assemblies....
0
by: sp1dEr | last post by:
Hi all, I have an asp.net application (framework 1.1 sp1) on windows server 2003. When the document root is locate in local that's all ok... but if the document root is locate on locate on...
0
by: Ralf | last post by:
Hi, I have the following problem: we have our application spread over two folders Folder1: main.dll (managed cpp assembly, strong named) ... many many resources for main.dll Folder2:...
0
by: Nikander & Margriet Bruggeman | last post by:
We're using the "Microsoft.CLRAdmin.Fusion" assembly because we want to retrieve the exact locations of the assemblies in the GAC. The code looks like this: // objAssembly is the...
0
by: Gauls | last post by:
Hi, I have webservice application that uses some assemblies whoes version number keeps changing and are stored in some folder on the same machine as my webservice. Every Time the assembly version...
0
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...
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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
tracyyun
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 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.