strongname Questions

1

Solved

My product needs to be able to generate .snk files (without having Microsoft SDKs installed on the system). I can generate a working SNK file, but I can not seem to get it to work when specifying a...
Wartime asked 31/5, 2011 at 4:35

4

Solved

Ok, I must be dumb cause I've already read this: http://www.csharp411.com/net-assembly-faq-part-3-strong-names-and-signing/ And I still don't get it... Let's say I open my project's properties an...
Thou asked 31/7, 2009 at 20:30

1

Solved

I have two assemblies A and B. A is strong named and B is not. According to MSDN I cannot reference B from A because a strong named assembly can only reference another strong named assembly. But ...
Hutner asked 2/12, 2010 at 13:1

2

Solved

Signing with a strong name (keypair stored in a .snk file) is (among other uses) meant to protect against forging assemblies. For example: I ship my assembly signed with a strong name, then some o...
Amplify asked 1/2, 2011 at 7:11

1

Solved

Having read about strong names in .NET here, for example, I have the following question: We have an Authenticode code signing certificate with which we sign all our EXE, DLL and MSI files. The ben...
Soporific asked 17/12, 2010 at 10:37

2

Solved

I found Microsoft KB article: But it looks like they want me to recompile after I have created a key pair. Is there any way to just convert the assembly to a strong named assembly without recompil...
Dispersoid asked 18/11, 2010 at 16:12

2

Aside from invoking the command line to add a strong name to an assembly, is there any APIs out there that let you resign an assembly once it has been stripped of its strong name?
Wagoner asked 28/3, 2009 at 10:34

8

Solved

A colleague of mine created an assembly in VB.net for use with JScript via COM interop. The assembly used to work fine, but we signed it and now it only seems to work on Windows 7 machines. I've te...
Suddenly asked 15/9, 2010 at 18:45

1

Solved

In my organization we use snk files with strong names assemblies. We generate the snk ourselves. In addition we use a code signing signature on the binaries. We get the pfx from Verisign. What i...
Kahle asked 22/8, 2010 at 15:46

2

Solved

Possible Duplicate: What is strong naming and how do I strong name a binary? Actually, yesterday I attended an interview. There they asked me 1 question about strong name. I was not a...
Trigg asked 6/6, 2010 at 1:33

3

Solved

I'm using Visual Studio 2008 and I have a solution which contains multiple projects. I have 1 snk to sign my assemblies and this lives in a solution folder. I've linked the snk to each of my proj...
Kingsbury asked 12/2, 2010 at 14:17

1

Solved

I'm trying to create a mock HttpContextBase for unit test. var fakePrinciple = new GenericPrincipal( new GenericIdentity(userId), rolesList.ToArray()); var mockHttpContext = new Mock<HttpCo...
Colenecoleopteran asked 11/3, 2010 at 14:26

4

Solved

My application consists of three assemblies: a single EXE which references a couple of DLLs. The DLLs are private to my application - they are used only by this executable. Should these assemblies...
Templin asked 15/2, 2010 at 20:48

1

We have different versions of non strong-named assemblies, and no binding redirects/probing paths to them in app.exe.config. For example, MyDll (1.0.0.0_null_neutral) and MyDll (2.0.0.0_null_neutra...
Percheron asked 12/2, 2010 at 15:13

3

Solved

Assume I have a .NET assembly which is strong named. Only I have access to the private key. I then distribute the assembly to some client system. How hard is it for the client to modify the assemb...
Usa asked 7/12, 2009 at 3:4

3

I used to serialize a treeview with the BinaryFormatter (c#). The Assembly that did just that and which contains the all the serializable classes has now a strong name and is signed and also got a ...
Singlephase asked 23/4, 2009 at 8:2

1

Solved

I have a product which has around 10+ assemblies. We used to ship it without strongly naming the assemblies. But after reading about strong naming, I guess it is a wise idea to strong name assembli...
Everyway asked 10/8, 2009 at 13:26

2

What order should these be done in? I'm doing this from the command prompt for a .Net app. I was able to do just strong name and code signing successfully, but when I tried all three, it doesn't lo...
Pacifistic asked 5/6, 2009 at 15:57

3

Solved

From the description of sn.exe utility and this question I see that a copy of the public key is added to every assembly signed with the strong name. This is enough to validate that the assembly bin...
Wilen asked 28/4, 2009 at 15:47

2

Solved

I managed to use ILMerge to merge all the assemblies I have in my project into a single assembly, but the problem is there doesn't seem to be a way to sign the merged assembly. Is there some sort ...
Nascent asked 9/2, 2009 at 14:34

2

Solved

If I strong name a class library with a .snk file, do I need to replace this .snk file with a new if I create a new version of the same library?
Intercept asked 18/12, 2008 at 7:44

5

Solved

What is a .snk file for? I know it stands for Strongly Named Key, but all explanations of what it is and how it works goes over my head. Is there any simple explanation on how a strongly named key...
Dak asked 25/9, 2008 at 2:35

© 2022 - 2024 — McMap. All rights reserved.