Skip to content

Commit

Permalink
Merge pull request #137 from space-wizards/20-02-15-multi-target-project
Browse files Browse the repository at this point in the history
Improve multi-target csproj.
  • Loading branch information
lidgren authored Feb 15, 2020
2 parents 2df564e + e77fa44 commit 3ab2d8d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Lidgren.Network.MultiTarget/Lidgren.Network.MultiTarget.csproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net40;net45;net46;net461;net462;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net45;net46;net461;net462;netstandard2.0</TargetFrameworks>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>

<ItemGroup>
<Compile Include="..\Lidgren.Network\Properties\AssemblyInfo.cs" Link="Properties\AssemblyInfo.cs" />
<Compile Include="..\Lidgren.Network\Encryption\NetAESEncryption.cs" Link="Encryption\NetAESEncryption.cs" />
<Compile Include="..\Lidgren.Network\Encryption\NetBlockEncryptionBase.cs" Link="Encryption\NetBlockEncryptionBase.cs" />
<Compile Include="..\Lidgren.Network\Encryption\NetCryptoProviderBase.cs" Link="Encryption\NetCryptoProviderBase.cs" />
Expand Down Expand Up @@ -82,4 +84,11 @@
<Folder Include="Platform\" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>

</Project>

0 comments on commit 3ab2d8d

Please sign in to comment.