gac

MonoDevelop Compilation & GAC

落花浮王杯 提交于 2019-12-24 09:59:55
问题 I'm a bit confused as to what's happening here. My understanding is that when an assembly is required at runtime, the runtime will first try to load the assembly from the executing directory (or the directory where the dependant executable is located). After which it will attempt to find the assembly within the GAC. First of all, I am on Windows. Now, when I'm compiling my solution is VS, everything works fine (as expected), but when I compile the same solution in MonoDevelop, the compilation

How to get OpenCover to look at local bin\Debug folder for PDBs not GAC

左心房为你撑大大i 提交于 2019-12-24 07:45:11
问题 I am using OpenCover 4.7.922 with nUnit console runner 3.10.0. I have a myproj.tests project which tests myproj . After building, myproj.tests\bin\debug contains myproj.tests.dll , myproj.tests.pdb , myproj.dll , myproj.pdb . myproj is registered in the GAC. I am calling OpenCover like so: OpenCover.Console.exe -output:opencover.xml -register:user -target:"nunit3-console.exe" -targetargs:"myproj.tests\bin\debug\myproj.tests.dll --result=NUnitResults.xml" opencover.xml contains <Module

Support for DEVPATH

断了今生、忘了曾经 提交于 2019-12-24 01:37:23
问题 I have a question about support for DEVPATH (http://msdn.microsoft.com/en-us/library/cskzh7h6.aspx) in the future. As I have read Microsoft considered deprecating it in the past but decided not to. Do you know if there are plans of deprecating it in .NET 4.0 or further? Or is it going to be supported? Thank You Kuzu 回答1: This came up on a course I did with Wintellect recently, who have quite close links with MS. Apparently no, there's no longer plans to deprecate it as it's too useful for

Best GAC Tutorial/Overview? [closed]

僤鯓⒐⒋嵵緔 提交于 2019-12-23 22:27:33
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . Can someone recommend a good soup-to-nuts tutorial that covers the GAC/Global Assembly Cache.? 回答1: Demystifying the .NET Global Assembly Cache And of course Justice Grey's 'Grandmother' explanation... My grandmother and the Global Assembly Cache (and Star Wars) (2011-08-10: link seems to be dead: try the

Cannot resolve type runtime error after registering the Enterprise Library into the GAC

醉酒当歌 提交于 2019-12-23 13:13:12
问题 I worked on registering the Enterprise Library assemblies into the Global Assembly Cache (GAC). I am using version 5.0 of the Enterprise Library that I signed with my own key, and I am using the assemblies in a number of .NET 4.0 applications. After successfully registering the Enterprise Library assemblies into the GAC, the application started with this message: The type 'Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.TextExceptionFormatter, Microsoft.Practices.EnterpriseLibrary

How do I resolve ambiguity between my project DLL and a DLL in the GAC?

廉价感情. 提交于 2019-12-23 10:58:23
问题 I am currently working on another issue in my ASP.NET MVC project. In an effort to better understand what is happening in the codebase I decided to reference the ASP.NET MVC Source Code project in my own project by adding the solution file to my references. When I did this, I started getting HTTP 404 errors. It just so happens I had a breakpoint set on the OnException() method of the HandleErrorAttribute , otherwise it might have taken a long time to find the actual problem. When I hover over

How Does a COM Program Locate a .NET DLL Registered for COM Interop?

我的未来我决定 提交于 2019-12-23 07:57:21
问题 One customer wants to consume our .NET DLLs from VB6. They are designed to support reverse interop and all works fine... except: There are two separate VB6 programs in two different directories. It seems it's necessary to do one of: Copy the .NET DLL into both directories, or Install the .NET DLL in the GAC This is the customer's observation and also supported by the RegAsm documentation: After registering an assembly using Regasm.exe, you can install it in the global assembly cache so that

Speed Increase by Using the Global Assembly Cache

蓝咒 提交于 2019-12-22 10:26:39
问题 If I had a 1000 asp.net websites each with 30 DLL's in their /bin folders. Therefore 30,000 DLL's. Would the websites / web server / machine run faster if I registered one set of the DLL's into the Global Assembly Cache and each site used the DLL's in the GAC? e.g. would the websites collectively use less memory? 回答1: Even though assemblies are in the GAC they will still be loaded from there into memory separately to provide isolation. In other words, just because assemblies are in the GAC

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

余生颓废 提交于 2019-12-22 09:29:56
问题 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

Why do ASP.NET resolve assembly references differently?

纵饮孤独 提交于 2019-12-22 05:33:17
问题 I really tried hard to find a similar issue to get some leads, but no one seems to describe the case we are having, so here it goes. Background We have a product with the following general design: [Local installation folder] Contains a set of .NET assemblies, implementing the bulk of our product functionality. Example: Implementation1.dll , Implementation2.dll [GAC] ClientAPI.dll. Our client assembly, to be referenced from end user Visual Studio projects. Has strong references to the