Skip to content

Commit

Permalink
fixed strong name
Browse files Browse the repository at this point in the history
  • Loading branch information
vpenades committed Jan 27, 2024
1 parent 7e6fd1b commit 1079b54
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 21 deletions.
15 changes: 4 additions & 11 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>

<Import Project="$(MsBuildThisFileDirectory)Shared\SharpGLTF.PublicKey.props"/>
<Project>

<!-- Legal =================================================================================== -->

Expand All @@ -26,6 +24,8 @@
<IsAotCompatible>true</IsAotCompatible>
</PropertyGroup>

<Import Project="$(MsBuildThisFileDirectory)Shared\SharpGLTF.PublicKey.props"/>

<!-- Testing & Analysers =================================================================================== -->

<!-- Condition=" '$(Configuration)' == 'Debug' " -->
Expand Down Expand Up @@ -111,14 +111,7 @@
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

<!-- strong name signing -->
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DelaySign>false</DelaySign>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)Shared\SharpGLTF.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
</PropertyGroup>

<!-- Source Control =================================================================================== -->

Expand Down
12 changes: 8 additions & 4 deletions src/Shared/SharpGLTF.PublicKey.props
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<Project>

<PropertyGroup>
<!-- strong name signing -->
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">

<DelaySign>false</DelaySign>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)SharpGLTF.snk</AssemblyOriginatorKeyFile>

<StrongName_Token>6f8b67557d279fe6</StrongName_Token>

<StrongName_PublicKey>0024000004800000940000000602000000240000525341310004000001000100318e6698f4f41b26736d5881759c6afde44d17c06b63d2e383c915ca1fed6ec1b6eb2e1c38013feb2320224ace549b7701e22e6e0f7770e0d72b5c199f9e969bf2c2668c0ebeb035e539fb534d9ef24053aa9997d2d72534a6c1da8ab58e353ed6eb62ad9eb1f4a044893d7a50a226e4701d4e472a7dc1918caee6794d9c4cae</StrongName_PublicKey>

</PropertyGroup>

</Project>
7 changes: 1 addition & 6 deletions tests/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,7 @@
<IsPackable>false</IsPackable>
</PropertyGroup>

<!-- strong name signing -->
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DelaySign>false</DelaySign>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)..\src\Shared\SharpGLTF.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<Import Project="$(MsBuildThisFileDirectory)..\src\Shared\SharpGLTF.PublicKey.props"/>

<!-- Testing & Analysers =================================================================================== -->

Expand Down

0 comments on commit 1079b54

Please sign in to comment.