Skip to content

Commit

Permalink
Strong name sign assembly (#37)
Browse files Browse the repository at this point in the history
Strong name sign assembly.
Also upgrade test project to net6.0.
  • Loading branch information
goelhardik authored Jun 20, 2023
1 parent fbe1d33 commit bfe72a7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
<LangVersion>8.0</LangVersion>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)/ignore.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>

<!-- Prevent NerdBank from loading in mono (which omnisharp uses on linux) /-->
<GenerateAssemblyVersionInfo Condition="'$(MSBuildRuntimeType)'=='Mono'">false</GenerateAssemblyVersionInfo>
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:5.0 AS builder
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS builder

COPY . /app/

Expand Down
Binary file added ignore.snk
Binary file not shown.
2 changes: 1 addition & 1 deletion src/Ignore.Tests/Ignore.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>

<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down

0 comments on commit bfe72a7

Please sign in to comment.