Skip to content

Commit

Permalink
Samples: Adapt some more file to use net9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jbe2277 authored Nov 9, 2024
1 parent 168d72e commit 9144514
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0-android;net8.0-ios</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
<TargetFrameworks>net9.0-android;net9.0-ios</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net9.0-windows10.0.19041.0</TargetFrameworks>
<OutputType>Exe</OutputType>
<RootNamespace>Waf.NewsReader.MauiSystem</RootNamespace>
<UseMaui>true</UseMaui>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0;net8.0-android;net8.0-ios</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
<TargetFrameworks>net9.0;net9.0-android;net9.0-ios</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net9.0-windows10.0.19041.0</TargetFrameworks>
<RootNamespace>Waf.NewsReader.Presentation</RootNamespace>
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
Expand All @@ -19,7 +19,7 @@
<PackageReference Include="Microsoft.Graph" Version="5.58.0" />
<PackageReference Include="Microsoft.Identity.Client" Version="4.64.1" />
<PackageReference Include="Microsoft.Identity.Client.Extensions.Msal" Version="4.64.1" />
<PackageReference Include="System.ServiceModel.Syndication" Version="8.0.0" />
<PackageReference Include="System.ServiceModel.Syndication" Version="9.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Samples.UITest/BookLibrary.Test/UITest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace UITest.BookLibrary;

public abstract class UITest(ITestOutputHelper log) : UITestBase(log, "BookLibrary.exe",
Environment.GetEnvironmentVariable("UITestExePath") ?? "out/BookLibrary/Release/net8.0-windows/",
Environment.GetEnvironmentVariable("UITestExePath") ?? "out/BookLibrary/Release/net9.0-windows/",
Environment.GetEnvironmentVariable("UITestOutputPath") ?? "out/Samples.UITest/BookLibrary/")
{
public Application Launch(LaunchArguments? arguments = null, bool resetSettings = true, bool resetDatabase = true)
Expand Down
2 changes: 1 addition & 1 deletion src/Samples.UITest/InformationManager.Test/UITest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace UITest.InformationManager;

public abstract class UITest(ITestOutputHelper log) : UITestBase(log, "InformationManager.exe",
Environment.GetEnvironmentVariable("UITestExePath") ?? "out/InformationManager/Release/net8.0-windows/",
Environment.GetEnvironmentVariable("UITestExePath") ?? "out/InformationManager/Release/net9.0-windows/",
Environment.GetEnvironmentVariable("UITestOutputPath") ?? "out/Samples.UITest/InformationManager/")
{
public Application Launch(LaunchArguments? arguments = null, bool resetSettings = true, bool resetContainer = true)
Expand Down
2 changes: 1 addition & 1 deletion src/Samples.UITest/Writer.Test/UITest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace UITest.Writer;

public abstract class UITest(ITestOutputHelper log) : UITestBase(log, "Writer.exe",
Environment.GetEnvironmentVariable("UITestExePath") ?? "out/Writer/Release/net8.0-windows/",
Environment.GetEnvironmentVariable("UITestExePath") ?? "out/Writer/Release/net9.0-windows/",
Environment.GetEnvironmentVariable("UITestOutputPath") ?? "out/Samples.UITest/Writer/")
{
public Application Launch(LaunchArguments? arguments = null, bool resetSettings = true)
Expand Down

0 comments on commit 9144514

Please sign in to comment.