We had a very interesting problem with a Win Forms project. It's been resolved. We know what happened, but we want to understand why it happened. This may help other people out in the future who have a similar problem.
The WinForms project failed on 2 of our client's PCs. The error was an obscure kernel.dll error. The project ran fine o...
I have a .NET 3.5 assembly, a DAL, that connects to a database through Linq2SQL.
I deploy this assembly in the GAC as it can be used by multiple business layers.
The question is: in a dev environment I have a connection string different than the one in the production environment. Before deploying the assembly to the prod GAC I need to r...
I have to register multiple assemblies to GAC using InstallSheild and also I need the assemblies to be copied on the INSTALLDIR also. What's the best way to do it? Also I need to call regasm.exe for an assembly; can I do this using InstallShield?
I really need a new 'component' for each assembly that has to be registered in GAC?
...
My associate has created a custom SessionStateProvider for me to use with my ASP.net application. I add the file CustomSessionStateProvider to my VS2008 Web Application Project and put the appropriate reference in the web.config and it works fine.
However, my supervisor wants me to set this up as a GAC reference. At my office, we have...
Hi, I'm receiving 2908 (0x80131047: The given assembly name or code-base is invalid) error when running my MSI package.
The problem occures when the MSI tries to deploy a component with .NET assembly into a GAC. NOTE: only assemblies with dependencies fail. The MSI is created with IS 2010.
I am able to deploy the assembly manually wi...
I've got an application where some assemblies are copied to C:\Windows\assembly upon deployment under the assumption that this installs them in the GAC. The application seems to work but when I run gacutil.exe on the copied assemblies, it says the Global Assembly Cache contains 0 assemblies.
Should all assemblies in c:\Windows\assembl...
I have a data access layer (DAL) that is written in ASP.NET 3.5 and uses the Microsoft patterns & practices libraries (hereafter referred to as P&P) in order to accomplish its data access. I installed P&P and it resides in my GAC, so, logically, my DAL references it in the GAC. Therefore, the P&P libraries are never pulled down to the bi...
Hi -
I have Installshield InstallScript MSI aka "Full" setup and Installshield Basic MSI aka "Patch" setup.
Full setup copies some files to GAC, some to folder, etc.
Patch setup replaces some files in GAC and some in installation folder. How ingenious, isn't it? :)
Also, patch setup is designed that none of its actions are visible af...
I just installed a number of updates to my machine, and am now encountering the following error when I run an asp.net MVC application on my local machine:
Compiler Error Message: CS0006: Metadata file 'C:\WINNT\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll' could not be found
I have r...
Hello,
we are currently implementing logging functionality with Log4net into our ASP.NET web-services. Therefore we have installed Log4net into the GAC (global assembly cache) on every machine. On our Windows 2003 servers this works just fine.
Funny thing is, when developing on our local clients, logging with Log4net doesn't work unles...
The question says it all.
...
I have numerous ASP.NET 3.5 web applications with verbose application-level web.config files which I wish to slim down and make more readable.
Visual Studio 2010 has just arrived and has already started "cleaning up" various sections of the web.config - so now is a perfect time for me to continue the good work and do the same in other a...
I thought this was a privilege issue but I logged on as admin and still couldn't get more than a brief flash of the command window. I am just double clicking on the exe file I found in the 7.0 sdk
As a side question, can you just go into the GAC manually and delete something??
Cheers,
Berryl
...
I am writing a C++/CLI assembly that uses some native DLLs.
During compile I can list them as "assembly link resource" so that the assembly is aware of these dependencies. When I use gacutils, it properly pulls all the native DLLs into GAC and they get properly loaded from GAC.
Now, some of these native DLLs are localized, and have MUI ...
Hello all
I am using log4net during my development, as as part of a project constraint, I now need to add it to the Global Assembly Cache.
The logging definitions are in a file Log4Net.xml. That file is referenced in my assemblyinfo as: [assembly: log4net.Config.XmlConfigurator(ConfigFile = "Log4Net.xml", Watch = true)]. So long as t...
Any ideas how to force a GAC DLL into referenced?
Here is my issue, I constantly use a 3rd party DLL that registers itself into the GAC, and when I use it in my project, it reads it from the gac, and when I deploy, I'm always forgetting to add the DLLs since it is not located in the Bin/Referenced folder.
Anyway to force Visual Studio ...
The title is my question at this point. Is it possible to create an http module without making an entry into the web.config or GAC?
...
Can I call a signed DLL(placed in the GAC) of a C# project from a Kernel mode driver ?
...
I'm attempting to use the Interactive Brokers ActiveX API, but I'm having a little trouble:
error CS0012: The type
'System.Windows.Forms.AxHost' is
defined in an assembly that is not
referenced. You must add a reference
to assembly 'System.Windows.Forms,
Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089'.
...
I have found the place near the very top in a T4MVC template file (.tt) where assembly references can be added, which looks like:
<#@ assembly name="System.Core" #>
<#@ import namespace="System.Collections.Generic" #>
However, it seems that I can only reference assemblies that are in the GAC. i.e. if I have an assembly MyProject.Stu...