From a63d340b786a91f62344b73b5375dfc24d0c1adf Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Sun, 19 Jun 2022 02:18:06 +0200 Subject: [PATCH] Add custom .targets to extract the PIX native libraries --- .../ComputeSharp.Pix.Package.msbuildproj | 7 +++ src/ComputeSharp.Pix/ComputeSharp.Pix.csproj | 19 ++++--- src/ComputeSharp.Pix/ComputeSharp.Pix.targets | 51 +++++++++++++++++++ 3 files changed, 69 insertions(+), 8 deletions(-) create mode 100644 src/ComputeSharp.Pix/ComputeSharp.Pix.targets diff --git a/src/ComputeSharp.Pix.Package/ComputeSharp.Pix.Package.msbuildproj b/src/ComputeSharp.Pix.Package/ComputeSharp.Pix.Package.msbuildproj index e8e2dbfe..0af145ef 100644 --- a/src/ComputeSharp.Pix.Package/ComputeSharp.Pix.Package.msbuildproj +++ b/src/ComputeSharp.Pix.Package/ComputeSharp.Pix.Package.msbuildproj @@ -29,4 +29,11 @@ + + + + + + + \ No newline at end of file diff --git a/src/ComputeSharp.Pix/ComputeSharp.Pix.csproj b/src/ComputeSharp.Pix/ComputeSharp.Pix.csproj index d0624211..1ad34cdb 100644 --- a/src/ComputeSharp.Pix/ComputeSharp.Pix.csproj +++ b/src/ComputeSharp.Pix/ComputeSharp.Pix.csproj @@ -40,27 +40,30 @@ + + winpixeventruntime.1.0.220124001 + + PackFolder="$(WinPixEventRuntimeVersion)\x64" /> + PackFolder="$(WinPixEventRuntimeVersion)\x64" /> + PackFolder="$(WinPixEventRuntimeVersion)\arm64" /> + PackFolder="$(WinPixEventRuntimeVersion)\arm64" /> diff --git a/src/ComputeSharp.Pix/ComputeSharp.Pix.targets b/src/ComputeSharp.Pix/ComputeSharp.Pix.targets new file mode 100644 index 00000000..c31cce2a --- /dev/null +++ b/src/ComputeSharp.Pix/ComputeSharp.Pix.targets @@ -0,0 +1,51 @@ + + + + + + + + winpixeventruntime.1.0.220124001 + + + false + true + + + false + true + + + + + + + + + + + + + + + + + + + + + + +