Centralize descriptions and tags for NuGet packages
このコミットが含まれているのは:
1 親
724937c8f6
コミット
b42a191aac
10ファイル変更
+49
-56
検索条件に一致するファイルはありません
@@ -26,9 +26,4 @@
|
||||
|
||||
<!-- Shared project with .NET Standard 2.0 polyfills -->
|
||||
<Import Condition="'$(TargetFramework)' == 'netstandard2.0'" Project="..\ComputeSharp.NetStandard\ComputeSharp.NetStandard.projitems" Label="Shared" />
|
||||
|
||||
<!-- NuGet package info -->
|
||||
<PropertyGroup Label="Package">
|
||||
<Description>A library containing basic primitives to support ComputeSharp (this package is not supposed to be referenced directly by developers)</Description>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -15,11 +15,6 @@
|
||||
<NoWarn>$(NoWarn);NETSDK1023</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<Description>A UWP library with APIs to leverage D2D1 functionality with D2D1 pixel shaders powered by ComputeSharp.D2D1</Description>
|
||||
<PackageTags>$(PackageTags) uwp winui</PackageTags>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Win2D.uwp" Version="1.27.0-preview3" />
|
||||
</ItemGroup>
|
||||
|
||||
@@ -18,11 +18,6 @@
|
||||
<NoWarn>$(NoWarn);IDE0065</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<Description>A WinUI 3 library with APIs to leverage D2D1 functionality with D2D1 pixel shaders powered by ComputeSharp.D2D1</Description>
|
||||
<PackageTags>$(PackageTags) winui winui3 wasdk</PackageTags>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.1.0-preview1" />
|
||||
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.3.230331000" />
|
||||
|
||||
@@ -26,9 +26,4 @@
|
||||
|
||||
<!-- Shared project with the trimmed down fork of TerraFX.Interop.Windows with just the D3D bindings -->
|
||||
<Import Project="..\TerraFX.Interop.Windows.D2D1\TerraFX.Interop.Windows.D2D1.projitems" Label="Shared" />
|
||||
|
||||
<!-- NuGet package info -->
|
||||
<PropertyGroup Label="Package">
|
||||
<Description>A library to write D2D1 pixel shaders entirely with C# code, and to easily register and create ID2D1Effect-s from them</Description>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -54,9 +54,4 @@
|
||||
</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>
|
||||
</Project>
|
||||
@@ -37,6 +37,14 @@
|
||||
<Otherwise>
|
||||
<PropertyGroup>
|
||||
<WinPixEventRuntimeVersion>winpixeventruntime.1.0.220810001</WinPixEventRuntimeVersion>
|
||||
|
||||
<!--
|
||||
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>
|
||||
<ItemGroup>
|
||||
<None Include="Libraries\x64\WinPixEventRuntime.dll"
|
||||
@@ -66,17 +74,4 @@
|
||||
</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>
|
||||
</Project>
|
||||
@@ -15,11 +15,6 @@
|
||||
<NoWarn>$(NoWarn);NETSDK1023</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<Description>A UWP library with controls to render DX12 shaders powered by ComputeSharp</Description>
|
||||
<PackageTags>$(PackageTags) uwp winui</PackageTags>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ComputeSharp\ComputeSharp.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
@@ -6,11 +6,6 @@
|
||||
<RuntimeIdentifiers>win10-x64;win10-arm64</RuntimeIdentifiers>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<Description>A WinUI 3 library with controls to render DX12 shaders powered by ComputeSharp</Description>
|
||||
<PackageTags>$(PackageTags) winui winui3 wasdk</PackageTags>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.3.230331000" />
|
||||
</ItemGroup>
|
||||
|
||||
@@ -35,9 +35,4 @@
|
||||
|
||||
<!-- Shared project with TerraFX.Interop.Windows fork -->
|
||||
<Import Condition="'$(TargetFramework)' == 'netstandard2.0'" Project="..\TerraFX.Interop.Windows\TerraFX.Interop.Windows.projitems" Label="Shared" />
|
||||
|
||||
<!-- NuGet package info -->
|
||||
<PropertyGroup Label="Package">
|
||||
<Description>A library to run C# code in parallel on the GPU through DX12 and dynamically generated HLSL compute shaders</Description>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
+41
-3
@@ -1,7 +1,45 @@
|
||||
<Project>
|
||||
<Import Project="..\build\Directory.Build.props" />
|
||||
|
||||
<!-- General properties for published projects-->
|
||||
<!-- Centralized packaging metadata for published projects -->
|
||||
<PropertyGroup Condition="$(IsPackagedProject)">
|
||||
|
||||
<!-- Package descriptions-->
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp'">
|
||||
<![CDATA[A library to run C# code in parallel on the GPU through DX12 and dynamically generated HLSL compute shaders.]]>
|
||||
</Description>
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp.Core'">
|
||||
<![CDATA[A library containing basic primitives to support ComputeSharp (this package is not supposed to be referenced directly by developers).]]>
|
||||
</Description>
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp.D2D1'">
|
||||
<![CDATA[A library to write D2D1 pixel shaders entirely with C# code, and to easily register and create ID2D1Effect-s from them.]]>
|
||||
</Description>
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp.D2D1.Uwp'">
|
||||
<![CDATA[A UWP library with APIs to leverage D2D1 functionality with D2D1 pixel shaders powered by ComputeSharp.D2D1.]]>
|
||||
</Description>
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp.D2D1.WinUI'">
|
||||
<![CDATA[A WinUI 3 library with APIs to leverage D2D1 functionality with D2D1 pixel shaders powered by ComputeSharp.D2D1.]]>
|
||||
</Description>
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp.Dynamic'">
|
||||
<![CDATA[An extension library for ComputeSharp to enable dynamic compilation of shaders at runtime.]]>
|
||||
</Description>
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp.Pix'">
|
||||
<![CDATA[An extension library for ComputeSharp to enable PIX support to produce debugging information.]]>
|
||||
</Description>
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp.Uwp'">
|
||||
<![CDATA[A UWP library with controls to render DX12 shaders powered by ComputeSharp.]]>
|
||||
</Description>
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp.WinUI'">
|
||||
<![CDATA[A WinUI 3 library with controls to render DX12 shaders powered by ComputeSharp.]]>
|
||||
</Description>
|
||||
|
||||
<!-- Package tags -->
|
||||
<PackageTags Condition="$(MSBuildProjectName.Contains('.D2D1'))">$(PackageTags) d2d d2d1 direct2d pixel</PackageTags>
|
||||
<PackageTags Condition="$(MSBuildProjectName.EndsWith('.Uwp'))">$(PackageTags) uwp winui</PackageTags>
|
||||
<PackageTags Condition="$(MSBuildProjectName.EndsWith('.WinUI'))">$(PackageTags) winui winui3 wasdk</PackageTags>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Additional properties for all source projects-->
|
||||
<PropertyGroup>
|
||||
|
||||
<!-- Generate documentation files (only for published, non source generator projects) -->
|
||||
@@ -21,10 +59,10 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Additional items for published projects -->
|
||||
<ItemGroup Label="Package">
|
||||
<ItemGroup Condition="$(IsPackagedProject)" Label="Package">
|
||||
|
||||
<!-- Pack the NuGet icon file -->
|
||||
<None Condition="$(IsPackagedProject)" Include="$(MSBuildThisFileDirectory)..\assets\icon.png" Pack="true" PackagePath="\" Visible="False" />
|
||||
<None Include="$(MSBuildThisFileDirectory)..\assets\icon.png" Pack="true" PackagePath="\" Visible="False" />
|
||||
|
||||
<!-- Pack .targets files, if present -->
|
||||
<None Condition="$(IsTargetsFileAvailableForPacking)" Include="$(MSBuildProjectName).targets" PackagePath="buildTransitive" Pack="true" />
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする