gac

I can install via gacutil, but not uninstall the same dll

…衆ロ難τιáo~ 提交于 2019-12-04 00:16:13
I have installed a DLL using the gacutil. gacutil.exe /i SI.ArchiveService.CommonLogic.Exceptions.dll Using the gacutil /l shows that it is indeed installed. SI.ArchiveService.CommonLogic.Exceptions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=925c8734ae397609, processorArchitecture=MSIL Then I wanted to uninstall it. gacutil.exe /u SI.ArchiveService.CommonLogic.Exceptions.dll Microsoft (R) .NET Global Assembly Cache Utility. Version 3.5.30729.1 Copyright (c) Microsoft Corporation. All rights reserved. No assemblies found matching: SI.ArchiveService.CommonLogic.Exceptions.dll Number of

Why is my assembly not visible in “Add Reference > .Net” when installed to the GAC?

老子叫甜甜 提交于 2019-12-04 00:10:19
Just have a quick question about the GAC I created an assembly Awesome.DLL. Had it signed, then installed into the GAC: C:\MyApps\Awesome\Awesome\Awesome\bin\Release>sn -k Awesome.snk Microsoft (R) .NET Framework Strong Name Utility Version 4.0.30319.1 Copyright (c) Microsoft Corporation. All rights reserved. Key pair written to Awesome.snk C:\MyApps\Awesome\Awesome\Awesome\bin\Release>gacutil /i Awesome.dll Microsoft (R) .NET Global Assembly Cache Utility. Version 4.0.30319.1 Copyright (c) Microsoft Corporation. All rights reserved. Assembly successfully added to the cache C:\MyApps\Awesome

Exception error message with incorrect line number

人盡茶涼 提交于 2019-12-03 14:01:25
When an exception is thrown in an Asp.Net web page, an error message is displayed with the complete stack trace. Example below: Stack Trace: IndexOutOfRangeException: Index was outside the bounds of the array. MyNameSpace.SPAPP.ViewDetailsCodeBehind.LoadView() +5112 MyNameSpace.SPAPP.ViewDetailsCodeBehind.Page_Load(Object sender, EventArgs e) +67 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +13 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +43 System.Web.UI.Control.OnLoad(EventArgs e) +98 ... ... The

FxCop and GAC Madness

走远了吗. 提交于 2019-12-03 12:56:02
Using FxCop when I try to analyze projects that rely on Patterns and Practices, Enterprise Library Data (among others) 2.0.0.0 - FxCop complains that it can’t: “Locate Assembly Reference” - even though the application dll being analyzed was complied against this version and its in the GAC. If I browse to the GAC try to select the same assembly (I've checked version and public key token) FxCop won't allow me "open" it. The application succeeds in running and definitely makes use of the problem dll. OS: Seen on both Vista and Windows XP. Versions: Visual Studio 2005 and 2008. FxCop 1.36

What gacutil.exe should I use?

强颜欢笑 提交于 2019-12-03 12:10:19
So, on a Win 2008 R2 Std x64, I have 6 (six) gacutil.exe all different (not counting ones in VS folders), in: c:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin c:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64 c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\x64 c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\x64 Questions are: Does x64 versions have any difference in behaviour? Should I prefer v7.0A versions other v6.0A ? Should I

ASP.NET MVC4 solution fails to build after installing KB2993928

耗尽温柔 提交于 2019-12-03 11:49:24
We have an ASP.NET MVC 4 solution with a couple of references that has been building without problems for about 2 years now. However, after installing KB2993928 and KB2993937 this morning, we cannot run FxCop on this solution on our Windows 7 machines anymore. I have a feeling this is because this update changed the DLL version of the System.Web.Mvc assembly in the GAC. This is because in the GAC I can currently find 3 different System.Web.Mvc DLLs, which are all updated today. The error we receive in the build is as follows: 6>MSBUILD : error : CA0001 : The following error was encountered

Install an assembly into GAC programmatically

安稳与你 提交于 2019-12-03 08:33:42
I need to install an assembly in GAC using c#. Below is my code: new System.EnterpriseServices.Internal.Publish().GacInstall("MyAssembly.dll"); The above code gives the error: Absolute path required But i need this to run without using static file path (absolute path). Can anyone tell me whether its possible? I have added the reference to the assembly inside the project references. I need to install this assembly inside GAC. You could do something like: GacInstall((new System.IO.FileInfo("MyAssembly.dll")).FullName); or, GacInstall(System.IO.Path.GetFullPath("MyAssembly.dll")); Assuming that

GAC Assembly Missing in Add Reference dialog

女生的网名这么多〃 提交于 2019-12-03 08:07:56
I have an Interop assembly lying in GAC; Windows Explorer clearly shows it listed in the C:\WINDOWS\assembly folder. Yet, when I try to add a reference to it in from Visual Studio, I can't see it anywhere in the Add Reference dialog. If this is happened to you too, what is the reason for this? And how do I fix this? (The assembly is actually located in C:\WINDOWS\assembly\GAC_MSIL folder, if you must know.) Add one of the following registry keys, where is the directory to search, and MyAssemblies is the category of your assemblies. Note HKCU is for the current user and HKLM is for everyone on

the application requires that assembly microsoft.reportviewer.processingObjectModel version 11.0.0.0 be installed in the global assembly cache first

二次信任 提交于 2019-12-03 07:01:01
I have a small windows forms application created in Visual Studio 2012 that uses ReportViewer version 11.0.0.0. The application target framework is .NET 4.0 and its deployment method is ClickOnce On my PC it installs but on client machines, intallation fails with error the application requires that assembly microsoft.reportviewer.processingObjectModel version 11.0.0.0 be installed in the global assembly cache first. On the client machines, i have installed .NET 4.0 ReportViewer 2010 Microsoft Report Viewer 2012 Runtime CTP SQLSYSCLRTYPES.msi in the project application files settings, i have

Oracle.DataAccess.dll not shown in explorer although it is installed in GAC

血红的双手。 提交于 2019-12-02 21:15:11
问题 Does anybody know why my Oracle.DataAccess.dll Version 4 assemblies are not shown in explorer view. It is installed in GAC and working without any problems. gacutil shows it as expected. C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC>gacutil /l Oracle Microsoft (R) .NET Global Assembly Cache Utility. Version 4.0.30319.18020 Copyright (c) Microsoft Corporation. All rights reserved. The Global Assembly Cache contains the following assemblies: Number of items = 0 C:\Program Files (x86)