diff --git a/eng/Versions.props b/eng/Versions.props index e66d132e4f0..5e70877529e 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -21,7 +21,7 @@ - 10.0.0-alpha.1.24529.3 + 10.0.0-alpha.1.24531.1 <_WinFormsTargetFrameworkVersion>net9.0 @@ -40,11 +40,11 @@ 10.0.0-alpha.1.24528.7 10.0.0-alpha.1.24528.7 4.6.0-preview4.19176.11 - 10.0.0-alpha.1.24528.7 - 10.0.0-alpha.1.24528.7 - 10.0.0-alpha.1.24528.7 - 10.0.0-alpha.1.24528.7 - 10.0.0-alpha.1.24528.7 + 10.0.0-alpha.1.24530.5 + 10.0.0-alpha.1.24530.5 + 10.0.0-alpha.1.24530.5 + 10.0.0-alpha.1.24530.5 + 10.0.0-alpha.1.24530.5 6.0.0 diff --git a/eng/WpfArcadeSdk/tools/RuntimeFrameworkReference.targets b/eng/WpfArcadeSdk/tools/RuntimeFrameworkReference.targets index 95cb707750b..0e6881c8a5c 100644 --- a/eng/WpfArcadeSdk/tools/RuntimeFrameworkReference.targets +++ b/eng/WpfArcadeSdk/tools/RuntimeFrameworkReference.targets @@ -3,6 +3,15 @@ Explicitly import Microsoft.NETCore.Platforms to prevent using the one from the SDK, which usually lags behind the version that WPF gets from CoreFx packages --> + + + $(MicrosoftNETCoreAppRefVersion) + + + - $(MicrosoftNETCoreAppRefVersion) + Condition="'$(UpdatedTargetingPackVersion)'!=''"> + $(UpdatedTargetingPackVersion) - - - + diff --git a/src/Microsoft.DotNet.Wpf/tests/UnitTests/Directory.Build.targets b/src/Microsoft.DotNet.Wpf/tests/UnitTests/Directory.Build.targets index 304c1f4816f..bb8c3fe7390 100644 --- a/src/Microsoft.DotNet.Wpf/tests/UnitTests/Directory.Build.targets +++ b/src/Microsoft.DotNet.Wpf/tests/UnitTests/Directory.Build.targets @@ -41,10 +41,18 @@ --> + + + + <_targetPackVersion Condition="'$(UpdatedTargetingPackVersion)' != ''">$([System.Text.RegularExpressions.Regex]::Match($(UpdatedTargetingPackVersion), '^(\d+)\.(\d+)').Value) + <_targetFrameworkIdentifier>$([MSBuild]::GetTargetFrameworkIdentifier($(TargetFramework))) <_targetFrameworkIdentifier Condition="'$(_targetFrameworkIdentifier)' == '.NETCoreApp'">net - <_targetFrameworkVersion>$([MSBuild]::GetTargetFrameworkVersion($(TargetFramework))) + <_targetFrameworkVersion Condition="'$(_targetPackVersion)' != ''">$(_targetPackVersion) + <_targetFrameworkVersion Condition="'$(_targetFrameworkVersion)' == ''">$([MSBuild]::GetTargetFrameworkVersion($(TargetFramework))) <_targetFrameworkRoot>$(_targetFrameworkIdentifier)$(_targetFrameworkVersion) diff --git a/src/Microsoft.DotNet.Wpf/tests/UnitTests/WindowsBase.Tests/WindowsBase.Tests.csproj b/src/Microsoft.DotNet.Wpf/tests/UnitTests/WindowsBase.Tests/WindowsBase.Tests.csproj index 00085ae7405..16241a1d5b0 100644 --- a/src/Microsoft.DotNet.Wpf/tests/UnitTests/WindowsBase.Tests/WindowsBase.Tests.csproj +++ b/src/Microsoft.DotNet.Wpf/tests/UnitTests/WindowsBase.Tests/WindowsBase.Tests.csproj @@ -4,7 +4,7 @@ enable x64;x86;ARM64 - net10.0-windows + $(TargetFramework)-windows