gac

Mono - Could not load file or assembly

Hi, i just exported my project to my new imac an loaded my solution into monodevelop. After the successfully compilation i started the project, and i always getting the same error. ** (/Library/Frameworks/Mono.framework/Versions/2.6.1/lib/mono/2.0/xsp2.exe:1576): WARNING **: The following assembly referenced from /private/var/folders...

Getting to Microsoft.Office.Interop.Word.dll?

When FxCop examines an assembly it gives the following error: The following reference assembly could not be found. The assembly is required for analysis and was referenced by Test.dll. Microsoft.Office.Interop.Word, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c So, I did a search and found the file in: C:\Windo...

ClickOnce and GAC

Hi all, I have WinForms application .net 3.5. I deploy it using clickonce in intranet with several client machines. I publish application in intranet web server (http://desbiz/CarwinClickOnce). In developer environment (my PC), my application uses GAC assemblies, like Fk.Security.Common.dll v.1.0.0.0. In tab Publish -> Application fi...

C#: How to load assembly from GAC?

I have "mycomp.myassembly.dll" in GAC but Load and LoadFrom throws file not found exception and LoadWithPartialName returns null. I'm doing the following: AssemblyName name = new AssemblyName(); name.Name = "mycomp.myassembly.dll"; Assembly assembly = Assembly.Load(name); fails with FileNotFound for mycomp.myassembly.dll ...

How to register a non-strong-name assembly to be loaded as if it were in the GAC?

One of our partners provided us with an assembly we need to access from our application. Unfortunately, this is not strong-name so we can't install it to the GAC. And we can't place it in the same place as our executable. Is there a solution for this? EDIT: This will be a temporary solution only for testing, when they go RC, we will ha...

How to reference GAC assemblies when integrating a CLR extension into SQL Server

I've created an assembly for CLR integration in SQL Server 2008. It has one reference to System.Web.Extensions, which is an issue because when I try to add my assembly, I get the following error: Assembly 'system.web.extensions, version=3.5.0.0, culture=neutral, publickeytoken=31bf3856ad364e35.' was not found in the SQL catalog. (Mic...

Dllhell with .NET

Hi, guys. Rather than trying to piece out the individual pains I'm dealing with, I want to give the 10 000 feet overview of it. I learn .NET as I go, and I suspect that there is something obvious that I'm missing here. I'm sitting working overtime on a Sunday and I'd really appreciate if someone would toss in their five cents. Here g...

How to know which application is using an Assembly in GAC?

How to know which application is using an Assembly in GAC? I want to remove unwanted assemblies from GAC but it is not getting removed as it is used by some other application. ...

CS0433 Error in Asp.net WebSite?

I am getting following error for log4Net in Asp.Net 2.0 website. Compiler Error Message: CS0433: The type 'log4net.Config.XmlConfigurator' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\caps_2.25\bc79a253\fd331fcd\assembly\dl3\6113a1ef\008a4b7c_09b0ca01\log4net.DLL' and 'c:\WINDOWS\assembly\GAC_M...

How do I resolve ambiguity between my project DLL and a DLL in the GAC?

I am currently working on another issue in my ASP.NET MVC project. In an effort to better understand what is happening in the codebase I decided to reference the ASP.NET MVC Source Code project in my own project by adding the solution file to my references. When I did this, I started getting HTTP 404 errors. It just so happens I had...

Weird behavior in VS2010 Beta 2 while adding a reference

Hi everybody! I 'm experiencing a weird behavior in VS 2010 Beta 2: a) i 'm not able to add reference in a Silverlight 4 project (the .NET tab is empty) and i think it 's the same issue like this here and b) (i thought what the heck i try to find the assemblies myself, so:) i'm navigating to C:\Program Files\Microsoft SDKs\Silverlig...

Revisiting GAC Installations

Hi Folks, This one goes round and round I know but I can't seem to find a satisfactory response. Should assemblies go in the GAC? These questions: when-and-when-not-to-install-into-the-gac and What are the advantages and disadvantages of using the GAC, address exactly that but the answers are very much "it is recommended that..." or "y...

Regression Tests Through Gated Check-ins

Do we think gated check-ins + automated builds + unit tests are able to provide sufficient confidence in changes to shared assembly code to make deployment in the GAC an attractive option? Does anybody have any real life setups that provide this level of confidence? Follows on from this question: Revisiting GAC Installations Thanks, D...

.NET Assembly References going all circular on me.

Update: Last night, I decided that this is just too much work to change the folder where some reports are saved. My work-around here is to rename the folder, run the batch job I need done, and then change the folder name back to what it was originally. I feel like I could spend the rest of today and all of next week working on this and...

Is it necessary to put the shared assembly in GAC only?

I want to share a dll in between two projects. Is it necessary to put the dll in GAC only or can I place it in any folder? ...

Install .NET 4.0 dll to the GAC

I have a visual C# 2010 express install. Built a .NET 4.0 dll that is signed. Now I need to get it into the GAC. Im on 64bit vista. Anyone know if there is a gacutil supporting the 4.0 framework yet? Any other suggestions on getting it into the GAC? I have tried drag and drop into C:\Windows\assembly, whenever I do, it appears to c...

Unable to uninstall an Assembly from GAC?

I am unable to uninstall an Assembly (log4net.dll) from GAC. It is giving following error. "Assembly is required by one or more applications". However if I search the Assembly using ProcessExplorer nothing comes up? How can I remove this Assembly from GAC? ...

When should I deploy my assemblies into the GAC?

I would like to know practically what kind of Assemblies should I deploy in GAC. Case 1. If in my Solution multiple project uses log4net.dll then should it be deployed in GAC? Case 2. If I have multiple application deployed in a machine each using log4net.dll is this the reason enough to deploy log4net.dll into GAC? ...

Browse/Select Assemblies from the GAC or elsewhere

I need to allow users to select an assembly in much the same way that Visual Studio does. Either from the GAC or from anywhere else in the file system. A simple OpenFileDialog will not suffice because navigating to c:\windows\assembly does not allow access to the actual file locations of the assemblies in the GAC. I am not writing a Vi...

Check if a Windows application is installed on local machine from Asp.net?

We have a certain application installed on a single machine. I would like to enable/disable a button based on the existence of this application. Is there a way to check for its existence from asp.net? the app is currently on an XP machine, but want to code for Win7 as well. VS2008 3.51. Asp.net ...