gac

Does .NET MVC work when System.Web.Mvc is loaded in the GAC?

Is it allowed to put System.Web.Mvc in the GAC? Allowed as in: does it work? I have done this and all my projects have problems inheriting from System.Web.Mvc.ViewPage... EDIT Hope this doesn't scare you: C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE> "c:\WINDOWS\Microsoft.NET\Framework\v3.5\vbc.exe" /t:library /utf8output ...

Why does the .NET tab in the 'Add Reference' dialog in Visual Studio not list the contents of the GAC?

Duplicate of: Getting assemblies to show in the .NET tab of Add Reference So, I'm using Visual C# 2008 Express Edition and I've just been on a bit of a detour as I found out that my assumption that the .NET tab of the 'Add Reference' dialog lists the contents of the GAC was incorrect. This was a bit of a problem for me as the assembly...

Use PowerShell to view contents of the Global Assembly Cache (GAC)

Is there a way to use PowerShell to view the contents of the GAC? ...

.NET 2.0 program (VS 2005) runs in Visual Studio but not from Windows Explorer

Has anyone seen this? There is a few second delay, then one of those dialog boxes saying "Yada Yada has encountered a problem and needs to close. We are sorry for the inconvience." (This is weird because my program has an exceptional handling system that gives useful error messages if the exception is thrown within my code, but it is cl...

is it better to register dll's to GAC or reference them from bin folder in ASP.NET

and if the answer is "it depends", could you provide a short explanation why ? ...

MVC Error Question...

Server Error in '/' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: The type 'System.Web.Mvc.ViewMasterPage' is ambiguous: it could come...

Speed Increase by Using the Global Assembly Cache

If I had a 1000 asp.net websites each with 30 DLL's in their /bin folders. Therefore 30,000 DLL's. Would the websites / web server / machine run faster if I registered one set of the DLL's into the Global Assembly Cache and each site used the DLL's in the GAC? e.g. would the websites collectively use less memory? ...

"Official" Way to deploy Assemblies into the GAC?

I just wonder - if I need to deploy an assembly into the GAC, what is the "official" way of doing it? Currently we either manually drag/drop into the c:\windows\assembly folder or we use gacutil.exe. The first way is obviously not the good one (it's manual process after all), and gacutil is part of the SDK and not available per default ...

32 bit app can't find mshtml assembly while running on 64 bit machine

Hi, I'm trying to run a 32 bit application (built as x86) on a 64 bit machine. I built it as x86 because it uses a 32 bit com object. Until I did this, the app couldn't load the com. Now it loads the com, but complains that it can't find microsoft.mshtml assembly. THis assembly is used by one of the (.net) dependencies. The error mess...

Dll in both the bin and the gac, which one gets used?

We have a web application that's deployed to many websites with only frontend changes, the shared backend portion has it's DLL in the GAC so we only have to update that one dll and all the sites get the update. Is there a way to override the GAC with a DLL in the /bin folder to test out new features before they get released? ...

Forcing the ASP.NET Application to load the assembly from bin not from GAC

Is there any way to force my asp.net application to load the assembly from local bin directory since there is another older version of the assembly with the same name in the gac? I can't delete the gac version since other applications are using it and I am facing some difficulties when adding the newer version to the gac. ...

VS2008 Prefers GAC reference to Assemblies in Solution Folder

I am using some 3rd party libraries in my solution and have saved these in a separate source-controlled folder called 3rdParty. I have added references to the DLLs in this folder from the VS2008 IDE. However, I find that after saving, closing and opening the solution, the references have been changed to point to the assemblies in the GAC...

Installing shared assemblies into the GAC for development and build

I've read a few posts around here about the GAC and why you should never deploy applications by installing shared assemblies into the GAC. This i can see sense in as it should make updating applications on client machines easier. However, there are two areas where i could see the GAC being useful is for during development and on a buil...

Send fax (with Right Fax COM API rfcomapi.dll) from SSIS

We are trying to have faxes automatically be sent from within an SSIS package. We have figured out how to send faxes utilizing the Right Fax COM API (rfcomapi.dll) But our issue is that in order to reference any external assembly within SSIS, that assembly must be in the GAC because SSIS utilizes VSA and not the full-blown dev environm...

How to reference a self made assembly that is installed in the GAC in visual studio?

I created a homemade assembly and I think I installed it correctly in the GAC using the .Net 2.0 configuration tool (mscorcfg.msu) However, when I want to reference it in visual studio, where do I find it? ( I know, I should not use the GAC anyway, but indulge me ;-)) EDIT: I did not ask the question clear enough: After installing the ...

Where is the .NET 2.0 GAC under Windows Server 2003?

I'm looking for the GAC under Windows Server 2003 and I can only find the GAC for .Net 1.1 Where can I find this folder? ...

Does restoring a backup of IIS6 restore the GAC?

I was wondering: if I have some DLLs in the GAC - will they get restored if I restore a backup of IIS6 on a fresh Windows 2003 box? Or will I need to backup/rebuild the GAC separately from IIS? ...

Wix File element Source set to installed file

I am installing files to \MyApp. I want to add some of these files to GAC. How could i refer to the installed location in source attribute of the File element ( which has assembly set to .net) to acheive this ? Thx for your help. ...

deploying to the GAC

is there a best way to deploy to the GAC? is dragging the dll to the GAC sufficient? ...

Deploy my DLLs to GAC for use with ClickOnce App

How do I do it? Is there any reason I shouldn't? I have a winform ClickOnce App that has about 13mbs in DLLs that are not mine so I would have no need/ability to update them at any regular intervals. DevExpress(3), Microsoft ReportViewer, Microsoft SQL Replication. Microsoft SQL SMO. Without them being included in my ClickOnce App ...