diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index d1b18b54..9be658eb 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -29,7 +29,7 @@ jobs: path: msbuild.binlog if-no-files-found: error - # Build the .msbuildproj projects and the UWP/WinUI projects to generate all the NuGet packages. + # Pack all projects with dotnet/MSBuild to generate NuGet packages. # This workflow also uploads the resulting packages as artifacts. build-packages: runs-on: windows-2022 @@ -39,15 +39,15 @@ jobs: - name: Add msbuild to PATH uses: microsoft/setup-msbuild@v1.1 - name: Build ComputeSharp.Core package - run: dotnet build src\ComputeSharp.Core.Package\ComputeSharp.Core.Package.msbuildproj -c Release + run: dotnet pack src\ComputeSharp.Core\ComputeSharp.Core.csproj -c Release - name: Build ComputeSharp package - run: dotnet build src\ComputeSharp.Package\ComputeSharp.Package.msbuildproj -c Release + run: dotnet pack src\ComputeSharp\ComputeSharp.csproj -c Release - name: Build ComputeSharp.Dynamic package - run: dotnet build src\ComputeSharp.Dynamic.Package\ComputeSharp.Dynamic.Package.msbuildproj -c Release + run: dotnet pack src\ComputeSharp.Dynamic\ComputeSharp.Dynamic.csproj -c Release - name: Build ComputeSharp.D2D1 package - run: dotnet build src\ComputeSharp.D2D1.Package\ComputeSharp.D2D1.Package.msbuildproj -c Release + run: dotnet pack src\ComputeSharp.D2D1\ComputeSharp.D2D1.csproj -c Release - name: Build ComputeSharp.Pix package - run: dotnet build src\ComputeSharp.Pix.Package\ComputeSharp.Pix.Package.msbuildproj -c Release + run: dotnet pack src\ComputeSharp.Pix\ComputeSharp.Pix.csproj -c Release - name: Build ComputeSharp.Uwp package run: msbuild src\ComputeSharp.Uwp\ComputeSharp.Uwp.csproj -t:restore,build,pack /p:Configuration=Release - name: Build ComputeSharp.D2D1.Uwp package diff --git a/ComputeSharp.sln b/ComputeSharp.sln index 37e36f64..97cfd4ee 100644 --- a/ComputeSharp.sln +++ b/ComputeSharp.sln @@ -32,17 +32,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_SolutionItems", "_Solution EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.SourceGenerators", "src\ComputeSharp.SourceGenerators\ComputeSharp.SourceGenerators.csproj", "{EB52CB67-4162-4722-874B-44EA8DA5450E}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Packages", "Packages", "{FB17EF84-9208-47AC-921F-680CB1DAD8BA}" - ProjectSection(SolutionItems) = preProject - src\ComputeSharp.Core.Package\ComputeSharp.Core.Package.msbuildproj = src\ComputeSharp.Core.Package\ComputeSharp.Core.Package.msbuildproj - src\ComputeSharp.D2D1.Package\ComputeSharp.D2D1.Package.msbuildproj = src\ComputeSharp.D2D1.Package\ComputeSharp.D2D1.Package.msbuildproj - src\ComputeSharp.Dynamic.Package\ComputeSharp.Dynamic.Package.msbuildproj = src\ComputeSharp.Dynamic.Package\ComputeSharp.Dynamic.Package.msbuildproj - src\ComputeSharp.Package\ComputeSharp.Package.msbuildproj = src\ComputeSharp.Package\ComputeSharp.Package.msbuildproj - src\ComputeSharp.Pix.Package\ComputeSharp.Pix.Package.msbuildproj = src\ComputeSharp.Pix.Package\ComputeSharp.Pix.Package.msbuildproj - src\ComputeSharp.Core.Package\icon.png = src\ComputeSharp.Core.Package\icon.png - src\ComputeSharp.Core.Package\icon_highres.png = src\ComputeSharp.Core.Package\icon_highres.png - EndProjectSection -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.Sample", "samples\ComputeSharp.Sample\ComputeSharp.Sample.csproj", "{7048DEEA-0A6F-46A0-B951-B682A8F1CB75}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.Tests.SourceGenerators", "tests\ComputeSharp.Tests.SourceGenerators\ComputeSharp.Tests.SourceGenerators.csproj", "{BBBD0ADD-F2F9-49A3-BD5E-D223F0735D8B}" @@ -154,6 +143,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{B54B6DCA EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.SwapChain.D2D1.Cli", "samples\ComputeSharp.SwapChain.D2D1.Cli\ComputeSharp.SwapChain.D2D1.Cli.csproj", "{9EA5AE9D-C39A-4F43-B03E-0A848EA2558A}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Assets", "Assets", "{345F62CF-5320-4531-A087-DA5B488FDDE6}" + ProjectSection(SolutionItems) = preProject + assets\icon.ico = assets\icon.ico + assets\icon.png = assets\icon.png + assets\icon_highres.png = assets\icon_highres.png + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|x64 = Debug|x64 diff --git a/LICENSE b/LICENSE index c13364da..a32f0ed5 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 Sergio Pedri +Copyright (c) 2023 Sergio Pedri Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/samples/ComputeSharp.SwapChain.Cli/icon.ico b/assets/icon.ico similarity index 100% rename from samples/ComputeSharp.SwapChain.Cli/icon.ico rename to assets/icon.ico diff --git a/src/ComputeSharp.Core.Package/icon.png b/assets/icon.png similarity index 100% rename from src/ComputeSharp.Core.Package/icon.png rename to assets/icon.png diff --git a/src/ComputeSharp.Core.Package/icon_highres.png b/assets/icon_highres.png similarity index 100% rename from src/ComputeSharp.Core.Package/icon_highres.png rename to assets/icon_highres.png diff --git a/build/Directory.Build.props b/build/Directory.Build.props index 1d91e790..95920fa9 100644 --- a/build/Directory.Build.props +++ b/build/Directory.Build.props @@ -90,8 +90,11 @@ pr + true + $(MSBuildProjectName) + $(MSBuildProjectName) https://github.com/Sergio0694/ComputeSharp/ git true @@ -99,13 +102,13 @@ Sergio Pedri Sergio Pedri Sergio Pedri - Copyright (c) 2022 Sergio Pedri + Copyright (c) 2023 Sergio Pedri MIT true + https://github.com/Sergio0694/ComputeSharp/ icon.png https://user-images.githubusercontent.com/10199417/110238403-b8811080-7f41-11eb-8cfe-e47e7e58f05b.png dotnet net netcore netstandard csharp library graphics directx shader hlsl compute gpu performance parallel windows - true @@ -127,7 +130,11 @@ $([MSBuild]::MakeRelative('$(MSBuildThisFileDirectory)..\', $(MSBuildProjectDirectory))) $(ProjectDirectoryPathFromSourceRoot.StartsWith('src\')) - $(ProjectDirectoryPathFromSourceRoot.StartsWith('tests\')) + false + true + false + true + $(ProjectDirectoryPathFromSourceRoot.StartsWith('tests\')) false true diff --git a/samples/ComputeSharp.Benchmark/ComputeSharp.Benchmark.csproj b/samples/ComputeSharp.Benchmark/ComputeSharp.Benchmark.csproj index b4f5631c..5774c5e3 100644 --- a/samples/ComputeSharp.Benchmark/ComputeSharp.Benchmark.csproj +++ b/samples/ComputeSharp.Benchmark/ComputeSharp.Benchmark.csproj @@ -1,5 +1,4 @@ - Exe net6.0 @@ -32,5 +31,4 @@ - \ No newline at end of file diff --git a/samples/ComputeSharp.ImageProcessing/ComputeSharp.ImageProcessing.csproj b/samples/ComputeSharp.ImageProcessing/ComputeSharp.ImageProcessing.csproj index 386056d1..335cc983 100644 --- a/samples/ComputeSharp.ImageProcessing/ComputeSharp.ImageProcessing.csproj +++ b/samples/ComputeSharp.ImageProcessing/ComputeSharp.ImageProcessing.csproj @@ -1,5 +1,4 @@ - Exe net472;netcoreapp3.1;net6.0;net7.0 @@ -23,5 +22,4 @@ - diff --git a/samples/ComputeSharp.Sample.FSharp.Shaders/ComputeSharp.Sample.FSharp.Shaders.csproj b/samples/ComputeSharp.Sample.FSharp.Shaders/ComputeSharp.Sample.FSharp.Shaders.csproj index f5fd8b2a..54042c69 100644 --- a/samples/ComputeSharp.Sample.FSharp.Shaders/ComputeSharp.Sample.FSharp.Shaders.csproj +++ b/samples/ComputeSharp.Sample.FSharp.Shaders/ComputeSharp.Sample.FSharp.Shaders.csproj @@ -1,5 +1,4 @@ - net472;netcoreapp3.1;net6.0 $(NoWarn);CA1416 @@ -12,5 +11,4 @@ - diff --git a/samples/ComputeSharp.Sample/ComputeSharp.Sample.csproj b/samples/ComputeSharp.Sample/ComputeSharp.Sample.csproj index bd4f75e8..a32c39f5 100644 --- a/samples/ComputeSharp.Sample/ComputeSharp.Sample.csproj +++ b/samples/ComputeSharp.Sample/ComputeSharp.Sample.csproj @@ -1,5 +1,4 @@ - Exe net472;netcoreapp3.1;net6.0;net7.0 @@ -14,5 +13,4 @@ - diff --git a/samples/ComputeSharp.SwapChain.Cli/ComputeSharp.SwapChain.Cli.csproj b/samples/ComputeSharp.SwapChain.Cli/ComputeSharp.SwapChain.Cli.csproj index 05f3877e..6e94f279 100644 --- a/samples/ComputeSharp.SwapChain.Cli/ComputeSharp.SwapChain.Cli.csproj +++ b/samples/ComputeSharp.SwapChain.Cli/ComputeSharp.SwapChain.Cli.csproj @@ -1,5 +1,4 @@ - - - - - @@ -59,5 +53,4 @@ - diff --git a/samples/ComputeSharp.SwapChain.D2D1.Cli/ComputeSharp.SwapChain.D2D1.Cli.csproj b/samples/ComputeSharp.SwapChain.D2D1.Cli/ComputeSharp.SwapChain.D2D1.Cli.csproj index 5e9b56f4..88cafc01 100644 --- a/samples/ComputeSharp.SwapChain.D2D1.Cli/ComputeSharp.SwapChain.D2D1.Cli.csproj +++ b/samples/ComputeSharp.SwapChain.D2D1.Cli/ComputeSharp.SwapChain.D2D1.Cli.csproj @@ -1,5 +1,4 @@ - Exe WinExe @@ -8,7 +7,7 @@ x64;ARM64 $(NoWarn);IDE0065 computesharp.d2d1.cli - ..\ComputeSharp.SwapChain.Cli\icon.ico + ..\..\assets\icon.ico @@ -31,7 +30,6 @@ - @@ -44,5 +42,4 @@ - diff --git a/samples/ComputeSharp.SwapChain/ComputeSharp.SwapChain.csproj b/samples/ComputeSharp.SwapChain/ComputeSharp.SwapChain.csproj index 17cd6bc6..2694547c 100644 --- a/samples/ComputeSharp.SwapChain/ComputeSharp.SwapChain.csproj +++ b/samples/ComputeSharp.SwapChain/ComputeSharp.SwapChain.csproj @@ -1,11 +1,10 @@ - - + Exe net6.0 x64;ARM64 $(DefineConstants);SAMPLE_APP - $(NoWarn);CA1416 + $(NoWarn);CA1416;IDE0210 @@ -22,5 +21,4 @@ - diff --git a/src/ComputeSharp.Core.Package/ComputeSharp.Core.Package.msbuildproj b/src/ComputeSharp.Core.Package/ComputeSharp.Core.Package.msbuildproj deleted file mode 100644 index 909f3c38..00000000 --- a/src/ComputeSharp.Core.Package/ComputeSharp.Core.Package.msbuildproj +++ /dev/null @@ -1,29 +0,0 @@ - - - - net6.0 - - - - ComputeSharp.Core - ComputeSharp.Core - A library containing basic primitives to support ComputeSharp (this package is not supposed to be referenced directly by developers) - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/ComputeSharp.Core.SourceGenerators/ComputeSharp.Core.SourceGenerators.csproj b/src/ComputeSharp.Core.SourceGenerators/ComputeSharp.Core.SourceGenerators.csproj index 5f06401d..76a9174c 100644 --- a/src/ComputeSharp.Core.SourceGenerators/ComputeSharp.Core.SourceGenerators.csproj +++ b/src/ComputeSharp.Core.SourceGenerators/ComputeSharp.Core.SourceGenerators.csproj @@ -1,9 +1,6 @@ - netstandard2.0 - false - ComputeSharp.Core.SourceGenerators $(NoWarn);CS1591;CS0649;CS1574 diff --git a/src/ComputeSharp.Core/ComputeSharp.Core.csproj b/src/ComputeSharp.Core/ComputeSharp.Core.csproj index 6a4268e3..e9817bf9 100644 --- a/src/ComputeSharp.Core/ComputeSharp.Core.csproj +++ b/src/ComputeSharp.Core/ComputeSharp.Core.csproj @@ -1,9 +1,6 @@ - netstandard2.0;net6.0 - bin\Release - ComputeSharp.Core.xml diff --git a/src/ComputeSharp.Core/ComputeSharp.Core.targets b/src/ComputeSharp.Core/ComputeSharp.Core.targets index d73b83ab..5714578b 100644 --- a/src/ComputeSharp.Core/ComputeSharp.Core.targets +++ b/src/ComputeSharp.Core/ComputeSharp.Core.targets @@ -13,10 +13,12 @@ AfterTargets="ResolvePackageDependenciesForBuild;ResolveNuGetPackageAssets" DependsOnTargets="_ComputeSharpCoreGatherAnalyzers"> - + diff --git a/src/ComputeSharp.D2D1.Package/ComputeSharp.D2D1.Package.msbuildproj b/src/ComputeSharp.D2D1.Package/ComputeSharp.D2D1.Package.msbuildproj deleted file mode 100644 index 3b2b49c7..00000000 --- a/src/ComputeSharp.D2D1.Package/ComputeSharp.D2D1.Package.msbuildproj +++ /dev/null @@ -1,35 +0,0 @@ - - - - net6.0 - - - - ComputeSharp.D2D1 - ComputeSharp.D2D1 - A library to write D2D1 pixel shaders entirely with C# code, and to easily register and create ID2D1Effect-s from them - - - - - - - - - - - PackageVersion=$(PackageVersion) - - - PackageVersion=$(PackageVersion) - - - - - - - - - - - \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.SourceGenerators/ComputeSharp.D2D1.SourceGenerators.csproj b/src/ComputeSharp.D2D1.SourceGenerators/ComputeSharp.D2D1.SourceGenerators.csproj index f3fd8190..a5608555 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/ComputeSharp.D2D1.SourceGenerators.csproj +++ b/src/ComputeSharp.D2D1.SourceGenerators/ComputeSharp.D2D1.SourceGenerators.csproj @@ -1,9 +1,6 @@ - netstandard2.0 - false - ComputeSharp.D2D1.SourceGenerators $(NoWarn);CS1591;CS0649;CS1574 diff --git a/src/ComputeSharp.D2D1.Uwp/ComputeSharp.D2D1.Uwp.csproj b/src/ComputeSharp.D2D1.Uwp/ComputeSharp.D2D1.Uwp.csproj index 1c8ecc34..1c67518c 100644 --- a/src/ComputeSharp.D2D1.Uwp/ComputeSharp.D2D1.Uwp.csproj +++ b/src/ComputeSharp.D2D1.Uwp/ComputeSharp.D2D1.Uwp.csproj @@ -8,27 +8,13 @@ $(TargetPlatformBaseVersion).$(TargetPlatformMinRevision).0 6.2.14 true - true - true true $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb - ComputeSharp.D2D1.Uwp x64;ARM64 win10-x64;win-arm64 $(NoWarn);NETSDK1023 - - ComputeSharp.D2D1.Uwp - ComputeSharp.D2D1.Uwp - A UWP library with APIs to leverage D2D1 functionality with D2D1 pixel shaders powered by ComputeSharp.D2D1 - $(PackageTags) uwp winui - - - - - - diff --git a/src/ComputeSharp.D2D1.Uwp/Directory.Build.props b/src/ComputeSharp.D2D1.Uwp/Directory.Build.props deleted file mode 100644 index f8f4f3b8..00000000 --- a/src/ComputeSharp.D2D1.Uwp/Directory.Build.props +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/src/ComputeSharp.D2D1.WinUI/ComputeSharp.D2D1.WinUI.csproj b/src/ComputeSharp.D2D1.WinUI/ComputeSharp.D2D1.WinUI.csproj index cb372053..17d5e2a0 100644 --- a/src/ComputeSharp.D2D1.WinUI/ComputeSharp.D2D1.WinUI.csproj +++ b/src/ComputeSharp.D2D1.WinUI/ComputeSharp.D2D1.WinUI.csproj @@ -1,23 +1,22 @@ - net6.0-windows10.0.22621.0 10.0.17763.0 - ComputeSharp.D2D1.WinUI x64;ARM64 win10-x64;win10-arm64 - ComputeSharp.D2D1.WinUI - ComputeSharp.D2D1.WinUI - A WinUI 3 library with APIs to leverage D2D1 functionality with D2D1 pixel shaders powered by ComputeSharp.D2D1 - $(PackageTags) winui winui3 wasdk - - - - + + $(NoWarn);CS0419 + + + $(NoWarn);IDE0065 + diff --git a/src/ComputeSharp.D2D1.WinUI/Directory.Build.props b/src/ComputeSharp.D2D1.WinUI/Directory.Build.props deleted file mode 100644 index 4ec7dd9c..00000000 --- a/src/ComputeSharp.D2D1.WinUI/Directory.Build.props +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - $(NoWarn);CS0419 - - - $(NoWarn);IDE0065 - - \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/ComputeSharp.D2D1.csproj b/src/ComputeSharp.D2D1/ComputeSharp.D2D1.csproj index 75c00014..33456cca 100644 --- a/src/ComputeSharp.D2D1/ComputeSharp.D2D1.csproj +++ b/src/ComputeSharp.D2D1/ComputeSharp.D2D1.csproj @@ -1,8 +1,6 @@ netstandard2.0;net6.0 - bin\Release - ComputeSharp.D2D1.xml windows6.1 @@ -15,9 +13,8 @@ - + - diff --git a/src/ComputeSharp.D2D1/ComputeSharp.D2D1.targets b/src/ComputeSharp.D2D1/ComputeSharp.D2D1.targets index c638dfa3..4f84323b 100644 --- a/src/ComputeSharp.D2D1/ComputeSharp.D2D1.targets +++ b/src/ComputeSharp.D2D1/ComputeSharp.D2D1.targets @@ -13,10 +13,12 @@ AfterTargets="ResolvePackageDependenciesForBuild;ResolveNuGetPackageAssets" DependsOnTargets="_ComputeSharpD2D1GatherAnalyzers"> - + @@ -35,9 +37,11 @@ - + diff --git a/src/ComputeSharp.Dynamic.Package/ComputeSharp.Dynamic.Package.msbuildproj b/src/ComputeSharp.Dynamic.Package/ComputeSharp.Dynamic.Package.msbuildproj deleted file mode 100644 index 25f9255b..00000000 --- a/src/ComputeSharp.Dynamic.Package/ComputeSharp.Dynamic.Package.msbuildproj +++ /dev/null @@ -1,35 +0,0 @@ - - - - net6.0 - - - - ComputeSharp.Dynamic - ComputeSharp.Dynamic - An extension library for ComputeSharp to enable dynamic compilation of shaders at runtime - - - - - - - - - - PackageVersion=$(PackageVersion) - - - PackageVersion=$(PackageVersion) - - - - - PackageVersion=$(PackageVersion) - - - PackageVersion=$(PackageVersion) - - - - \ No newline at end of file diff --git a/src/ComputeSharp.Dynamic/ComputeSharp.Dynamic.csproj b/src/ComputeSharp.Dynamic/ComputeSharp.Dynamic.csproj index 5a886502..ab94b32e 100644 --- a/src/ComputeSharp.Dynamic/ComputeSharp.Dynamic.csproj +++ b/src/ComputeSharp.Dynamic/ComputeSharp.Dynamic.csproj @@ -1,8 +1,6 @@ netstandard2.0;net6.0 - bin\Release - ComputeSharp.Dynamic.xml AnyCPU;x64;ARM64 windows6.2 @@ -21,34 +19,38 @@ - + - - + + - - + + - + - - - - + + + + diff --git a/src/ComputeSharp.Package/ComputeSharp.Package.msbuildproj b/src/ComputeSharp.Package/ComputeSharp.Package.msbuildproj deleted file mode 100644 index d5b55295..00000000 --- a/src/ComputeSharp.Package/ComputeSharp.Package.msbuildproj +++ /dev/null @@ -1,35 +0,0 @@ - - - - net6.0 - - - - ComputeSharp - ComputeSharp - A library to run C# code in parallel on the GPU through DX12 and dynamically generated HLSL compute shaders - - - - - - - - - - - PackageVersion=$(PackageVersion) - - - PackageVersion=$(PackageVersion) - - - - - - - - - - - \ No newline at end of file diff --git a/src/ComputeSharp.Pix.Package/ComputeSharp.Pix.Package.msbuildproj b/src/ComputeSharp.Pix.Package/ComputeSharp.Pix.Package.msbuildproj deleted file mode 100644 index d809f0c5..00000000 --- a/src/ComputeSharp.Pix.Package/ComputeSharp.Pix.Package.msbuildproj +++ /dev/null @@ -1,51 +0,0 @@ - - - - net6.0 - - - - ComputeSharp.Pix - ComputeSharp.Pix - An extension library for ComputeSharp to enable PIX support to produce debugging information - - - - - - - - - - - - - LICENSE.txt - - - - - - PackageVersion=$(PackageVersion) - - - PackageVersion=$(PackageVersion) - - - - - PackageVersion=$(PackageVersion) - - - PackageVersion=$(PackageVersion) - - - - - - - - - - - \ No newline at end of file diff --git a/src/ComputeSharp.Pix/ComputeSharp.Pix.csproj b/src/ComputeSharp.Pix/ComputeSharp.Pix.csproj index 682355fd..78e4cc75 100644 --- a/src/ComputeSharp.Pix/ComputeSharp.Pix.csproj +++ b/src/ComputeSharp.Pix/ComputeSharp.Pix.csproj @@ -1,8 +1,6 @@ - + netstandard2.0;net6.0 - bin\Release - ComputeSharp.Pix.xml AnyCPU;x64;ARM64 windows6.2 @@ -19,46 +17,60 @@ + CopyToOutputDirectory="PreserveNewest" + Visible="False" /> + CopyToOutputDirectory="PreserveNewest" + Visible="False" /> - + winpixeventruntime.1.0.220810001 + + + $(NoWarn);NU5100 + Pack="true" + PackagePath="$(WinPixEventRuntimeVersion)\x64" + Visible="False" /> + Pack="true" + PackagePath="$(WinPixEventRuntimeVersion)\x64" + Visible="False" /> + Pack="true" + PackagePath="$(WinPixEventRuntimeVersion)\arm64" + Visible="False" /> + Pack="true" + PackagePath="$(WinPixEventRuntimeVersion)\arm64" + Visible="False" /> diff --git a/src/ComputeSharp.Pix/LICENSE.txt b/src/ComputeSharp.Pix/LICENSE.txt index 548ece17..0763d6af 100644 --- a/src/ComputeSharp.Pix/LICENSE.txt +++ b/src/ComputeSharp.Pix/LICENSE.txt @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 Sergio Pedri +Copyright (c) 2023 Sergio Pedri Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/ComputeSharp.SourceGenerators/ComputeSharp.SourceGenerators.csproj b/src/ComputeSharp.SourceGenerators/ComputeSharp.SourceGenerators.csproj index d96c30b6..8decac73 100644 --- a/src/ComputeSharp.SourceGenerators/ComputeSharp.SourceGenerators.csproj +++ b/src/ComputeSharp.SourceGenerators/ComputeSharp.SourceGenerators.csproj @@ -1,9 +1,6 @@ - netstandard2.0 - false - ComputeSharp.SourceGenerators $(NoWarn);CS1591;CS0649;CS1574 diff --git a/src/ComputeSharp.Uwp/ComputeSharp.Uwp.csproj b/src/ComputeSharp.Uwp/ComputeSharp.Uwp.csproj index ea3a988c..b4bfd8f5 100644 --- a/src/ComputeSharp.Uwp/ComputeSharp.Uwp.csproj +++ b/src/ComputeSharp.Uwp/ComputeSharp.Uwp.csproj @@ -8,27 +8,13 @@ $(TargetPlatformBaseVersion).$(TargetPlatformMinRevision).0 6.2.14 true - true - true true $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb - ComputeSharp.Uwp x64;ARM64 win10-x64;win-arm64 $(NoWarn);NETSDK1023 - - ComputeSharp.Uwp - ComputeSharp.Uwp - A UWP library with controls to render DX12 shaders powered by ComputeSharp - $(PackageTags) uwp winui - - - - - - diff --git a/src/ComputeSharp.Uwp/Directory.Build.props b/src/ComputeSharp.Uwp/Directory.Build.props deleted file mode 100644 index f8f4f3b8..00000000 --- a/src/ComputeSharp.Uwp/Directory.Build.props +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/src/ComputeSharp.WinUI/ComputeSharp.WinUI.csproj b/src/ComputeSharp.WinUI/ComputeSharp.WinUI.csproj index c4f220cb..6ddd4f71 100644 --- a/src/ComputeSharp.WinUI/ComputeSharp.WinUI.csproj +++ b/src/ComputeSharp.WinUI/ComputeSharp.WinUI.csproj @@ -2,22 +2,10 @@ net6.0-windows10.0.22621.0 10.0.17763.0 - ComputeSharp.WinUI x64;ARM64 win10-x64;win10-arm64 - - ComputeSharp.WinUI - ComputeSharp.WinUI - A WinUI 3 library with controls to render DX12 shaders powered by ComputeSharp - $(PackageTags) winui winui3 wasdk - - - - - - diff --git a/src/ComputeSharp.WinUI/Directory.Build.props b/src/ComputeSharp.WinUI/Directory.Build.props deleted file mode 100644 index f8f4f3b8..00000000 --- a/src/ComputeSharp.WinUI/Directory.Build.props +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/src/ComputeSharp/ComputeSharp.csproj b/src/ComputeSharp/ComputeSharp.csproj index 6755e300..272a33ff 100644 --- a/src/ComputeSharp/ComputeSharp.csproj +++ b/src/ComputeSharp/ComputeSharp.csproj @@ -1,8 +1,6 @@ netstandard2.0;net6.0 - bin\Release - ComputeSharp.xml windows6.2 diff --git a/src/ComputeSharp/ComputeSharp.targets b/src/ComputeSharp/ComputeSharp.targets index 07caab3f..a9fa4589 100644 --- a/src/ComputeSharp/ComputeSharp.targets +++ b/src/ComputeSharp/ComputeSharp.targets @@ -13,10 +13,12 @@ AfterTargets="ResolvePackageDependenciesForBuild;ResolveNuGetPackageAssets" DependsOnTargets="_ComputeSharpGatherAnalyzers"> - + @@ -35,9 +37,11 @@ - + diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 33e5456a..54f4bca5 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -1,19 +1,75 @@ - + + - - $(NoWarn);DNG02 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(PackageTags) d2d d2d1 direct2d pixel + $(PackageTags) uwp winui + $(PackageTags) winui winui3 wasdk - - - + + + + + true + $(MSBuildProjectName).xml + + + false + + + false + true + + + false + true + + + + + + + + + + + + + + + + false + true + $(TargetFrameworks.Split(';')[0].Trim()) + + + + + + + + + + + +