Trying to avoid the GAC using the /codebase option

  • Thread starter Alhambra Eidos Development
  • Start date
A

Alhambra Eidos Development

Hi all,

I have Frk.Log.dll in GAC and I use another Frk.Log.dll (in folder bin) with
the same signature (version and Key) in my project.

I need use Frk.Log.dll of bin folder.

Can anybody shed more light on how the /codebase option works and which
problem it is supposed to solve? Any experiences?

Any solutions please ??

Thanks in advanced, greetings and regards
 
H

henry.lee.jr

From what I understand, .NET is designed to look in the BIN folder
before the GAC folder, so if you have the same DLL in both the BIN and
the GAC, the BIN version will be used.

You may need to check the references though and make sure it's not
explicitly pointing to the version of the DLL that is in the file
system that hosts the GAC version.
 
K

kndg

Alhambra said:
Hi all,

I have Frk.Log.dll in GAC and I use another Frk.Log.dll (in folder bin) with
the same signature (version and Key) in my project.

I need use Frk.Log.dll of bin folder.

Can anybody shed more light on how the /codebase option works and which
problem it is supposed to solve? Any experiences?

Any solutions please ??

Thanks in advanced, greetings and regards

Hi,

Just wondering... if your assembly is of same signature, why does it
matters to you? AFAIK, codebase option usually use if you need to
reference a different version of assembly.
 
Joined
May 27, 2011
Messages
1
Reaction score
0
Hi All,
.Net will pick first dll from BIN folder,then search in GAC and after that search for folder if you providing dll into it.

In my project I don't have BIN folder and also I want pick dll's from my folder location insted of GAC and BIN.

Any solutions please ??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top