microsoft / microsoft/component-detection
Assembly does not have a strong name
Open
status:blocked
type:feature
version:major
- Dominant language
- C#
- Stars
- 553
- Forks
- 135
- Avg merge
- 20h 58m
- Merged PRs (30d)
- 6
Description
Without a strong name, a strong-named project will get this error.
> CS8002: Referenced assembly 'Microsoft.ComponentDetection.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have a strong name.
You just need to generate an snk at the root of the repo (let's say `StrongName.snk`), and add this to `Directory.Build.props`:
```xml
true
$(MSBuildThisFileDirectory)StrongName.snk
```
Contributor guide
Assessment
This issue has not been assessed yet.