Ask a Question related to ASP.NET General, Design and Development.
-
Nick #1
Can't reference Assemblies in GAC?
I've just created a simple class library, gave it a strong name using
sn.exe, then copied it to c:\winnt\assembly directory. I then created an
ASP client that reference that assembly. The client works only works if I
have the assembly under the ASP client's \bin directory, even though it's
also in GAC. Does anyone know what the problem is?
I got the following error:
File or assembly name <xxxx>, or one of its dependencies, was not found.
The assembly load trace does not seem to include the directory
"c:\winnt\assembly". Does it not always look for the assembly in GAC?
Thanks in advance.
Nick
Nick Guest
-
Are MS Assemblies in the GAC?
I want to create strongly signed support assemblies so they can be shared by different ASP.NET web apps. This requires that they be installed into... -
Returning a reference to an existing C++ object as a reference
Hi All, Given: package x; sub new { return bless {}, $_; } #-- callback() is call by the C++ class (reader_as_cpp_object) #-- whenever... -
Too many assemblies asp.net
I have been developing several web applications in VB.NET. I have started to notice that when I run one of the applications, all the assemblies for... -
how to reference assemblies from web.configs in subdirs?
Hello, I was wondering how I can reference assemblies from web.config files residing in subdirectories without having to create a new project for... -
versioning of assemblies
Hi, I was reading a doc on versioning, and came to know that versioning of assemblies are easier than ever. Can sb pl mention me, how this can be... -
Guru Prasad #2
Re: Can't reference Assemblies in GAC?
Not sure if you got a response elsewhere. Anyways, an attempt will be made
to look in the GAC, only if you reference the assembly by the full name -
like so "MyCo.MyAssembly, Version=1.0.1175.28478,
Culture=neutral,PublicKeyToken=5378d68701e60agd"
If you have partial references and don't (cannot) want to change, you can
use qualifyAssembly element in Web.Config to redirect partial-name assembly
requests to full-name requests which then get redirected to GAC.
"Nick" <nicktu@hotmail.com> wrote in message
news:O9wfSN9SDHA.2036@TK2MSFTNGP10.phx.gbl...> I've just created a simple class library, gave it a strong name using
> sn.exe, then copied it to c:\winnt\assembly directory. I then created an
> ASP client that reference that assembly. The client works only works if I
> have the assembly under the ASP client's \bin directory, even though it's
> also in GAC. Does anyone know what the problem is?
>
> I got the following error:
>
> File or assembly name <xxxx>, or one of its dependencies, was not found.
>
> The assembly load trace does not seem to include the directory
> "c:\winnt\assembly". Does it not always look for the assembly in GAC?
>
> Thanks in advance.
> Nick
>
>
Guru Prasad Guest



Reply With Quote

