473,385 Members | 1,531 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,385 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 2217
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
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,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
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
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 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.