diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 6015c619..3638c724 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -334,12 +334,12 @@ jobs: msbuild samples\ComputeSharp.SwapChain.WinUI\ComputeSharp.SwapChain.WinUI.csproj /restore -t:publish /p:Configuration=Release /p:Platform=${{matrix.platform}} /p:RuntimeIdentifier=win-${{matrix.platform}} - # Publish the UWP CoreWindow sample app with NativeAOT + # Publish the D2D1 UWP (CoreApplication) sample app with NativeAOT - if: matrix.platform == 'x64' - name: Publish ComputeSharp.SwapChain.D2D1.CoreWindow + name: Publish ComputeSharp.SwapChain.D2D1.Uwp run: > - msbuild samples\ComputeSharp.SwapChain.D2D1.CoreWindow\ComputeSharp.SwapChain.D2D1.CoreWindow.csproj /restore - -t:publish /p:Configuration=Release /p:Platform=${{matrix.platform}} /p:RuntimeIdentifier=win-${{matrix.platform}} + msbuild samples\ComputeSharp.SwapChain.D2D1.Uwp\ComputeSharp.SwapChain.D2D1.Uwp.csproj /restore -t:publish + /p:Configuration=Release /p:Platform=${{matrix.platform}} /p:RuntimeIdentifier=win-${{matrix.platform}} # Download the NuGet packages generated in the previous job and use them # to build and run the sample project referencing them. This is used as diff --git a/ComputeSharp.sln b/ComputeSharp.sln index 4239da81..ecce3d87 100644 --- a/ComputeSharp.sln +++ b/ComputeSharp.sln @@ -176,7 +176,7 @@ Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ComputeSharp.D2D1.UI", "src EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.D2D1.Uwp", "src\ComputeSharp.D2D1.Uwp\ComputeSharp.D2D1.Uwp.csproj", "{716DF19E-69BA-4A9C-9CA4-BFD196152F46}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.SwapChain.D2D1.CoreWindow", "samples\ComputeSharp.SwapChain.D2D1.CoreWindow\ComputeSharp.SwapChain.D2D1.CoreWindow.csproj", "{9FBE070E-A210-4CEF-9F04-61C2B269C600}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.SwapChain.D2D1.Uwp", "samples\ComputeSharp.SwapChain.D2D1.Uwp\ComputeSharp.SwapChain.D2D1.Uwp.csproj", "{9FBE070E-A210-4CEF-9F04-61C2B269C600}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/samples/ComputeSharp.SwapChain.D2D1.CoreWindow/App.cs b/samples/ComputeSharp.SwapChain.D2D1.Uwp/App.cs similarity index 100% rename from samples/ComputeSharp.SwapChain.D2D1.CoreWindow/App.cs rename to samples/ComputeSharp.SwapChain.D2D1.Uwp/App.cs diff --git a/samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Assets/LockScreenLogo.scale-200.png b/samples/ComputeSharp.SwapChain.D2D1.Uwp/Assets/LockScreenLogo.scale-200.png similarity index 100% rename from samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Assets/LockScreenLogo.scale-200.png rename to samples/ComputeSharp.SwapChain.D2D1.Uwp/Assets/LockScreenLogo.scale-200.png diff --git a/samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Assets/SplashScreen.scale-200.png b/samples/ComputeSharp.SwapChain.D2D1.Uwp/Assets/SplashScreen.scale-200.png similarity index 100% rename from samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Assets/SplashScreen.scale-200.png rename to samples/ComputeSharp.SwapChain.D2D1.Uwp/Assets/SplashScreen.scale-200.png diff --git a/samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Assets/Square150x150Logo.scale-200.png b/samples/ComputeSharp.SwapChain.D2D1.Uwp/Assets/Square150x150Logo.scale-200.png similarity index 100% rename from samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Assets/Square150x150Logo.scale-200.png rename to samples/ComputeSharp.SwapChain.D2D1.Uwp/Assets/Square150x150Logo.scale-200.png diff --git a/samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Assets/Square44x44Logo.scale-200.png b/samples/ComputeSharp.SwapChain.D2D1.Uwp/Assets/Square44x44Logo.scale-200.png similarity index 100% rename from samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Assets/Square44x44Logo.scale-200.png rename to samples/ComputeSharp.SwapChain.D2D1.Uwp/Assets/Square44x44Logo.scale-200.png diff --git a/samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Assets/Square44x44Logo.targetsize-24_altform-unplated.png b/samples/ComputeSharp.SwapChain.D2D1.Uwp/Assets/Square44x44Logo.targetsize-24_altform-unplated.png similarity index 100% rename from samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Assets/Square44x44Logo.targetsize-24_altform-unplated.png rename to samples/ComputeSharp.SwapChain.D2D1.Uwp/Assets/Square44x44Logo.targetsize-24_altform-unplated.png diff --git a/samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Assets/StoreLogo.scale-200.png b/samples/ComputeSharp.SwapChain.D2D1.Uwp/Assets/StoreLogo.scale-200.png similarity index 100% rename from samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Assets/StoreLogo.scale-200.png rename to samples/ComputeSharp.SwapChain.D2D1.Uwp/Assets/StoreLogo.scale-200.png diff --git a/samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Assets/Wide310x150Logo.scale-200.png b/samples/ComputeSharp.SwapChain.D2D1.Uwp/Assets/Wide310x150Logo.scale-200.png similarity index 100% rename from samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Assets/Wide310x150Logo.scale-200.png rename to samples/ComputeSharp.SwapChain.D2D1.Uwp/Assets/Wide310x150Logo.scale-200.png diff --git a/samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Backend/CoreWindowApplication.cs b/samples/ComputeSharp.SwapChain.D2D1.Uwp/Backend/CoreWindowApplication.cs similarity index 100% rename from samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Backend/CoreWindowApplication.cs rename to samples/ComputeSharp.SwapChain.D2D1.Uwp/Backend/CoreWindowApplication.cs diff --git a/samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Backend/CoreWindowApplicationRunner.cs b/samples/ComputeSharp.SwapChain.D2D1.Uwp/Backend/CoreWindowApplicationRunner.cs similarity index 100% rename from samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Backend/CoreWindowApplicationRunner.cs rename to samples/ComputeSharp.SwapChain.D2D1.Uwp/Backend/CoreWindowApplicationRunner.cs diff --git a/samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Backend/PixelShaderEffect.cs b/samples/ComputeSharp.SwapChain.D2D1.Uwp/Backend/PixelShaderEffect.cs similarity index 100% rename from samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Backend/PixelShaderEffect.cs rename to samples/ComputeSharp.SwapChain.D2D1.Uwp/Backend/PixelShaderEffect.cs diff --git a/samples/ComputeSharp.SwapChain.D2D1.CoreWindow/ComputeSharp.SwapChain.D2D1.CoreWindow.csproj b/samples/ComputeSharp.SwapChain.D2D1.Uwp/ComputeSharp.SwapChain.D2D1.Uwp.csproj similarity index 100% rename from samples/ComputeSharp.SwapChain.D2D1.CoreWindow/ComputeSharp.SwapChain.D2D1.CoreWindow.csproj rename to samples/ComputeSharp.SwapChain.D2D1.Uwp/ComputeSharp.SwapChain.D2D1.Uwp.csproj diff --git a/samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Extensions/ApplicationViewTitleBarExtensions.cs b/samples/ComputeSharp.SwapChain.D2D1.Uwp/Extensions/ApplicationViewTitleBarExtensions.cs similarity index 100% rename from samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Extensions/ApplicationViewTitleBarExtensions.cs rename to samples/ComputeSharp.SwapChain.D2D1.Uwp/Extensions/ApplicationViewTitleBarExtensions.cs diff --git a/samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Package.appxmanifest b/samples/ComputeSharp.SwapChain.D2D1.Uwp/Package.appxmanifest similarity index 100% rename from samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Package.appxmanifest rename to samples/ComputeSharp.SwapChain.D2D1.Uwp/Package.appxmanifest diff --git a/samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Properties/PublishProfiles/win-arm64.pubxml b/samples/ComputeSharp.SwapChain.D2D1.Uwp/Properties/PublishProfiles/win-arm64.pubxml similarity index 100% rename from samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Properties/PublishProfiles/win-arm64.pubxml rename to samples/ComputeSharp.SwapChain.D2D1.Uwp/Properties/PublishProfiles/win-arm64.pubxml diff --git a/samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Properties/PublishProfiles/win-x64.pubxml b/samples/ComputeSharp.SwapChain.D2D1.Uwp/Properties/PublishProfiles/win-x64.pubxml similarity index 100% rename from samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Properties/PublishProfiles/win-x64.pubxml rename to samples/ComputeSharp.SwapChain.D2D1.Uwp/Properties/PublishProfiles/win-x64.pubxml diff --git a/samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Properties/PublishProfiles/win-x86.pubxml b/samples/ComputeSharp.SwapChain.D2D1.Uwp/Properties/PublishProfiles/win-x86.pubxml similarity index 100% rename from samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Properties/PublishProfiles/win-x86.pubxml rename to samples/ComputeSharp.SwapChain.D2D1.Uwp/Properties/PublishProfiles/win-x86.pubxml diff --git a/samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Properties/launchSettings.json b/samples/ComputeSharp.SwapChain.D2D1.Uwp/Properties/launchSettings.json similarity index 57% rename from samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Properties/launchSettings.json rename to samples/ComputeSharp.SwapChain.D2D1.Uwp/Properties/launchSettings.json index 48c8a361..2dcd9bf6 100644 --- a/samples/ComputeSharp.SwapChain.D2D1.CoreWindow/Properties/launchSettings.json +++ b/samples/ComputeSharp.SwapChain.D2D1.Uwp/Properties/launchSettings.json @@ -1,6 +1,6 @@ { "profiles": { - "ComputeSharp.SwapChain.D2D1.CoreWindow": { + "ComputeSharp.SwapChain.D2D1.Uwp": { "commandName": "MsixPackage" } }