Skip to content

Commit

Permalink
Added back netcoreapp3.0 TFM and fixed various .NET Framework TFM
Browse files Browse the repository at this point in the history
  • Loading branch information
mgnslndh committed Dec 29, 2020
1 parent a00783b commit 945a659
Show file tree
Hide file tree
Showing 14 changed files with 34 additions and 22 deletions.
4 changes: 2 additions & 2 deletions source/AutomationTest/AvalonDockTest/AvalonDockTest.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">

<PropertyGroup>
<TargetFrameworks>net5.0-windows;net452</TargetFrameworks>
<TargetFrameworks>netcoreapp3.0;net5.0-windows;net452</TargetFrameworks>
<ProjectGuid>{FE4E16A2-876A-4356-9974-8A89C50B2A5A}</ProjectGuid>
<RootNamespace>AvalonDockTest</RootNamespace>
<AssemblyName>AvalonDockTest</AssemblyName>
Expand Down
4 changes: 2 additions & 2 deletions source/CaliburnDockTestApp/CaliburnDockTestApp.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFrameworks>net5.0-windows;net4.5.2</TargetFrameworks>
<TargetFrameworks>netcoreapp3.0;net5.0-windows;net452</TargetFrameworks>
<UseWPF>true</UseWPF>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<RootNamespace>AvalonDock.Themes</RootNamespace>
<TargetFrameworks>net5.0-windows;net4</TargetFrameworks>
<TargetFrameworks>netcoreapp3.0;net5.0-windows;net40</TargetFrameworks>
<UseWPF>true</UseWPF>
<AssemblyOriginatorKeyFile>sn.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<RootNamespace>AvalonDock.Themes</RootNamespace>
<TargetFrameworks>net5.0-windows;net4</TargetFrameworks>
<TargetFrameworks>netcoreapp3.0;net5.0-windows;net40</TargetFrameworks>
<UseWPF>true</UseWPF>
<AssemblyOriginatorKeyFile>sn.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<RootNamespace>AvalonDock.Themes</RootNamespace>
<TargetFrameworks>net5.0-windows;net4</TargetFrameworks>
<TargetFrameworks>netcoreapp3.0;net5.0-windows;net40</TargetFrameworks>
<UseWPF>true</UseWPF>
<AssemblyOriginatorKeyFile>sn.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
Expand All @@ -19,7 +19,7 @@
<Authors>https://github.com/Dirkster99/AvalonDock</Authors>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
</PropertyGroup>

<ItemGroup>
<Resource Include="**\*.png" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<RootNamespace>AvalonDock.Themes</RootNamespace>
<TargetFrameworks>net5.0-windows;net4</TargetFrameworks>
<TargetFrameworks>netcoreapp3.0;net5.0-windows;net40</TargetFrameworks>
<UseWPF>true</UseWPF>
<AssemblyOriginatorKeyFile>sn.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<RootNamespace>AvalonDock.Themes</RootNamespace>
<TargetFrameworks>net5.0-windows;net4</TargetFrameworks>
<TargetFrameworks>netcoreapp3.0;net5.0-windows;net40</TargetFrameworks>
<UseWPF>true</UseWPF>
<AssemblyOriginatorKeyFile>sn.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
Expand Down
2 changes: 1 addition & 1 deletion source/Components/AvalonDock/AvalonDock.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<RootNamespace>AvalonDock</RootNamespace>
<TargetFrameworks>net5.0-windows;net4</TargetFrameworks>
<TargetFrameworks>netcoreapp3.0;net5.0-windows;net40</TargetFrameworks>
<UseWPF>true</UseWPF>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>sn.snk</AssemblyOriginatorKeyFile>
Expand Down
8 changes: 7 additions & 1 deletion source/MLibTest/MLibTest/MLibTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFrameworks>net5.0-windows;net4.5.2</TargetFrameworks>
<TargetFrameworks>netcoreapp3.0;net5.0-windows;net452</TargetFrameworks>
<UseWPF>true</UseWPF>
</PropertyGroup>

Expand All @@ -21,6 +21,12 @@
</PackageReference>
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'">
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf">
<Version>1.1.19</Version>
</PackageReference>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Dirkster.ColorPickerLib" Version="1.6.0" />
<PackageReference Include="Dirkster.MLib" Version="1.3.1.2" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net5.0;net4.5</TargetFrameworks>
<TargetFrameworks>netcoreapp3.0;net5.0;net45</TargetFrameworks>
</PropertyGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net5.0;net4.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net40</TargetFrameworks>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
Expand All @@ -10,7 +10,13 @@
</PackageReference>
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net4.0'">
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="System.Security.Cryptography.ProtectedData">
<Version>4.6.0</Version>
</PackageReference>
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net40'">
<Reference Include="System.Security"/>
</ItemGroup>

Expand Down
4 changes: 2 additions & 2 deletions source/MVVMTestApp/MVVMTestApp.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFrameworks>net5.0-windows;net4</TargetFrameworks>
<TargetFrameworks>netcoreapp3.0;net5.0-windows;net40</TargetFrameworks>
<UseWPF>true</UseWPF>
</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions source/TestApp/TestApp.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<RootNamespace>TestApp</RootNamespace>
<TargetFrameworks>net5.0-windows;net40</TargetFrameworks>
<TargetFrameworks>netcoreapp3.0;net5.0-windows;net40</TargetFrameworks>
<UseWPF>true</UseWPF>
<UseWindowsForms>true</UseWindowsForms>
<ApplicationIcon />
Expand Down
2 changes: 1 addition & 1 deletion source/WinFormsTestApp/WinFormsTestApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFrameworks>net5.0-windows;net4.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.0;net5.0-windows;net40</TargetFrameworks>
<UseWindowsForms>true</UseWindowsForms>
<UseWPF>true</UseWPF>
<StartupObject>AvalonDock.WinFormsTestApp.Program</StartupObject>
Expand Down

0 comments on commit 945a659

Please sign in to comment.