Все вопросы: [gac]

144 вопросов

похожие теги:
1
голосов
2ответов
778 просмотров

Инструмент сравнения GAC для нескольких серверов?

Кто-нибудь знает об инструменте, который позволил бы мне создать отчет о сборках, установленных в .NET GAC на всех серверах моей веб-фермы?(30-40 серверов) Или, альтернативно, есть ли у кого-нибудь указатель или ссылка на какой-либо способ доступа к информации программно, через WMI, удаленный...

6
голосов
2ответов
2590 просмотров

Установка модифицированной версии ASP.NET MVC

Я внес относительно простое изменение в исходный код MVC 1.0, чтобы исправить ошибку в DropDownList HtmlHelper ( обсуждается в другом вопросе ). Мне удалось перестроить решение MVC, запустить все тесты, в том числе тот, который я добавил, чтобы показать исправляемую мной ошибку, и создал нову...

37
голосов
4ответов
35761 просмотров

Как предотвратить загрузку / обращение к сборке из GAC приложением .NET?

Можно ли настроить приложение .NET таким образом (настройки в Visual Studio), чтобы оно ссылалось на «локальную» сборку (не в GAC ) вместо сборки в GAC, хотя обе сборки имеют одинаковое имя и одну и ту же версию?

18
голосов
2ответов
7067 просмотров

Приоритеты загрузки сборок .NET

У меня есть решение с 3 проектами (GUI, BL и DAL).Сборка DAL подписана и развернута в GAC. Когда я создаю решение, DAL компилируется, и сборка помещается в папку bin основного проекта.Но когда я запускаю приложение, оно загружает версию GAC вместо локальной.Почему это? Я понял это, потому ...

0
голосов
1ответов
535 просмотров

WCF Client DLL Internet Delivery Problem

We are creating a WCF service with a companion client DLL (.Net) that we will be delivering to a user's GAC via a web page. The DLL knows how to communicate with and how to interface with the service, and will allow the web page to communicate with the WCF service via client-side Javascript calls...

11
голосов
8ответов
12907 просмотров

enumerating assemblies in GAC

How can I enumerate all available assemblies in GAC in C#? Actually I am facing an issue with a stupid code - the assembly called Telerik.Web.UI.dll is referred and used in project - this particular DLL is not present in BIN folder. And application is working fine on the server - but on my machi...

0
голосов
5ответов
2910 просмотров

How do I add a modified dll to the Global Assembly Cache?

I have the MySQL Connector/NET installed on my PC. I modified the source code and recompiled one of the dlls (MySQL.Data.dll). With the program already installed, how can add this dll to the Global Assembly Cache? If your answer involves using gacutil.exe, please tell me where I can find it on...

4
голосов
5ответов
7633 просмотров

How can i get the location of the GAC using C#?

How can i get the location of the GAC directory using C#? Exist an entry in the Windows Registry? UPDATE I need the location because, i want to enumerate and analyze the assemblies located in the GAC. Bye.

2
голосов
2ответов
3917 просмотров

How to determine the latest version number of a GAC assembly

I'm trying to create a diagnostic log for my application that will display the latest version number of an assembly installed in the GAC. For example, there are two versions of the same assembly in the GAC: foo.dll version 1.0.0.0 and foo.dll version 2.0.0.0. I need a function like the followi...

3
голосов
3ответов
1500 просмотров

ASP.NET with Delphi 2007 for .NET. Could not load file or assembly … The located assembly's manifest definition does not match the assembly reference

This one’s a head scratcher. Here’s the deal. While deploying a beta copy of an ASP.NET application built with Delphi 2007 for .NET to a test server I encountered an odd problem. The application was unable to start because it could not load the correct version of an ADO.NET data provider that I ...

0
голосов
3ответов
668 просмотров

Weird problem with Visual Studio 2008 website reference

I'm trying to add a reference to the GAC version of System.Xml in a Visual Studio 2008 web site project. I right-click the project icon in the Solution Explorer, and click Property Pages. Under the References tree option, I click the 'Add' button on the right. I navigate to System.Xml in the ....

2
голосов
1ответов
1798 просмотров

C# Reflection Load "System" assembly without FQN

I want to use Assembly.ReflectionOnlyLoad() to extract MemberInfos from some .NET system assemblies like System, System.Windows.Forms and so on. Now the way I undestand it, I must supply the fully qualified name of the assembly (inlcuding version info and all that) or the path. However, I want my...

2
голосов
5ответов
1918 просмотров

How do you add a DLL to the GAC from an InstallScript Project in InstallShield?

How do you add a DLL to the GAC from an InstallScript Project in InstallShield? I tried added [GLOBALASSEMBLYCACHE] as a destination to the component, with no luck. It tells me that is not valid data for the destination.

4
голосов
2ответов
1954 просмотров

Tracking down slow managed DLL loading

I am faced with the following issue and at this point I feel like I'm severely lacking some sort of tool, I just don't know what that tool is, or what exactly it should be doing. Here is the setup: I have a 3rd party DLL that has to be registered in GAC. This all works fine and good on pretty mu...

