Can I force a program to load a weakly-named assembly when it's linked to a strongly-named assembly?



I have a program that references a strongly named assembly which is in the gac. I have a debug build of this assembly which I want to debug into, but it isn't strongly named. Can I use a policy file or something to force the program to use the weakly named assembly? Or do I have to recompile the program to reference the weakly named assembly? (These assembles are purchased from a 3rd-party. I have the source to them but I don't have the company's private key to strongly name my own build of them with the same key.)


Thanks,
Phil


View Replies

Related to : Can I force a program to load a weakly-named assembly when it's linked to a strongly-named assembly?


convert a weakly named assembly to a strongly named
Category : Development
Hi,
I have one weakly named(i.e. not strong named) assembly/xyz.dll. And other
strong named assemblies/.dll. I have found that I cant use weakly named
assembly with strong named assembly.
How can I convert weekly named assembly to strong named assembly. Or other
possible way

View Replies


Strongly named assembly wont load
Category : Development
Hi,
I have a C++ managed assembly (.dll) which links to a bunch of native
libraries. Everything works fine if I dont make the managed assembly a
strongly named one.
Once I make it a strongly named assembly by adding the following attribute:
[assembly:System::Reflection::Asse

View Replies


Strongly named assembly can reference only other Strongly named assembly
Category : Development
Hi,
Why strongly named assembly can refer other strongly named assembly ?
Thanks with Regards,
San.
Nov 16 05 #1 Post Reply Share this Question 1 Reply (adsbygoogle = window.ads

View Replies


Custom section cannot load strongly named assembly in GAC
Category : ASP & ASP.net
section: gac info: Assembly Name: Wegmans.Framework.Diagnostics Culture: neutral Version: 1.0.0.0 Public Key Token: 48fa7c39a36e2e1e Codebase: file:///C:/Documents and Settings/ADWeigert/My Documents/Visual Studio Projects/Wegmans/Framework/Diagnostics/bin/Debug/Wegmans.Framework.Diagnostics.dll Cac

View Replies


Custom section cannot load strongly named assembly in GAC !
Category : ASP & ASP.net
section: gac info: Assembly Name: Wegmans.Framework.Diagnostics Culture: neutral Version: 1.0.0.0 Public Key Token: 48fa7c39a36e2e1e Codebase: file:///C:/Documents and Settings/ADWeigert/My Documents/Visual Studio Projects/Wegmans/Framework/Diagnostics/bin/Debug/Wegmans.Framework.Diagnostics.dll Cac

View Replies


Cannot load file or assemby when adding strongly named assembly
Category : Programming Languages
I am trying to load assemblies by referencing them in the web.config file.
I created a simple solution that contains a class library (DeploymentTest) and a web site (DeploymentTestWeb). The class library produces a dll, and is strongly named. The web site references this dll in the web.config

View Replies


Web Assembly in GAC, Page Inherits Strongly Named Assembly?
Category : Development
The changes to asp.net makes it very difficult for us to migrate one of
our web projects to 2.0 and makes deployments more difficult for us.
It seems that the new Asp.net model is only designed to place
assemblies in the bin directory of the application. For our
application, we

View Replies


Need a C# Assembly to reference a strongly named assembly loosely
Category : C & C++ & C#

So here's the problem. I'm writing some StyleCop plug-in assemblies for use at the company I work for. As such, these assemblies need to reference Microsoft.StyleCop.CSharp.dll for example, which is strongly named.


The problem comes in that if I build this and pass it along to the d


View Replies


.NET assembly : strongly named
Category : Development
I have a .NET DLL that uses ADO 2.8 DLL.
I am not able to "strongly name" the .NET DLL.
Any comments, work arounds ?
CHDe
---
Posted using Wimdows.net NntpNews Component -
Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup engine supports Pos

View Replies


strongly named .net assembly in IE
Category : Development
Im trying to create a Windows Form control that will run
in a web page. I was able to successfully load the
control using the following html tag:
<OBJECT id="test"
classid="ClassLibrary1.dll#ClassLibrary1.ClassLibr ary1.OQB
CTRL">
However, I

View Replies


2012 / 2017 Copyrights BigHow , All Rights Reserved .