Skip to content

Commit

Permalink
Remove direct references and use reference assemblies for .net 4.x (#737
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ChrisPulman authored Aug 4, 2021
1 parent 3498167 commit fa96d1e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/Splat.Drawing/Splat.Drawing.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<Nullable>enable</Nullable>
</PropertyGroup>

<PropertyGroup Condition=" ($(TargetFramework.StartsWith('netcoreapp3')) or $(TargetFramework.StartsWith('net5'))) and '$(OS)' == 'Windows_NT' ">
<PropertyGroup Condition=" ($(TargetFramework.StartsWith('netcoreapp3')) or $(TargetFramework.StartsWith('net5')) or $(TargetFramework.StartsWith('net4'))) and '$(OS)' == 'Windows_NT' ">
<UseWPF>true</UseWPF>
<UseWindowsForms>true</UseWindowsForms>
</PropertyGroup>
Expand All @@ -38,15 +38,10 @@

<ItemGroup Condition=" $(TargetFramework.StartsWith('net4')) ">
<Compile Include="Platforms\net4\**\*.cs" />

<Compile Include="Platforms\TypeForwardedSystemDrawing.cs" />
<Compile Include="Platforms\ReflectionStubs.cs" />

<PackageReference Include="System.Drawing.Primitives" Version="4.3.0" />
<Reference Include="WindowsBase" />
<Reference Include="System.Xaml" />
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
</ItemGroup>

<ItemGroup Condition=" $(TargetFramework.StartsWith('net46')) ">
Expand Down

0 comments on commit fa96d1e

Please sign in to comment.