Skip to content

Commit

Permalink
Enable assembly signing (#10)
Browse files Browse the repository at this point in the history
The keyfile is intentionally included based on Microsoft's advice:

> If you are an open-source developer and you want the identity benefits of a
> strong-named assembly, consider checking in the private key associated with
> an assembly into your source control system.
  • Loading branch information
22222 committed Sep 1, 2019
1 parent 6e25921 commit d35617c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
5 changes: 2 additions & 3 deletions CsvTextFieldParser/CsvTextFieldParser.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<CodeAnalysisRuleSet>CodeAnalysis.ruleset</CodeAnalysisRuleSet>
<Version>0.0.0</Version>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<FileVersion>0.0.0.0</FileVersion>
<LangVersion>6</LangVersion>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>keyfile.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<AdditionalFiles Include="stylecop.json" />
Expand Down
Binary file added CsvTextFieldParser/keyfile.snk
Binary file not shown.
Binary file modified Directory.Build.props
Binary file not shown.
9 changes: 1 addition & 8 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
version: 1.2.1
skip_tags: true
image: Visual Studio 2017
image: Visual Studio 2019
configuration: Release
platform: Any CPU
dotnet_csproj:
patch: true
file: CsvTextFieldParser\CsvTextFieldParser.csproj
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
before_build:
- cmd: nuget restore
build:
Expand Down

0 comments on commit d35617c

Please sign in to comment.