gacutil

Location of Gacutil with vs 2008

橙三吉。 提交于 2019-12-01 16:37:15
I want to run a post build script that installs the dll in the gac, but i have to use the full path to gacutil.exe, where can i find this? i have visual studio 2008 The answer is C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\gacutil.exe Open the Visual Studio command prompt (Start -> Programs -> Visual Studio -> Visual Studio Tools -> Visual Studio Command Prompt). Run the following command: c:\Program Files...\> where gacutil You can copy gacutil to server from your dev PC: C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\ gacutil.exe gacutil.exe.config 1033

gacutil postbuild event exists with code 1

佐手、 提交于 2019-11-30 05:11:39
问题 I am trying to register and assembly in the GAC on a post-build event. Here's my post-build command "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\x64\gacutil.exe" /if "$(TargetPath)" I am on x64/Windows 7/VS2010. I am running VS2010 as an administrator and I have UAC turned off (which is pretty much all that my google-fu is finding for this problem). The post build is exiting with code 1 for the all 4 instances of gacutil.exe I can find on my machine. Anyone know a

GAC 32bit vs. 64bit

半腔热情 提交于 2019-11-28 20:07:26
I've been searching for a while trying to understand this better, but am not finding any straight-forward answers on this. I have a component that I need to add to the GAC. I'm running Windows 7 64-bit, and in an effort to troubleshoot an issue (SSIS 2005 isn't recognizing the DLL), I'm trying to make sure I have the DLL (.NET 4.0) registered in the proper GAC. So here are my questions: Where are the physical locations in Windows 7 for both 64bit and 32bit GACs? I know of C:\Windows\assembly, but not sure which one this is, and where the other one is. Which version of gacutil do I use to add

Where is GACUTIL for .net Framework 4.0 in windows 7?

和自甴很熟 提交于 2019-11-28 16:09:15
i've made an assembly in the .net framework that I intend to publish to the GAC but I can't find the gacutil utlity. I've been googling a while and I've found a lot of suggestions, but nothing works: Copy the assemby to %window%\assemby [DOES NOT WORK] Copy the assemby to %window%\Microsoft.NET\assembly [DOES NOT WORK] C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\gacutil.exe /i "assembly" [returns an error: this assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded] Does anyone have idea to solve this? Ade Stringer If you've got VS2010 installed, you

Unable to uninstall an Assembly from GAC?

家住魔仙堡 提交于 2019-11-27 21:16:38
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? Pieter Germishuys Have you considered reading this KB article and trying it out? Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved.

Where is GACUTIL for .net Framework 4.0 in windows 7?

不羁岁月 提交于 2019-11-27 19:52:24
问题 i've made an assembly in the .net framework that I intend to publish to the GAC but I can't find the gacutil utlity. I've been googling a while and I've found a lot of suggestions, but nothing works: Copy the assemby to %window%\assemby [DOES NOT WORK] Copy the assemby to %window%\Microsoft.NET\assembly [DOES NOT WORK] C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\gacutil.exe /i "assembly" [returns an error: this assembly is built by a runtime newer than the currently loaded runtime and

Gacutil.exe successfully adds assembly, but assembly not viewable in explorer. Why?

谁都会走 提交于 2019-11-27 18:04:55
I'm running GacUtil.exe from within Visual Studio Command Prompt 2010 to register a dll (CatalogPromotion.dll) to the GAC. After running the utility, it says Assembly Successfully added to the cache , and running gacutil /l CatalogPromotionDll shows that the GAC contains the assembly, but I can't see the assembly when I navigate to C:\WINDOWS\assembly from Windows Explorer. Why can't I see the assembly in WINDOWS\assembly from Windows Explorer but I can see it using gacutil.exe? Background: Here's what I typed into the command prompt for VS Tools: C:\_Dev Projects\VS Projects\bmccormack

Assembly installed into the GAC not showing up in Visual Studio

别等时光非礼了梦想. 提交于 2019-11-27 08:34:57
This sounds related to this question , but they aren't the same thing. That question had no assemblies showing up. Mine has everything except the specific one I installed. I'm hoping someone has a solution to this... am I doing something wrong? Or did I find some bug in VS? I am using Visual Studio 2010 Professional Beta 2 on Windows 7 Ultimate. I just downloaded Rhino Mocks and decided to install it into the GAC using the command-line utility GACUTIL. I then rebooted. Here you can see the assembly in my GAC (click to enlarge): And here is the list of assemblies available to me in Visual

where is gacutil.exe?

荒凉一梦 提交于 2019-11-27 03:24:45
I am using Windows 7 Enterprise 32 bit. I have used Windows command line, and also used VSTS 2008 command line, but when executing gacutil.exe, there is command not found error. I am wondering whether I need to install gacutil.exe from somewhere or gacutil.exe is located in somewhere else in my computer (I searched my computer, but find several files called gacutil.exe, I do not know which one should be used)? BTW: I am using .Net 3.5. Andrey gacutil comes with Visual Studio, not with VSTS. It is part of Windows SDK and can be download separately at http://www.microsoft.com/downloads/details

Unable to uninstall an Assembly from GAC?

妖精的绣舞 提交于 2019-11-26 20:35:52
问题 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? 回答1: Have you considered reading this KB article and trying it out? Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you