diff --git a/Directory.Build.props b/Directory.Build.props index ba547fbef232..63821417f071 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -27,12 +27,16 @@ $(NetPrevious)-windows $(NetCurrent)-windows + $(NetPrevious)-windows10.0.19041.0 + $(NetCurrent)-windows10.0.19041.0 + $(NetPreviousNetCoreMobile);$(NetCurrentNetCoreMobile) $(NetPrevious)-android;$(NetCurrent)-android $(NetPreviousWpf);$(NetCurrentWpf) $(NetPrevious);$(NetCurrent) $(NetPrevious);$(NetCurrent) $(NetPrevious);$(NetCurrent) + $(NetPreviousWinAppSDK);$(NetCurrentWinAppSDK) $(NetPrevious) uap10.0.19041 diff --git a/build/ci/.azure-devops-wasdk.yml b/build/ci/.azure-devops-wasdk.yml index 4ed80095eccd..453f7c953bf9 100644 --- a/build/ci/.azure-devops-wasdk.yml +++ b/build/ci/.azure-devops-wasdk.yml @@ -41,7 +41,7 @@ jobs: # --- # NOTE: The error says to specify a RuntimeIdentifier *OR* platform other than AnyCPU. # We already specify RuntimeIdentifier=win-x64 in the build below. Still, the error pops up. - msbuildArguments: /r /t:Publish /m /v:m /p:Configuration=Release /p:Platform=x64 /p:RuntimeIdentifier=win-x64 /p:BuildGraphics3DGLForWindows=true /p:GenerateAppxPackageOnBuild=true /detailedsummary /bl:$(build.artifactstagingdirectory)/build-wasdk.binlog + msbuildArguments: /r /t:Publish /m /v:m /p:Configuration=Release /p:Platform=x64 /p:RuntimeIdentifier=win-x64 /p:TargetFramework=net8.0-windows10.0.19041.0 /p:BuildGraphics3DGLForWindows=true /p:GenerateAppxPackageOnBuild=true /detailedsummary /bl:$(build.artifactstagingdirectory)/build-wasdk.binlog clean: false restoreNugetPackages: false logProjectEvents: false diff --git a/src/SamplesApp/SamplesApp.Windows/SamplesApp.Windows.csproj b/src/SamplesApp/SamplesApp.Windows/SamplesApp.Windows.csproj index d4933a2d0290..6d074258eef5 100644 --- a/src/SamplesApp/SamplesApp.Windows/SamplesApp.Windows.csproj +++ b/src/SamplesApp/SamplesApp.Windows/SamplesApp.Windows.csproj @@ -1,7 +1,7 @@  WinExe - $(NetPrevious)-windows10.0.19041.0 + $(NetWinAppSDKPreviousAndCurrent) 10.0.17763.0 SamplesApp.Windows app.manifest @@ -19,6 +19,8 @@ 10.0.19041.53 + + diff --git a/src/Uno.CrossTargetting.targets b/src/Uno.CrossTargetting.targets index 08c09d9d52a7..5ddbb2fa0ceb 100644 --- a/src/Uno.CrossTargetting.targets +++ b/src/Uno.CrossTargetting.targets @@ -102,7 +102,7 @@ 21.0 - + $(DefineConstants);HAS_UNO $(DefineConstants);HAS_UNO_WINUI @@ -111,7 +111,7 @@ WinUI - + $(DefineConstants);HAS_INPUT_INJECTOR;WINDOWS_WINUI;HAS_RENDER_TARGET_BITMAP;HAS_COMPOSITION_API