gac

How to install a WSP that has dependant assemblies?

跟風遠走 提交于 2019-12-06 02:35:06
问题 I have a solution in Visual Studio 2010 that is made up of 3 projects. I have one project for my SharePoint 2010 custom timer job, one project (Project A) that is used by my custom timer job, and another project (Project B) that is used by Project A. The problem is that when I package my project the WSP only installs the Custom Timer Job to the GAC. Is there some way to have all dependant DLLs installed as well? 回答1: You have to add those DLLs (project references) manually into the WSP

How to install and use F# Powerpack in Mono?

耗尽温柔 提交于 2019-12-06 01:07:35
问题 I need to install use F# powerpack. I use mono version 2.10.2 on Mac. mono --version Mono JIT compiler version 2.10.2 (tarball Mon Apr 18 09:14:01 MDT 2011) Copyright (C) 2002-2011 Novell, Inc and Contributors. www.mono-project.com TLS: normal SIGSEGV: normal Notification: kqueue Architecture: x86 Disabled: none Misc: debugger softdebug LLVM: yes(2.9svn-mono) GC: Included Boehm (with typed GC) Installation. Download the powerpack zip file from here. Unzip the file to directory ~/bin . Add the

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

佐手、 提交于 2019-12-06 00:33:13
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 that I wanted to reference from my project was only available in the GAC. (It was Microsoft.XNA.Framework v2.0 obtained from the XNA 2.0 redistributalbe and as far as I could see it installed only into the GAC). I worked round the problem by setting the

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

元气小坏坏 提交于 2019-12-05 22:22:52
问题 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. (Microsoft SQL Server, Error: 6503) How do I get SQL Server to reference the required assembly? 回答1: Apparently I can't, according to this post on the microsoft

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

女生的网名这么多〃 提交于 2019-12-05 21:30:57
and if the answer is "it depends", could you provide a short explanation why ? GAC is meant to contain assemblies that are shared across multiple applications . If that is the case, you should strong-name the assembly and register it with the GAC. If not, keep the assembly as a private assembly and reference it as a project/dll reference. PS: Didn't really get the reference from bin folder part of your question - which bin folder is this? At the risk of drawing downvotes I'm going to fly in the face of popular opinion and say that the GAC should only be used as a last resort (one example I can

Deploying dlls to GAC

寵の児 提交于 2019-12-05 20:59:55
We have a Sharepoint 2010 solution that we are trying to the deploy to the production environment. We have developed this solution using Visual Studio 2010 and we have created several projects which result in a number of dlls. We are getting the following error when accessing one of the web parts. An error occurred during the compilation of the requested file, or one of its dependencies. The type 'xxxx' is defined in an assembly that is not referenced. You must add a reference to assembly 'xxx, Version=1.0.0.0, Culture=neutral, PublicKeyToken=xxxx'. For installing the dlls - I have dragged and

Compare GACs from two servers?

。_饼干妹妹 提交于 2019-12-05 19:59:53
I need a easy and trusted way to compare GAC (Global Assembly Cache) from two servers, during BizTalk migration. I also want to move the GAC from QA to Production if it doesn't exist in the destination server. These are both BizTalk servers and have tons of assemblies GAC'd. I saw some tools online but the link to one was broken (winmerge) and others did not seem really authentic. Thanks for your help. schellack Whenever I need to find something in the GAC, I always just run Gacutil.exe /l > c:/gac.txt from a Visual Studio (or, if that's not available, Windows SDK) command prompt, and then

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

≯℡__Kan透↙ 提交于 2019-12-05 16:12:33
问题 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)

Uninstall from GAC In C# code

て烟熏妆下的殇ゞ 提交于 2019-12-05 15:05:08
问题 How do I uninstall the GAC from my C# application. I am not able to uninstall, the particular exe and DLL from GAC. Is it the proper way to uninstall the GAC in C# ? public void RemoveAssembly(string ShortAssemblyName, string PublicToken) { AssemblyCacheEnum AssembCache = new AssemblyCacheEnum(null); string FullAssembName = null; for (; ; ) { string AssembNameLoc = AssembCache.GetNextAssembly(); if (AssembNameLoc == null) break; string Pt; string ShortName = GetAssemblyShortName(AssembNameLoc

Does order matter when registering, gac-ing assemblies for COM interop?

こ雲淡風輕ζ 提交于 2019-12-05 11:29:58
When registering .NET assemblies for COM Interop, I do two things, currently in this order: regasm /tlb:MyDll.tlb Mydll.dll gacutil /i Mydll.dll I use regasm to register the type library for COM and gacutil to install the assembly into the GAC. Does it matter which order I do these two actions? Also, as I make updates to my dll, do I need to un-register and re-register it, uninstall it from the gac and re-install it, both or neither? Does order matter? No. Do you need to reinstall in GAC when the dll has changed? Yes. Do you need to re-register for COM when dll has changed? That depends. If