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


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

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 t


convert a weakly named assembly to a strongly named
by lewing in Programming Languages
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
Strongly named assembly wont load
by CodeAndLearn in Programming Languages
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
Strongly named assembly can reference only other Strongly named assembly
by Krysole in Programming Languages
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
Cannot load file or assemby when adding strongly named assembly
by YooperDave in 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
Web Assembly in GAC, Page Inherits Strongly Named Assembly?
by chintown in Programming Languages
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
Need a C# Assembly to reference a strongly named assembly loosely
by Dan in Programming Languages

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


strongly named .net assembly in IE
by z1ggy in Programming Languages
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
.NET assembly : strongly named
by sReas in Programming Languages
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
dll does not represent a strongly named assembly
by SperglordActual in Programming Languages
Hi,
Problem aquiring a PublicKeyToken while deploying a webpart.
I created a .snk file through sn and added it to the project and then I
edited the assemblyInfo.cs to
[assembly: AssemblyKeyFile("....mywebpart.snk")
and rebuilt the project. It got the project rebuil
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2014 © bighow.org All Rights Reserved .