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.

Package does not have a strong name

See original GitHub issue

Describe the bug I am unable to reference the LdapForNet package in an application that is strongly signed. CSC : error CS8002: Referenced assembly 'LdapForNet, Version=2.7.10.0, Culture=neutral, PublicKeyToken=null' does not have a strong name.

To Reproduce Reference this package in a project that uses strong name signing. You cannot reference unsigned assembly from a signed assembly.

Expected behavior The package should be strongly signed.

Desktop (please complete the following information):

  • OS: Windows, Linux, and FreeBSD
  • Library version 2.7.10
  • .NET Core 3.1

Additional information I am currently using the following package as a workaround: <PackageReference Include="Brutal.Dev.StrongNameSigner" Version="2.7.1" />

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jepperccommented, Jun 30, 2021

Also having an issue, can’t use the package without it. Can I make a PR to fix? The current guidelines suggest they key should just be in the repository, so should be easy 🙂

0reactions
thj-dkcommented, Jul 6, 2021

@flamencist any chance of having @jepperc PR #131 merged?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix "Referenced assembly does not have a strong ...
Right click on the project file · Select Properties · Select "Signing tab" (on the left) · Click the check box "Sign the...
Read more >
[Bug] Reference Assembly does not have a strong name
Another workaround is to add a refrence to https://www.nuget.org/packages/StrongNamer/. We do this in unit tests, to overcome the fact that many ...
Read more >
Referenced assembly does not have a strong name
The strong name protects clients from unknowingly loading an assembly that has been tampered with. Assemblies without strong names should not be ...
Read more >
How to: Sign an assembly with a strong name | ...
This article shows you how to sign a .NET assembly with a strong name by using the Signing tab, the Assembly Linker, assembly...
Read more >
Strong naming and .NET libraries
Strong naming refers to signing an assembly with a key, producing a strong-named assembly. When an assembly is strong-named, ...
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