Skip to content

Commit ed5fa65

Browse files
committed
fix: revert Tests TFM to net8.0, fix WPF temp project ref resolution
- Revert Tests TFM back to net8.0 (test project references net8.0-windows Core library just fine, and this restores xunit implicit usings) - Add IncludePackageReferencesDuringMarkupCompilation to App csproj to ensure NuGet/ProjectReference types resolve in WPF _wpftmp project
1 parent 20c2367 commit ed5fa65

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

win/OneMenu.App/OneMenu.App.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<OutputType>WinExe</OutputType>
55
<TargetFramework>net8.0-windows</TargetFramework>
66
<UseWPF>true</UseWPF>
7+
<IncludePackageReferencesDuringMarkupCompilation>true</IncludePackageReferencesDuringMarkupCompilation>
78
<ImplicitUsings>enable</ImplicitUsings>
89
<Nullable>enable</Nullable>
910
<RootNamespace>OneMenu.App</RootNamespace>

win/OneMenu.Tests/OneMenu.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0-windows</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<IsTestProject>true</IsTestProject>

0 commit comments

Comments
 (0)