10
голосов
2ответов
7074 просмотров

Methods to programmatically install a .NET assembly into the GAC

I need to create a small app or script to install a .NET assembly into the GAC. I've read there are a couple ways to do this including: using gacutil.exe executing the following line of code: new System.EnterpriseServices.Internal.Publish().GACInstall("Foo.dll"); However, what would happe...

0
голосов
1ответов
370 просмотров

DLL's in a ASP.NET Application and SourceSafe/Sharing between computers

I have an application that uses currently two DLL's for external libraries (AjaxControlToolkit is one of them) I was wondering the best way for a colleague of mine to check out my application from our SourceSafe database and use these libraries. I don't know much about utlising external librari...

1
голосов
3ответов
2376 просмотров

ASP.NET - Add Reference of GAC is not possible?

I am new to ASP.NET having some basic doubts. 1) The public assemblies are deployed in GAC.Even when i go for "Add Reference ", I can not point to c:\windows\assembly ( i hope it is not possible) .Still i need to refer the assembly from ..\Bin folder of the source project ( custom assembly...

0
голосов
1ответов
156 просмотров

Is it possible to install an assembly into the GAC as some sort of 'linked assembly'?

I'm trying to deploy some sort of framework and therefore need to register some assemblies in the GAC. The interesting part is: These GAC assemblies should only be used by the framework developer, the client apps should not use these GAC assemblies but the ones in their local directories (the GA...

0
голосов
2ответов
551 просмотров

Using undocumented native code APIs to install items into the GAC

I'm working on a project whose setup uses the APIs documented in Microsoft Knowledge Base article KB317540 to install and uninstall assemblies into the GAC. The KB article states: SUMMARY The native code application programming interfaces (APIs) that allow you to interact with the Globa...

2
голосов
1ответов
1960 просмотров

How to add VB.NET Class to GAC, and use it in Code-Behind

I created a VB.NET Class, and created a strong key, and added it to the GAC using the GacUtil. That part has gone smoothly. The Assembly is installed in the GAC and seems to be installed/configured correctly. FYI, the assembly is a Class called Tester, that exposes one public static method cal...

2
голосов
1ответов
917 просмотров

.NET assembly cache / ngen / jit image warm-up and cool-down behavior

I have an Input Method (IME) program built with C#.NET 2.0 DLL through C++/CLI. Since an IME is always attaching to another application, the C#.NET DLL seems not able to avoid image address rebasing. Although I have applied ngen to create a native image of that C#.NET 2.0 DLL and installed it in...

1
голосов
1ответов
105 просмотров

Synchronize GAC across multiple systems

I'm looking for a tool that keep GAC synchronized across different systems. when a new assembly added to one system, it should be GACed on other systems automatically. Thanks

1
голосов
1ответов
470 просмотров

C# AIM Bot Not Loading Libraries from AOL SDK

I am trying to get an AIM Bot set up in C# and I am having issues with the Assemblies. I have tried placing the DLL files in the BIN folder of the project and in the windows/system32 folders. I have registered the DLL files so that I could add them to the project in VS2008. I also attempted th...

1
голосов
1ответов
526 просмотров

DLL in GAC references a file relatively ... where should I put it?

I have a third party dll that I need to install to the GAC. The dll needs access to a ini file that according to the documentation needs to be in the same location as the dll. If I install the dll into the GAC, what location should I copy the ini file to in order for the dll to find the ini file?

0
голосов
1ответов
1166 просмотров

Installing assemblies to GAC with Windows Installer

I am creating a Windwos Installer project just for the use of installing our third party assemblies into the gac of the users computer. The problem i am running into, is when i make an update to the assemblie and increment it's version number, i get an error saying: "Another version of this prod...

2
голосов
2ответов
950 просмотров

ClickOnce Application Deployment dll reference question

I have installed an application off the web via ClickOnce. Examining the application in Reflector shows that it depends on two custom libraries--Thirteen23.Library.3 and TwitterLib. When attempting to open classes defined in these libraries, Reflector complains that "The following assembly nam...

2
голосов
1ответов
556 просмотров

Adding a reference to an assembly with a specific range of versions in Visual Studio

In Visual Studio, you can require that an assembly reference match a specific version of the assembly. Is it possible (maybe by directly editing the csproj or vbproj file in a text editor) to reference a range of versions. My specific example is I want to reference version 2.5.x of nUnit in my ...

188
голосов
8ответов
128697 просмотров

What is the GAC in .NET?

Just looking for a short overview of GAC for a layman, not a link please.

2
голосов
3ответов
2324 просмотров

Programmatically add a strong named assembly to the GAC

Is there anyway to programmatically add a strong named assembly to the GAC using C# code ? Thanks

1
голосов
2ответов
183 просмотров

Unit Testing Assemblies Running Out Of Process

Anybody out there have experience testing "out of process assemblies"? I'm testing some Com+ (Serviced Component) and WCF services configured to be activated out of process and I'm not sure what the best practices are for testing in these situations. What I've done is given the public classes ...