Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Add strong name for DotNetBridge #87

Merged
merged 4 commits into from Jan 9, 2019

Conversation

shmoradims
Copy link
Member

This change will allow ML.NET assemblies to add DotNetBridge as InternalsVisibleTo friend.

@@ -14,6 +14,8 @@
<Copyright>(c) Microsoft Corporation. All rights reserved.</Copyright>
<RepositoryUrl>https://github.com/Microsoft/NimbusML</RepositoryUrl>
<PackageProjectUrl>https://github.com/Microsoft/NimbusML</PackageProjectUrl>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>tmsn.snk</AssemblyOriginatorKeyFile>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this named tmsn.snk? that seems cryptic

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you also want to set

<PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>

see
https://github.com/dotnet/machinelearning/blob/master/Directory.Build.props#L105

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I copied tmsn.snk from TLC to keep the keys the same for ML.NET external friend repos. I'll rename it to something less cryptic.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like the <PublicSign line is no longer necessary, since the bug was fixed - dotnet/roslyn#8210

Copy link
Member

@eerhardt eerhardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@shmoradims shmoradims merged commit b0c1e3a into microsoft:master Jan 9, 2019
@shmoradims shmoradims deleted the strongname branch January 9, 2019 20:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants