Skip to content

Commit

Permalink
Update more project targets to net9
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanfish committed Sep 5, 2024
1 parent d514ab7 commit 700d04c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion NAPS2.App.Tests/NAPS2.App.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('Windows'))">net9-windows</TargetFrameworks>
<TargetFrameworks Condition="!$([MSBuild]::IsOSPlatform('Windows'))">net8</TargetFrameworks>
<TargetFrameworks Condition="!$([MSBuild]::IsOSPlatform('Windows'))">net9</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
<Configurations>Debug;Release;DebugLang</Configurations>
Expand Down
2 changes: 1 addition & 1 deletion NAPS2.Lib.Tests/NAPS2.Lib.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('Windows'))">net9-windows</TargetFrameworks>
<TargetFrameworks Condition="!$([MSBuild]::IsOSPlatform('Windows'))">net8</TargetFrameworks>
<TargetFrameworks Condition="!$([MSBuild]::IsOSPlatform('Windows'))">net9</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<RootNamespace>NAPS2.Lib.Tests</RootNamespace>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion NAPS2.Sdk.ScannerTests/NAPS2.Sdk.ScannerTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('Windows'))">net9-windows</TargetFrameworks>
<TargetFrameworks Condition="!$([MSBuild]::IsOSPlatform('Windows'))">net8</TargetFrameworks>
<TargetFrameworks Condition="!$([MSBuild]::IsOSPlatform('Windows'))">net9</TargetFrameworks>
<RootNamespace>NAPS2.Sdk.ScannerTests</RootNamespace>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion NAPS2.Sdk.Tests/NAPS2.Sdk.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('Windows'))">net9-windows</TargetFrameworks>
<TargetFrameworks Condition="!$([MSBuild]::IsOSPlatform('Windows'))">net8</TargetFrameworks>
<TargetFrameworks Condition="!$([MSBuild]::IsOSPlatform('Windows'))">net9</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources>

Expand Down
2 changes: 1 addition & 1 deletion NAPS2.Sdk.Worker/NAPS2.Sdk.Worker.Build.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8</TargetFramework>
<TargetFramework>net9</TargetFramework>
<OutputType>WinExe</OutputType>
<LargeAddressAware>true</LargeAddressAware>
<RootNamespace>NAPS2.Sdk.Worker</RootNamespace>
Expand Down
2 changes: 1 addition & 1 deletion NAPS2.Sdk.Worker/NAPS2.Sdk.Worker.Win32.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<ItemGroup>
<Compile Remove="*.*" />
<Content Include="NAPS2.Sdk.Worker.Win32.targets" PackagePath="build/NAPS2.Sdk.Worker.Win32.targets" />
<None Include="bin\Release\net8\win-x86\publish\NAPS2.Worker.exe">
<None Include="bin\Release\net9\win-x86\publish\NAPS2.Worker.exe">
<Link>lib/NAPS2.Worker.exe</Link>
<Pack>true</Pack>
<PackageCopyToOutput>true</PackageCopyToOutput>
Expand Down

0 comments on commit 700d04c

Please sign in to comment.