gac

Adding same “*.dll” reference to multiple projects in the same Solution

只愿长相守 提交于 2020-01-01 04:34:48
问题 I have a Visual Studio 2008 .NET C++/CLI Solution. My Solution consist of many sub projects. I define a custom buid directory for each project call it Output. MySoultion MyFirstProject (*.exe) MySecondPrject (*.dll) ... MyNthProject (*.dll) Each of the sub project use Log4.net.So I create a directory (called LogBinary) and put log4.net dll in that folder.Then to use log4net i add this dll as a reference to each of my project... But when i try to compile my main project (*.exe) i got tons of

Adding assemblies to the GAC from Inno Setup

南楼画角 提交于 2019-12-29 08:51:38
问题 Until recently we were using Inno Setup for our installations, something I would like to continue doing, unless we can get an uninstall option in the start menu (thanks Giovanni Galbo), however we now need to GAC some external libraries, something I suspect is only doable (or at least only supported) though the .NET Setup Project. Is it possible to call a GAC'ing library from another setup application? 回答1: According to http://jrsoftware.org/files/is5-whatsnew.htm you should be able to do it

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

蹲街弑〆低调 提交于 2019-12-28 04:58:20
问题 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:

Use Visual Studio Setup Project to automatically register and GAC a COM Interop DLL

六月ゝ 毕业季﹏ 提交于 2019-12-28 01:55:39
问题 I've created a .NET assembly for COM interop and it is working well on my development machine. I'm currently trying to figure out how to deploy the DLL to a target machine using Visual Studio's "Setup Project." How can I use the VIsual Studio setup project to do the following things: Register the assembly (currently using regasm ). The assembly needs to be registered successfully and the type library (.tlb) needs to be registered successfully . This answer suggests scrapping regasm in favor

PresentationFramework DLL could not be loaded

送分小仙女□ 提交于 2019-12-25 18:41:44
问题 I am running a TeamCity build which is running FXCop Analysis. Getting the following error: [INFO] 2>Project : error : CA0058 : The referenced assembly 'PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be found. Now, this error is coming on only one of the machines, and he build is running fine on all remaining ones. I've checked the following (same on all the machines) Checked that the assembly is present in GAC Verified that Visual Studio

Deploying SharePoint layout ASP .NET assembly into GAC

旧时模样 提交于 2019-12-25 14:38:18
问题 I'm currently rewriting a legacy SharePoint application and I need to figure out how to deploy it. The application itself is SharePoint solution with several features, including webparts and simple web pages with some code. There is a webpage that is designed to be deployed in layouts subfolder. In production environment, there is no codebehind in layouts subdirectory, just the .aspx file. I understand that corresponding codebehind assembly is loaded from GAC. Indeed, it is there. However the

Accessing a non-COM visible DLL method from a COM visible DLL registered in GAC

心不动则不痛 提交于 2019-12-25 06:32:01
问题 My website application uses C# COM+ components running under a particular identity to access SQL Server, invoked from classic ASP. There's also a web service that utilises a \bin DLL in the website application that contains a method to insert some data into the SQL Server database (let's call it MyApp.Database.dll ). From the website front end, I want to be able to provide authenticated users with this same functionality. I don't want to duplicate code in MyApp.Database.dll within the COM+

What's this folder structure for? (Local user GAC?)

偶尔善良 提交于 2019-12-24 17:42:54
问题 I've just stumbled across this folder structure on my machine which contains lots of .NET assemblies similar to what you might find in the system GAC. This puzzled my as I've never seen this folder structure before and it makes me wonder, is there such a thing as a local user assembly cache? The folder structure is: C:\Documents and Settings\ [username] \Local Settings\Application Data\assembly\ and contains folders and files that look like: \dl3\8M830QM6.ON7\NJ9Q0EA9.TZO\623c8efc\00461250

What's this folder structure for? (Local user GAC?)

旧巷老猫 提交于 2019-12-24 17:41:52
问题 I've just stumbled across this folder structure on my machine which contains lots of .NET assemblies similar to what you might find in the system GAC. This puzzled my as I've never seen this folder structure before and it makes me wonder, is there such a thing as a local user assembly cache? The folder structure is: C:\Documents and Settings\ [username] \Local Settings\Application Data\assembly\ and contains folders and files that look like: \dl3\8M830QM6.ON7\NJ9Q0EA9.TZO\623c8efc\00461250

old dlls in GAC are still being used

时光总嘲笑我的痴心妄想 提交于 2019-12-24 10:36:29
问题 I have a set up where the assembly is published to the GAC after each build. But My application uses the old dll all the time. After build the new dlls are created in a new folder. The folder names are 7.1.7573.0_ d516cb311 and 7.1.5000.8888 _d516cb311. The second folder being the latest. It seems(from the folder name) my current code is publishing old dll. Is it the reason my application is using old dll? If yes What will I have to do so that currect assembly is published? Edit: In the web