Skip to content

GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.

chore(all): upgrade to .NET 5 via upgrade assistant

Larsc5119cf10f3e
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 67d52566..ea57785e 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -10,7 +10,7 @@
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
- "program": "${workspaceFolder}/LarsWM.Bootstrapper/bin/Debug/netcoreapp3.1/LarsWM.Bootstrapper.dll",
+ "program": "${workspaceFolder}/LarsWM.Bootstrapper/bin/Debug/net5.0-windows/LarsWM.Bootstrapper.dll",
"args": [],
"cwd": "${workspaceFolder}/LarsWM.Bootstrapper",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
diff --git a/LarsWM.Bar/LarsWM.Bar.csproj b/LarsWM.Bar/LarsWM.Bar.csproj
index 2ba04dc7..9cf0a714 100644
--- a/LarsWM.Bar/LarsWM.Bar.csproj
+++ b/LarsWM.Bar/LarsWM.Bar.csproj
@@ -1,14 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
-
<PropertyGroup>
<OutputType>WinExe</OutputType>
- <TargetFramework>netcoreapp3.1</TargetFramework>
+ <TargetFramework>net5.0-windows</TargetFramework>
<UseWPF>true</UseWPF>
</PropertyGroup>
-
<ItemGroup>
<ProjectReference Include="..\LarsWM.Domain\LarsWM.Domain.csproj" />
<ProjectReference Include="..\LarsWM.Infrastructure\LarsWM.Infrastructure.csproj" />
</ItemGroup>
-
-</Project>
+ <ItemGroup>
+ <PackageReference Include="Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers" Version="0.2.237901">
+ <PrivateAssets>all</PrivateAssets>
+ </PackageReference>
+ </ItemGroup>
+</Project>
\ No newline at end of file
diff --git a/LarsWM.Bootstrapper/LarsWM.Bootstrapper.csproj b/LarsWM.Bootstrapper/LarsWM.Bootstrapper.csproj
index 0916c06a..46d48fb1 100644
--- a/LarsWM.Bootstrapper/LarsWM.Bootstrapper.csproj
+++ b/LarsWM.Bootstrapper/LarsWM.Bootstrapper.csproj
@@ -1,15 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
-
<PropertyGroup>
<OutputType>WinExe</OutputType>
- <TargetFramework>netcoreapp3.1</TargetFramework>
+ <TargetFramework>net5.0-windows</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
</PropertyGroup>
-
<ItemGroup>
<ProjectReference Include="..\LarsWM.Bar\LarsWM.Bar.csproj" />
<ProjectReference Include="..\LarsWM.Domain\LarsWM.Domain.csproj" />
<ProjectReference Include="..\LarsWM.Infrastructure\LarsWM.Infrastructure.csproj" />
</ItemGroup>
-
-</Project>
+ <ItemGroup>
+ <PackageReference Include="Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers" Version="0.2.237901">
+ <PrivateAssets>all</PrivateAssets>
+ </PackageReference>
+ </ItemGroup>
+</Project>
\ No newline at end of file
diff --git a/LarsWM.Domain/LarsWM.Domain.csproj b/LarsWM.Domain/LarsWM.Domain.csproj
index 29dcfa1a..8d996f2a 100644
--- a/LarsWM.Domain/LarsWM.Domain.csproj
+++ b/LarsWM.Domain/LarsWM.Domain.csproj
@@ -1,38 +1,27 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
-
<PropertyGroup>
<OutputType>Library</OutputType>
- <TargetFramework>netcoreapp3.1</TargetFramework>
+ <TargetFramework>net5.0-windows</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
<ApplicationIcon />
<StartupObject />
</PropertyGroup>
-
<ItemGroup>
- <PackageReference
- Include="Microsoft.Extensions.DependencyInjection"
- Version="3.1.1" />
- <PackageReference
- Include="System.Reactive"
- Version="4.3.2" />
- <PackageReference
- Include="YamlDotNet"
- Version="8.1.0" />
+ <PackageReference Include="YamlDotNet" Version="8.1.0" />
+ <PackageReference Include="Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers" Version="0.2.237901">
+ <PrivateAssets>all</PrivateAssets>
+ </PackageReference>
</ItemGroup>
-
<ItemGroup>
<Folder Include="Workspaces\Events\" />
<Folder Include="Workspaces\EventHandlers\" />
</ItemGroup>
-
<ItemGroup>
<ProjectReference Include="..\LarsWM.Infrastructure\LarsWM.Infrastructure.csproj" />
</ItemGroup>
-
<ItemGroup>
<None Update="UserConfigs\SampleUserConfig.yaml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
-
-</Project>
+</Project>
\ No newline at end of file
diff --git a/LarsWM.Infrastructure/LarsWM.Infrastructure.csproj b/LarsWM.Infrastructure/LarsWM.Infrastructure.csproj
index 2b6cae56..eaf24a59 100644
--- a/LarsWM.Infrastructure/LarsWM.Infrastructure.csproj
+++ b/LarsWM.Infrastructure/LarsWM.Infrastructure.csproj
@@ -1,17 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
-
<PropertyGroup>
- <TargetFramework>netcoreapp3.1</TargetFramework>
+ <TargetFramework>net5.0-windows</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
</PropertyGroup>
-
<ItemGroup>
- <PackageReference
- Include="Microsoft.Extensions.DependencyInjection"
- Version="3.1.1" />
- <PackageReference
- Include="System.Reactive"
- Version="4.3.2" />
+ <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="3.1.1" />
+ <PackageReference Include="System.Reactive" Version="4.3.2" />
+ <PackageReference Include="Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers" Version="0.2.237901">
+ <PrivateAssets>all</PrivateAssets>
+ </PackageReference>
+ <PackageReference Include="Microsoft.Windows.Compatibility" Version="5.0.2" />
</ItemGroup>
-
-</Project>
+</Project>
\ No newline at end of file