question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I have test project which is strongly signed. I know that having testing project strongly signed is stupid, but we have many of these and hope published ExpressionToCodeLib to be signed either.

Error	CS8002	Referenced assembly 'ExpressionToCodeLib, Version=2.5.1.0, Culture=neutral, PublicKeyToken=null' does not have a strong name.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
SimonCroppcommented, Jul 4, 2018

the only reason to SN a test-helping lib, is because a test project is testing a SN’d project, and that target project exposes [InternalsVisibleTo] so non public member can be tested. So in this case all libs the test project pulls in need to be SN’d

Having said that. in most real cases where i have seen this:

Do not rely on strong names for security. They provide a unique identity only.

0reactions
EamonNerbonnecommented, Mar 1, 2018

I though users can use StrongNameSigner regardless of what the nuget packages do? But I get that it would be convenient for them…

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Configure a Strong Name Assembly Key File
Click the Signing tab and choose Browse in the Choose a strong name key file drop down box. Browse to the key file...
Read more >
Creating new key file to strongly name an assembly does ...
I want to create new key for my assembly to strongly name it. According to documentation: "In the Choose a strong name key...
Read more >
How to generate strong name key file or which command is ...
To create a strong name key file we need to run the following command in comand prompt with the file name: sn -k...
Read more >
How to create Strong named assemblies in .NET
Step 1: Create the snk Key ; Step 2: Add your key to the solution base directory and link it in each project...
Read more >
NET Assembly FAQ – Part 3 – Strong Names and Signing
A strong name key file has a .snk extension and contains a unique public-private key pair. You use the strong name key file...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found