gac

Where can I find GACUtil?

徘徊边缘 提交于 2020-12-30 05:46:06
问题 I know there have been many people asking the same thing, I have read all the posts related, but I couldn't find the gacutil.exe, I was looking at C:\WINDOWS\microsoft.net\Framework\v1.1.4322 and I found gacutil.exe.config but obviously it is just the config file. I need include a dll in the GAC. this is a list from where I was looking the exe without any success: C:\Program Files\Microsoft.NET C:\WINDOWS\microsoft.net\Framework\v1.1.4322 C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0

Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made to load a program with an incorrect format

对着背影说爱祢 提交于 2020-07-16 16:17:43
问题 I have installed a Web app on IIS 7.0 Windows Server 2008 R2 64bit. I am referring an oracle.DataAccess.dll; When I try to access the application I get the following message: "Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made to load a program with an incorrect format." Can anybody help me, please? 回答1: It seems the Oracle Data Access Component installation process using the "11.2 Release 3 (11.2.0.2.1) with Xcopy Deployment" version is broken

ClickOnce and GAC

久未见 提交于 2020-02-03 05:43:27
问题 I have WinForms application .net 3.5. I deploy it using clickonce in intranet with several client machines. I publish application in intranet web server (http://desbiz/CarwinClickOnce). In developer environment (my PC), my application uses GAC assemblies, like Fk.Security.Common.dll v.1.0.0.0. In tab Publish -> Application files in Properties of WinForms application csproj, I set value Include for Fk.Security.Common.dll reference. Now, some client machines have Fk.Security.Common.dll v.1.0.0

visual studio does not copy assembly into gac

折月煮酒 提交于 2020-01-24 16:06:49
问题 I have a class library and a sharepoint project. I have added a reference to the class library in the sharepoint project and when I click deploy I don't see the class library assembly in the gac. I think this is not normal. can any please let me know how can I solve this issue without resorting to manual deployment? thank you. 回答1: You have to open the package in the package editor, go to Advanced, and add the class library's DLL there. It doesn't happen automatically just from adding an

visual studio does not copy assembly into gac

和自甴很熟 提交于 2020-01-24 16:05:06
问题 I have a class library and a sharepoint project. I have added a reference to the class library in the sharepoint project and when I click deploy I don't see the class library assembly in the gac. I think this is not normal. can any please let me know how can I solve this issue without resorting to manual deployment? thank you. 回答1: You have to open the package in the package editor, go to Advanced, and add the class library's DLL there. It doesn't happen automatically just from adding an

.NET Core assembly search order

筅森魡賤 提交于 2020-01-22 15:17:06
问题 In .NET Framework, the loader searches dependencies in current folder and then in GAC. But in .NET Core there is no GAC, so does .NET Core assembly loader only search assemblies in current folder or in global nuget cache(someuser/.nuget/packages folder) also? Also I found a /usr/local/share/dotnet/shared folder in my Mac(C:\Program Files\dotnet\shared in Windows) where all base libraries are located, like System.Runtime.dll, System.Collections.dll. Does assembly loader looks there too? Also I

Oracle DataAccess related: “The invoked member is not supported in a dynamic assembly.”

跟風遠走 提交于 2020-01-15 04:26:47
问题 I understand that such an error has been discussed multiple times on SO. Some turned that was a bug in DLL file, some resolved by changing DLL version, other didn't seem to have a clue. Anyway I just post to try my luck: My application crashed when selecting a row in a grid on a C# GUI. The stackTrace looks like: System.NotSupportedException: The invoked member is not supported in a dynamic assembly. at Oracle.DataAccess.Types.OracleUdt.GetAllReferencedAssemblies() at Oracle.DataAccess.Client

Do assemblies placed in the GAC gain full trust?

限于喜欢 提交于 2020-01-13 09:16:21
问题 I've been hearing conflicting facts about this topic. What is correct? 回答1: You've been hearing conflicting views because it's a topic of great confusion, even among senior engineers. In short, simply placing an assembly in the GAC does implicitly give it full trust, but this can be overriden via security policy. EDIT1: Let me add that a common thought is if you don't trust an assembly fully, why are you placing it in the GAC? EDIT2: I had a link in here to a blog post from Michelle

GACUtil “Assembly successfully added to the cache” but “Number of items = 0”

﹥>﹥吖頭↗ 提交于 2020-01-13 07:54:05
问题 Why, when I run: gacutil –i myAssembly.dll do I get: Assembly successfully added to the cache But then when I run: gacutil –l myAssembly.dll I get Number of items = 0 ? 回答1: try with gacutil –l myAssembly donot add .dll at last.So if the dll is registered in GAC it will display Number of items = 1 http://msdn.microsoft.com/en-us/library/ex0ss12c(VS.80).aspx 回答2: Silly reason, really, but it took me what felt like hours to fix and is not really something you want to have to deal with when you

FxCop and GAC Madness

主宰稳场 提交于 2020-01-12 07:39:08
问题 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