microsoft / microsoft/component-detection

Assembly does not have a strong name

Open
#31 3 comments 0 reactions 1 assignee Claimed by @cobya View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.