Skip to content

Commit 73c8ac2

Browse files
committed
Added signing to assemblies.
1 parent b56458b commit 73c8ac2

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

res/signing/key.snk

596 Bytes
Binary file not shown.

src/Analyzers/Analyzers.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,12 @@
3030
<PackageProjectUrl>https://github.com/oliverhanappi/ManualMappingGuard</PackageProjectUrl>
3131
<RepositoryType>git</RepositoryType>
3232
<RepositoryUrl>https://github.com/oliverhanappi/ManualMappingGuard.git</RepositoryUrl>
33+
<PackageTags>mapping;roslyn-analyzers</PackageTags>
3334
</PropertyGroup>
3435

3536
<ItemGroup>
36-
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
37-
<None Include="$(OutputPath)\ManualMappingGuard.dll" Pack="true" PackagePath="lib/netstandard2.0" Visible="false" />
37+
<None Include="$(OutputPath)$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
38+
<None Include="$(OutputPath)ManualMappingGuard.dll" Pack="true" PackagePath="lib/netstandard2.0" Visible="false" />
3839
</ItemGroup>
3940

4041
</Project>

src/Common.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@
33
<LangVersion>8</LangVersion>
44
<Nullable>enable</Nullable>
55
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
6+
7+
<SignAssembly>true</SignAssembly>
8+
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)..\res\signing\key.snk</AssemblyOriginatorKeyFile>
69
</PropertyGroup>
710
</Project>

0 commit comments

Comments
 (0)