Skip to content

Commit

Permalink
add build.props
Browse files Browse the repository at this point in the history
  • Loading branch information
michal-paukert-tfs committed Aug 3, 2023
1 parent 5d5654f commit c45dd3e
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 8 deletions.
Binary file added SystemWrapper.snk
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<Version>1.0.0.2</Version>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<FileVersion>1.0.0.0</FileVersion>
<Nullable>enable</Nullable>
</PropertyGroup>
<Import Project="../../build.props" />
<ItemGroup>
<PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" />
</ItemGroup>
Expand Down
28 changes: 28 additions & 0 deletions build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<Project>

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<Configurations>Debug;Release</Configurations>
</PropertyGroup>
<Project>
<!-- Code quality -->
<PropertyGroup>
<Nullable>enable</Nullable>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
</PropertyGroup>

<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<Version>1.0.0.3</Version>
<AssemblyVersion>1.0.0.3</AssemblyVersion>
<FileVersion>1.0.0.3</FileVersion>
<Nullable>enable</Nullable>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<!-- Strong Signing assemblies in Release configuration -->
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)SystemWrapper.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

</Project>

0 comments on commit c45dd3e

Please sign in to comment.