gac

Visual Studio 2010 - Cannot add assembly references from the GAC

丶灬走出姿态 提交于 2019-12-11 02:05:01
问题 I have now gone over to Visual Studio 2010 Beta 2 I have used it for a few days, but now I can no longer add references from the GAC. (http://bildr.no/view/549966) Sorry since this is not directly a development question, but I was not sure where to ask. Does someone know how to fix this? 回答1: Check the Global Assembly Cache. You may have done something very very bad. EDIT I noticed you are using Silverlight: C:\Program Files\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0 I cannot

.NET compiled third-party DLL reference conflict

萝らか妹 提交于 2019-12-11 01:54:47
问题 I am using Umbraco (a .NET CMS), and it has a reference to a specific version of a DLL (see 1 Umbraco Reference below). This is fine until I try to hook into the .NET MailChimp API which references a different vesion of the same DLL (see 2 PerceptiveMCAPI below). I can think of a couple of options for resolving this a. Get either the Umbraco or PerceptiveMCAPI source and reference the same version of the DLL, really do not want to do this for compatibility reasons b. Dump the 2 DLLs in the

Website not able to find assemblies for silverlight library

大憨熊 提交于 2019-12-10 22:43:50
问题 I have a web site type project in visual studio and I have included a reference to my silverlight 5 library project. In the SL5 project, I am including the System.Runtime.Serialization assembly. When I try to access one of the pages of my web site that uses the SL5 library, I am getting the following error: Could not load file or assembly 'System.Runtime.Serialization, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the

Linking to presentationcore.dll in mixed mode DLL

℡╲_俬逩灬. 提交于 2019-12-10 22:38:05
问题 We have a mixed mode DLL written in C++ which wraps native C++ DLLs and exposes managed classes. In the exposed managed classes, we use method arguments of type Vector3D etc., which are part of PresentationCore.DLL. Therefore, the mixed mode C++ code needs to reference PresentationCore.DLL. We do this via #using <PresentationCore.dll> which requires the project's search path to include the folder PresentationCore.dll lives in. This is bad, because these folders vary on different machines, and

C# How to redirect assembly loading using application config file

别说谁变了你拦得住时间么 提交于 2019-12-10 19:05:26
问题 I have an assembly with few versions registered in the GAC. Now, I want one of my clients which uses this assembly (version 1.3) to point to the newest version (1.4) without opening the source and recompiling the client. I saw an article demonstrating a technique for doing so using the application config file (winform application) here is the config file content : <?xml version="1.0" encoding="utf-8" ?> <configuration xmlns:asm="urn:schemas-microsoft-com:asm.v1"> <runtime> <asm

How to tell which application(s) have a given assembly registered in the GAC?

不羁岁月 提交于 2019-12-10 17:22:02
问题 When trying to remove a given assembly (log4net.dll in this case, but it should apply to any similar case) using gacutil.exe, the action fails due to the assembly being required by an application. However, I can't figure out how to tell which application(s) actually require it. Since the output seems to indicate that the requirement is logged in the MSI database / Windows Installer, it would seem like some util would be able to either list all the GAC assemblies registered in the MSI database

Assembly from GAC is not listed in Monodevelop's Edit References dialog

扶醉桌前 提交于 2019-12-10 17:19:09
问题 I am trying to port a small console application from Windows/.NET to Ubuntu/Mono. I have problems to add a reference to the mono version of NLog, which I added to the GAC. Adding NLog.dll to the assembly was confirmed: Installed NLog.dll into the gac (/usr/lib/mono/gac) I also find it in the GAC under: /usr/lib/mono/gac/NLog/2.0.0.0__5120e14c03d0593c First I thought that it was due to my umask 027. But I changed files to 644 and directories to 755. The problem persists. I am working with:

Registering dll's in the GAC using Visual Studio Installer

青春壹個敷衍的年華 提交于 2019-12-10 15:37:19
问题 I want to register/unregister my project's assemblies in the GAC using Visual Studio's Setup installer project. I am thinking of using a custom installer to utilise the Install() and Uninstall() methods to write commmandline (in code) commands via the gacutil.exe. Is there an easier way - or is this the way you would do this? Please keep responses within the scope of using Visual Studio tools (not Installshield or WISE etc) Cheers. 回答1: You cannot rely on gacutil.exe, it will not be available

Install .NET 4.0 dll to the GAC

杀马特。学长 韩版系。学妹 提交于 2019-12-10 15:27:33
问题 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 copy; however, it is not copied and does not produce any error message. I cannot create a setup/deployment project as it appears the express editions of visual

GAC seems to contain two assemblies with identical name, version and public key token

无人久伴 提交于 2019-12-10 15:04:19
问题 I'm currently staring into this page that claims to list the contents of GAC on a typical Azure VM. Note that the following assemblies and many others are listed twice. AuditPolicyGPManagedStubs.Interop, Version=6.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 TWICE CustomMarshalers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a TWICE CustomMarshalers, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a TWICE ISymWrapper, Version=2.0.0.0, Culture