Skip to content

Commit

Permalink
Update project to .NET 9 (#959)
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacrlevin authored Dec 26, 2024
1 parent a1d01eb commit f7ae9d9
Show file tree
Hide file tree
Showing 9 changed files with 50 additions and 50 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
<Exec Command="$(NpeExecCmd)" />
<Message Text="Built ref " />
<ItemGroup>
<TheFiles Include="..\PresenceLight\bin\$(Configuration)\net8.0-windows10.0.19041\win-$(Platform)\publish\**\*.*" />
<TheFiles Include="..\PresenceLight\bin\$(Configuration)\net9.0-windows10.0.19041\win-$(Platform)\publish\**\*.*" />
<TheFiles TargetPath="PresenceLight\%(RecursiveDir)%(Filename)%(Extension)" />
<File Include="@(TheFiles)">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Expand All @@ -98,4 +98,4 @@
<_PackagingOutputsUnexpanded Include="@(BuiltRef)" OutputGroup="BuildRefsOutputGroup" ProjectName="$(ProjectName)" />
</ItemGroup>
</Target>
</Project>
</Project>
4 changes: 2 additions & 2 deletions src/DesktopClient/PresenceLight/PresenceLight.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<TargetFramework>net8.0-windows10.0.19041</TargetFramework>
<TargetFramework>net9.0-windows10.0.19041</TargetFramework>
<OutputType>WinExe</OutputType>
<AssemblyName>PresenceLight</AssemblyName>
<Title>PresenceLight</Title>
Expand All @@ -17,7 +17,7 @@
<ItemGroup>
<PackageReference Include="DesktopBridge.Helpers" Version="1.2.2" />
<PackageReference Include="Microsoft.ApplicationInsights.WorkerService" Version="2.22.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Wpf" Version="8.0.92" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Wpf" Version="9.0.21" />
<PackageReference Update="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.2" />
<PackageReference Update="Microsoft.SourceLink.GitHub" Version="8.0.0" />
<PackageReference Update="Nerdbank.GitVersioning" Version="3.6.133" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<PropertyGroup>
<PublishProtocol>FileSystem</PublishProtocol>
<Platform>ARM64</Platform>
<TargetFramework>net8.0-windows10.0.19041</TargetFramework>
<TargetFramework>net9.0-windows10.0.19041</TargetFramework>
<RuntimeIdentifier>win-arm64</RuntimeIdentifier>
<PublishDir>bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\</PublishDir>
<SelfContained>true</SelfContained>
<PublishSingleFile>False</PublishSingleFile>
<PublishReadyToRun>False</PublishReadyToRun>
<PublishTrimmed>False</PublishTrimmed>
</PropertyGroup>
</Project>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<PropertyGroup>
<PublishProtocol>FileSystem</PublishProtocol>
<Platform>x64</Platform>
<TargetFramework>net8.0-windows10.0.19041</TargetFramework>
<TargetFramework>net9.0-windows10.0.19041</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<PublishDir>bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\</PublishDir>
<SelfContained>true</SelfContained>
<PublishSingleFile>False</PublishSingleFile>
<PublishReadyToRun>False</PublishReadyToRun>
<PublishTrimmed>False</PublishTrimmed>
</PropertyGroup>
</Project>
</Project>
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PublishProtocol>FileSystem</PublishProtocol>
<Platform>x86</Platform>
<TargetFramework>net8.0-windows10.0.19041</TargetFramework>
<TargetFramework>net9.0-windows10.0.19041</TargetFramework>
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
<PublishDir>bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\</PublishDir>
<SelfContained>true</SelfContained>
<PublishSingleFile>False</PublishSingleFile>
<PublishReadyToRun>False</PublishReadyToRun>
<PublishTrimmed>False</PublishTrimmed>
</PropertyGroup>
</Project>
</Project>
40 changes: 20 additions & 20 deletions src/PresenceLight.Core/PresenceLight.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<LangVersion>latest</LangVersion>
<Nullable>annotations</Nullable>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
Expand All @@ -19,30 +19,30 @@
<ItemGroup>
<PackageReference Include="LifxCloud" Version="1.1.19" />
<PackageReference Include="MediatR" Version="12.4.1" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.2" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.2" />
<PackageReference Include="Microsoft.Graph" Version="5.61.0" />
<PackageReference Include="Microsoft.Identity.Client" Version="4.66.1" />
<PackageReference Include="Microsoft.Identity.Client.Extensions.Msal" Version="4.66.1" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.0" />
<PackageReference Include="Microsoft.Graph" Version="5.67.0" />
<PackageReference Include="Microsoft.Identity.Client" Version="4.66.2" />
<PackageReference Include="Microsoft.Identity.Client.Extensions.Msal" Version="4.66.2" />
<PackageReference Include="OpenWiz" Version="1.1.0" />
<PackageReference Include="Polly" Version="8.4.2" />
<PackageReference Include="Q42.HueApi" Version="3.23.1" />
<PackageReference Include="Q42.HueApi.ColorConverters" Version="3.23.1" />
<PackageReference Include="Serilog" Version="4.1.0" />
<PackageReference Include="Serilog.Extensions.Hosting" Version="8.0.0" />
<PackageReference Include="Polly" Version="8.5.0" />
<PackageReference Include="Q42.HueApi" Version="3.23.2" />
<PackageReference Include="Q42.HueApi.ColorConverters" Version="3.23.2" />
<PackageReference Include="Serilog" Version="4.2.0" />
<PackageReference Include="Serilog.Extensions.Hosting" Version="9.0.0" />
<PackageReference Include="Serilog.Formatting.Compact" Version="3.0.0" />
<PackageReference Include="Serilog.Settings.Configuration" Version="8.0.4" />
<PackageReference Include="Serilog.Settings.Configuration" Version="9.0.0" />
<PackageReference Include="Serilog.Sinks.ApplicationInsights" Version="4.0.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="6.0.0" />
<PackageReference Include="Serilog.Sinks.File" Version="6.0.0" />
<PackageReference Include="System.IO.Ports" Version="8.0.0" />
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="8.0.0" />
<PackageReference Include="System.Text.Json" Version="8.0.5" />
<PackageReference Include="System.IO.Ports" Version="9.0.0" />
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="9.0.0" />
<PackageReference Include="System.Text.Json" Version="9.0.0" />
<PackageReference Include="YeelightAPI" Version="1.10.2" />
</ItemGroup>

Expand Down
26 changes: 13 additions & 13 deletions src/PresenceLight.Razor/PresenceLight.Razor.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
</PropertyGroup>


Expand All @@ -11,24 +11,24 @@

<ItemGroup>
<PackageReference Include="Alexa.NET" Version="1.22.0" />
<PackageReference Include="Blazorise.Bootstrap" Version="1.6.2" />
<PackageReference Include="Blazorise.Icons.FontAwesome" Version="1.6.2" />
<PackageReference Include="Blazorise.Bootstrap" Version="1.7.1" />
<PackageReference Include="Blazorise.Icons.FontAwesome" Version="1.7.1" />
<PackageReference Include="BlazorPro.Spinkit" Version="1.2.0" />
<PackageReference Include="DesktopBridge.Helpers" Version="1.2.2" />
<PackageReference Include="IdentityModel" Version="7.0.0" />
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.22.0" />
<PackageReference Include="Microsoft.ApplicationInsights.SnapshotCollector" Version="1.4.6" />
<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="6.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="8.0.10" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.10" />
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Hosting.Systemd" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.1" />
<PackageReference Include="Microsoft.Identity.Client" Version="4.66.1" />
<PackageReference Include="Microsoft.Identity.Web" Version="3.3.0" />
<PackageReference Include="Microsoft.Identity.Web.MicrosoftGraph" Version="3.3.0" />
<PackageReference Include="Microsoft.Identity.Web.UI" Version="3.3.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="9.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting.Systemd" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.0" />
<PackageReference Include="Microsoft.Identity.Client" Version="4.66.2" />
<PackageReference Include="Microsoft.Identity.Web" Version="3.5.0" />
<PackageReference Include="Microsoft.Identity.Web.MicrosoftGraph" Version="3.5.0" />
<PackageReference Include="Microsoft.Identity.Web.UI" Version="3.5.0" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" />
<PackageReference Include="MudBlazor" Version="7.15.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
Expand Down
10 changes: 5 additions & 5 deletions src/PresenceLight.Web/PresenceLight.Web.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<LangVersion>latest</LangVersion>
<AssemblyName>PresenceLight</AssemblyName>
<ImplicitUsings>enable</ImplicitUsings>
Expand All @@ -23,10 +23,10 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.10" NoWarn="NU1605" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="8.0.10" NoWarn="NU1605" />
<PackageReference Include="Microsoft.Identity.Web" Version="3.3.0" />
<PackageReference Include="Microsoft.Identity.Web.UI" Version="3.3.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="9.0.0" NoWarn="NU1605" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="9.0.0" NoWarn="NU1605" />
<PackageReference Include="Microsoft.Identity.Web" Version="3.5.0" />
<PackageReference Include="Microsoft.Identity.Web.UI" Version="3.5.0" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.8",
"version": "5.9",
"publicReleaseRefSpec": [
"^refs/heads/main$",
"^refs/heads/develop$",
Expand Down

0 comments on commit f7ae9d9

Please sign in to comment.