Remove strong name signing

pull/514/head
NextTurn 2019-02-15 00:00:00 +08:00 committed by Next Turn
parent aa24545178
commit ea6cb8062a
7 changed files with 2 additions and 11 deletions

3
.gitignore vendored
View File

@ -239,8 +239,7 @@ orleans.codegen.cs
# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
*.snk
*.pfx
#*.snk
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)

View File

@ -2,7 +2,6 @@
<PropertyGroup>
<DebugType>full</DebugType>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)winsw_key.snk</AssemblyOriginatorKeyFile>
<ArtifactsDir>$(MSBuildThisFileDirectory)artifacts\</ArtifactsDir>
</PropertyGroup>

View File

@ -1,3 +0,0 @@
$files = Get-ChildItem -Path 'C:\Program Files (x86)\Microsoft SDKs\Windows\' -Filter 'sn.exe' -Recurse | Select-Object -Property FullName
$files
& $files[0].FullName -k winsw_key.snk

View File

@ -13,7 +13,6 @@
<Copyright>Copyright 2008-2016 Oleg Nenashev, CloudBees, Inc. and other contributors</Copyright>
<RootNamespace>winsw</RootNamespace>
<AssemblyName>WindowsService</AssemblyName>
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<ItemGroup>
@ -101,7 +100,7 @@
<PropertyGroup>
<ILMerge>$(NuGetPackageRoot)ilmerge\3.0.29\tools\net452\ILMerge.exe</ILMerge>
<ILMergeArgs>/keyfile:"$(AssemblyOriginatorKeyFile)" /targetplatform:$(TargetPlatform) /out:$(OutputAssembly) $(InputAssemblies)</ILMergeArgs>
<ILMergeArgs>/targetplatform:$(TargetPlatform) /out:$(OutputAssembly) $(InputAssemblies)</ILMergeArgs>
<ILMergeCommand>"$(ILMerge)" $(ILMergeArgs)</ILMergeCommand>
</PropertyGroup>

View File

@ -6,7 +6,6 @@
<Nullable>enable</Nullable>
<RootNamespace>winsw</RootNamespace>
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<ItemGroup>

View File

@ -7,7 +7,6 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<RootNamespace>winsw.Plugins.RunawayProcessKiller</RootNamespace>
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<ItemGroup>

View File

@ -6,7 +6,6 @@
<Nullable>enable</Nullable>
<RootNamespace>winsw.Plugins.SharedDirectoryMapper</RootNamespace>
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<ItemGroup>