Remove Dynamic/Pix packaging projects, minor tweaks
このコミットが含まれているのは:
1 親
6df70f3ab2
コミット
323f513a4c
7ファイル変更
+66
-109
検索条件に一致するファイルはありません
@@ -36,7 +36,7 @@
|
||||
<ItemGroup Label="Package">
|
||||
|
||||
<!-- Package icon -->
|
||||
<None Include="..\..\assets\icon.png" Pack="true" PackagePath="\icon.png" Visible="False" />
|
||||
<None Include="..\..\assets\icon.png" Pack="true" PackagePath="\" Visible="False" />
|
||||
|
||||
<!-- Source generator reference -->
|
||||
<ProjectReference Condition="'$(TargetFramework)' == 'netstandard2.0'" Include="..\ComputeSharp.Core.SourceGenerators\ComputeSharp.Core.SourceGenerators.csproj" ReferenceOutputAssembly="false" />
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
<ItemGroup Label="Package">
|
||||
|
||||
<!-- Package icon -->
|
||||
<None Include="..\..\assets\icon.png" Pack="true" PackagePath="\icon.png" Visible="False" />
|
||||
<None Include="..\..\assets\icon.png" Pack="true" PackagePath="\" Visible="False" />
|
||||
|
||||
<!-- Source generator reference -->
|
||||
<ProjectReference Condition="'$(TargetFramework)' == 'netstandard2.0'" Include="..\ComputeSharp.D2D1.SourceGenerators\ComputeSharp.D2D1.SourceGenerators.csproj" ReferenceOutputAssembly="false" />
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
<Project Sdk="Microsoft.Build.NoTargets/2.0.1" DefaultTargets="Pack">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<PackageId>ComputeSharp.Dynamic</PackageId>
|
||||
<Title>ComputeSharp.Dynamic</Title>
|
||||
<Description>An extension library for ComputeSharp to enable dynamic compilation of shaders at runtime</Description>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="..\ComputeSharp.Core.Package\icon.png" PackFolder="\" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ComputeSharp.Dynamic\ComputeSharp.Dynamic.csproj" />
|
||||
<ProjectReference Include="..\ComputeSharp.Package\ComputeSharp.Package.msbuildproj" TargetFramework="net6.0">
|
||||
<AdditionalProperties>PackageVersion=$(PackageVersion)</AdditionalProperties>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ComputeSharp.Package\ComputeSharp.Package.msbuildproj" TargetFramework="netstandard2.0">
|
||||
<AdditionalProperties>PackageVersion=$(PackageVersion)</AdditionalProperties>
|
||||
</ProjectReference>
|
||||
|
||||
<!-- Also include the ComputeSharp.Core reference, so that it's packed as a package reference, and not as binaries -->
|
||||
<ProjectReference Include="..\ComputeSharp.Core.Package\ComputeSharp.Core.Package.msbuildproj" TargetFramework="net6.0">
|
||||
<AdditionalProperties>PackageVersion=$(PackageVersion)</AdditionalProperties>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ComputeSharp.Core.Package\ComputeSharp.Core.Package.msbuildproj" TargetFramework="netstandard2.0">
|
||||
<AdditionalProperties>PackageVersion=$(PackageVersion)</AdditionalProperties>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -23,14 +23,14 @@
|
||||
just copy the right native libraries to the output directory, with no subfolders. -->
|
||||
<When Condition="'$(Platform)' == 'x64' OR '$(CI_RUNNER_DOTNET_TEST_PLATFORM)' == 'x64'">
|
||||
<ItemGroup>
|
||||
<None Include="Libraries\x64\dxcompiler.dll" Link="dxcompiler.dll" Visible="False" CopyToOutputDirectory="PreserveNewest" />
|
||||
<None Include="Libraries\x64\dxil.dll" Link="dxil.dll" Visible="False" CopyToOutputDirectory="PreserveNewest" />
|
||||
<None Include="Libraries\x64\dxcompiler.dll" Link="dxcompiler.dll" CopyToOutputDirectory="PreserveNewest" Visible="False" />
|
||||
<None Include="Libraries\x64\dxil.dll" Link="dxil.dll" CopyToOutputDirectory="PreserveNewest" Visible="False" />
|
||||
</ItemGroup>
|
||||
</When>
|
||||
<When Condition="'$(Platform)' == 'ARM64' OR '$(CI_RUNNER_DOTNET_TEST_PLATFORM)' == 'x64'">
|
||||
<ItemGroup>
|
||||
<None Include="Libraries\arm64\dxcompiler.dll" Link="dxcompiler.dll" Visible="False" CopyToOutputDirectory="PreserveNewest" />
|
||||
<None Include="Libraries\arm64\dxil.dll" Link="dxil.dll" Visible="False" CopyToOutputDirectory="PreserveNewest" />
|
||||
<None Include="Libraries\arm64\dxcompiler.dll" Link="dxcompiler.dll" CopyToOutputDirectory="PreserveNewest" Visible="False" />
|
||||
<None Include="Libraries\arm64\dxil.dll" Link="dxil.dll" CopyToOutputDirectory="PreserveNewest" Visible="False" />
|
||||
</ItemGroup>
|
||||
</When>
|
||||
|
||||
@@ -43,11 +43,23 @@
|
||||
while still not causing any change in the final NuGet package (Link isn't looked up there). -->
|
||||
<Otherwise>
|
||||
<ItemGroup>
|
||||
<None Include="Libraries\x64\dxcompiler.dll" Link="runtimes\win-x64\native\dxcompiler.dll" Visible="False" CopyToOutputDirectory="PreserveNewest" PackFolder="runtimes\win-x64\native" />
|
||||
<None Include="Libraries\x64\dxil.dll" Link="runtimes\win-x64\native\dxil.dll" Visible="False" CopyToOutputDirectory="PreserveNewest" PackFolder="runtimes\win-x64\native" />
|
||||
<None Include="Libraries\arm64\dxcompiler.dll" Link="runtimes\win-arm64\native\dxcompiler.dll" Visible="False" CopyToOutputDirectory="PreserveNewest" PackFolder="runtimes\win-arm64\native" />
|
||||
<None Include="Libraries\arm64\dxil.dll" Link="runtimes\win-arm64\native\dxil.dll" Visible="False" CopyToOutputDirectory="PreserveNewest" PackFolder="runtimes\win-arm64\native" />
|
||||
<None Include="Libraries\x64\dxcompiler.dll" Link="runtimes\win-x64\native\dxcompiler.dll" CopyToOutputDirectory="PreserveNewest" Pack="true" PackagePath="\runtimes\win-x64\native" Visible="False" />
|
||||
<None Include="Libraries\x64\dxil.dll" Link="runtimes\win-x64\native\dxil.dll" CopyToOutputDirectory="PreserveNewest" Pack="true" PackagePath="\runtimes\win-x64\native" Visible="False" />
|
||||
<None Include="Libraries\arm64\dxcompiler.dll" Link="runtimes\win-arm64\native\dxcompiler.dll" CopyToOutputDirectory="PreserveNewest" Pack="true" PackagePath="\runtimes\win-arm64\native" Visible="False" />
|
||||
<None Include="Libraries\arm64\dxil.dll" Link="runtimes\win-arm64\native\dxil.dll" CopyToOutputDirectory="PreserveNewest" Pack="true" PackagePath="\runtimes\win-arm64\native" Visible="False" />
|
||||
</ItemGroup>
|
||||
</Otherwise>
|
||||
</Choose>
|
||||
|
||||
<!-- NuGet package info -->
|
||||
<PropertyGroup Label="Package">
|
||||
<Description>An extension library for ComputeSharp to enable dynamic compilation of shaders at runtime</Description>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- NuGet package setup -->
|
||||
<ItemGroup Label="Package">
|
||||
|
||||
<!-- Package icon -->
|
||||
<None Include="..\..\assets\icon.png" Pack="true" PackagePath="\" Visible="False" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,51 +0,0 @@
|
||||
<Project Sdk="Microsoft.Build.NoTargets/2.0.1" DefaultTargets="Pack">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<PackageId>ComputeSharp.Pix</PackageId>
|
||||
<Title>ComputeSharp.Pix</Title>
|
||||
<Description>An extension library for ComputeSharp to enable PIX support to produce debugging information</Description>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="..\ComputeSharp.Core.Package\icon.png" PackFolder="\" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Include the PIX license file -->
|
||||
<ItemGroup>
|
||||
<Content Include="..\ComputeSharp.Pix\LICENSE.txt" PackFolder="\" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<PackageLicenseExpression></PackageLicenseExpression>
|
||||
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ComputeSharp.Pix\ComputeSharp.Pix.csproj" />
|
||||
<ProjectReference Include="..\ComputeSharp.Package\ComputeSharp.Package.msbuildproj" TargetFramework="net6.0">
|
||||
<AdditionalProperties>PackageVersion=$(PackageVersion)</AdditionalProperties>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ComputeSharp.Package\ComputeSharp.Package.msbuildproj" TargetFramework="netstandard2.0">
|
||||
<AdditionalProperties>PackageVersion=$(PackageVersion)</AdditionalProperties>
|
||||
</ProjectReference>
|
||||
|
||||
<!-- Also include the ComputeSharp.Core reference, so that it's packed as a package reference, and not as binaries (same as in ComputeSharp.Dynamic) -->
|
||||
<ProjectReference Include="..\ComputeSharp.Core.Package\ComputeSharp.Core.Package.msbuildproj" TargetFramework="net6.0">
|
||||
<AdditionalProperties>PackageVersion=$(PackageVersion)</AdditionalProperties>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ComputeSharp.Core.Package\ComputeSharp.Core.Package.msbuildproj" TargetFramework="netstandard2.0">
|
||||
<AdditionalProperties>PackageVersion=$(PackageVersion)</AdditionalProperties>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Label="Package">
|
||||
|
||||
<!-- Include the custom .targets file extract the PIX native libraries -->
|
||||
<None Include="..\ComputeSharp.Pix\ComputeSharp.Pix.targets" PackagePath="buildTransitive\ComputeSharp.Pix.targets" Pack="true" />
|
||||
<None Include="..\ComputeSharp.Pix\ComputeSharp.Pix.targets" PackagePath="build\ComputeSharp.Pix.targets" Pack="true" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -17,16 +17,16 @@
|
||||
<ItemGroup>
|
||||
<None Include="Libraries\x64\WinPixEventRuntime.dll"
|
||||
Link="WinPixEventRuntime.dll"
|
||||
Visible="False"
|
||||
CopyToOutputDirectory="PreserveNewest" />
|
||||
CopyToOutputDirectory="PreserveNewest"
|
||||
Visible="False" />
|
||||
</ItemGroup>
|
||||
</When>
|
||||
<When Condition="'$(Platform)' == 'ARM64'">
|
||||
<ItemGroup>
|
||||
<None Include="Libraries\arm64\WinPixEventRuntime.dll"
|
||||
Link="WinPixEventRuntime.dll"
|
||||
Visible="False"
|
||||
CopyToOutputDirectory="PreserveNewest" />
|
||||
CopyToOutputDirectory="PreserveNewest"
|
||||
Visible="False" />
|
||||
</ItemGroup>
|
||||
</When>
|
||||
|
||||
@@ -39,25 +39,56 @@
|
||||
<ItemGroup>
|
||||
<None Include="Libraries\x64\WinPixEventRuntime.dll"
|
||||
Link="$(WinPixEventRuntimeVersion)\x64\WinPixEventRuntime.dll"
|
||||
Visible="False"
|
||||
CopyToOutputDirectory="PreserveNewest"
|
||||
PackFolder="$(WinPixEventRuntimeVersion)\x64" />
|
||||
Pack="true"
|
||||
PackagePath="$(WinPixEventRuntimeVersion)\x64"
|
||||
Visible="False" />
|
||||
<None Include="Libraries\x64\WinPixEventRuntime_UAP.dll"
|
||||
Link="$(WinPixEventRuntimeVersion)\x64\WinPixEventRuntime_UAP.dll"
|
||||
Visible="False"
|
||||
CopyToOutputDirectory="PreserveNewest"
|
||||
PackFolder="$(WinPixEventRuntimeVersion)\x64" />
|
||||
Pack="true"
|
||||
PackagePath="$(WinPixEventRuntimeVersion)\x64"
|
||||
Visible="False" />
|
||||
<None Include="Libraries\arm64\WinPixEventRuntime.dll"
|
||||
Link="$(WinPixEventRuntimeVersion)\arm64\WinPixEventRuntime.dll"
|
||||
Visible="False"
|
||||
CopyToOutputDirectory="PreserveNewest"
|
||||
PackFolder="$(WinPixEventRuntimeVersion)\arm64" />
|
||||
Pack="true"
|
||||
PackagePath="$(WinPixEventRuntimeVersion)\arm64"
|
||||
Visible="False" />
|
||||
<None Include="Libraries\arm64\WinPixEventRuntime_UAP.dll"
|
||||
Link="$(WinPixEventRuntimeVersion)\arm64\WinPixEventRuntime_UAP.dll"
|
||||
Visible="False"
|
||||
CopyToOutputDirectory="PreserveNewest"
|
||||
PackFolder="$(WinPixEventRuntimeVersion)\arm64" />
|
||||
Pack="true"
|
||||
PackagePath="$(WinPixEventRuntimeVersion)\arm64"
|
||||
Visible="False" />
|
||||
</ItemGroup>
|
||||
</Otherwise>
|
||||
</Choose>
|
||||
|
||||
<!-- NuGet package info -->
|
||||
<PropertyGroup Label="Package">
|
||||
<Description>An extension library for ComputeSharp to enable PIX support to produce debugging information</Description>
|
||||
|
||||
<!--
|
||||
This ignores the following warning:
|
||||
"NU5100: the assembly 'winpixeventruntime.1.0.220810001\x64\WinPixEventRuntime.dll' is not inside the 'lib' folder and hence it won't
|
||||
be added as a reference when the package is installed into a project. Move it into the 'lib' folder if it needs to be referenced."
|
||||
This is by design: we're copying the PIX assemblies into a separate folder and then unpacking them from the bundled .targets file.
|
||||
-->
|
||||
<NoWarn>$(NoWarn);NU5100</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- NuGet package setup -->
|
||||
<ItemGroup Label="Package">
|
||||
|
||||
<!-- Package icon -->
|
||||
<None Include="..\..\assets\icon.png" Pack="true" PackagePath="\" Visible="False" />
|
||||
|
||||
<!-- License file -->
|
||||
<None Include="LICENSE.txt" Pack="true" PackagePath="\" Visible="False" />
|
||||
|
||||
<!-- Include the custom .targets file to check the source generator -->
|
||||
<None Include="ComputeSharp.Pix.targets" PackagePath="buildTransitive" Pack="true" />
|
||||
<None Include="ComputeSharp.Pix.targets" PackagePath="build" Pack="true" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -45,7 +45,7 @@
|
||||
<ItemGroup Label="Package">
|
||||
|
||||
<!-- Package icon -->
|
||||
<None Include="..\..\assets\icon.png" Pack="true" PackagePath="\icon.png" Visible="False" />
|
||||
<None Include="..\..\assets\icon.png" Pack="true" PackagePath="\" Visible="False" />
|
||||
|
||||
<!-- Source generator reference -->
|
||||
<ProjectReference Condition="'$(TargetFramework)' == 'netstandard2.0'" Include="..\ComputeSharp.SourceGenerators\ComputeSharp.SourceGenerators.csproj" ReferenceOutputAssembly="false" />
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする