Centralize more NuGet/package info in .props file

このコミットが含まれているのは:
Sergio Pedri committed 2023-04-22 03:06:26 +02:00
1 親 5c07089cb3
コミット 4f67284158
14ファイル変更
+21 -32

検索条件に一致するファイルはありません

+19 -2
ファイルの表示
@@ -90,8 +90,11 @@
<VersionSuffix Condition="'$(GITHUB_EVENT_NAME)' == 'pull_request' AND '$(IsCommitOnReleaseBranch)' != 'true'">pr</VersionSuffix>
</PropertyGroup>
<!-- NuGet info and basic configuration -->
<PropertyGroup>
<ContinuousIntegrationBuild Condition="'$(GITHUB_RUN_ID)' != ''">true</ContinuousIntegrationBuild>
<PackageId>$(MSBuildProjectName)</PackageId>
<Title>$(MSBuildProjectName)</Title>
<RepositoryUrl>https://github.com/Sergio0694/ComputeSharp/</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
@@ -105,7 +108,6 @@
<PackageIcon>icon.png</PackageIcon>
<PackageIconUrl>https://user-images.githubusercontent.com/10199417/110238403-b8811080-7f41-11eb-8cfe-e47e7e58f05b.png</PackageIconUrl>
<PackageTags>dotnet net netcore netstandard csharp library graphics directx shader hlsl compute gpu performance parallel windows</PackageTags>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup>
@@ -127,7 +129,11 @@
<PropertyGroup>
<ProjectDirectoryPathFromSourceRoot>$([MSBuild]::MakeRelative('$(MSBuildThisFileDirectory)..\', $(MSBuildProjectDirectory)))</ProjectDirectoryPathFromSourceRoot>
<IsPublishedProject>$(ProjectDirectoryPathFromSourceRoot.StartsWith('src\'))</IsPublishedProject>
<IsTestProject>$(ProjectDirectoryPathFromSourceRoot.StartsWith('tests\'))</IsTestProject>
<IsSourceGeneratorProject>false</IsSourceGeneratorProject>
<IsSourceGeneratorProject Condition="$(IsPublishedProject) AND $(MSBuildProjectName.EndsWith('.SourceGenerators'))">true</IsSourceGeneratorProject>
<IsPackagedProject>false</IsPackagedProject>
<IsPackagedProject Condition="$(IsPublishedProject) AND !$(IsSourceGeneratorProject)">true</IsPackagedProject>
<IsTestProject>$(ProjectDirectoryPathFromSourceRoot.StartsWith('tests\'))</IsTestProject>
<IsInternalsTestProject>false</IsInternalsTestProject>
<IsInternalsTestProject Condition="$(IsTestProject) AND $(MSBuildProjectName.EndsWith('.Internals'))">true</IsInternalsTestProject>
</PropertyGroup>
@@ -138,4 +144,15 @@
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)..\build\computesharp.snk</AssemblyOriginatorKeyFile>
<AssemblySignPublicKey>00240000048000009400000006020000002400005253413100040000010001001DA244ACFEE0D02ADF2D7F464B5E2562BB1AEF50B32DCD8B2DADEC659A5ED8B6C5817B03EB5E723067718A7972C936F626879DCE8E85636E7812B92CAB100D4947E3E6655AD49359E279A09F34B65E5ECA5FD5D8941C70BD48E56D8739A3BFF4F1C85071B7494D0B3A692F16CA6CC40585BCA8AD5B24BB2E7B834F15B6E667BB</AssemblySignPublicKey>
</PropertyGroup>
<!-- Other general properties for published projects-->
<PropertyGroup>
<!-- Generate documentation files (only for published, non source generator projects) -->
<GenerateDocumentationFile Condition="$(IsPackagedProject)">true</GenerateDocumentationFile>
<DocumentationFile Condition="'$(GenerateDocumentationFile)' == 'true'">$(MSBuildProjectName).xml</DocumentationFile>
<!-- Disable packing symbols for source generators -->
<PackSymbols Condition="$(IsSourceGeneratorProject)">false</PackSymbols>
</PropertyGroup>
</Project>
+1 -1
ファイルの表示
@@ -5,7 +5,7 @@
<TargetFramework>net6.0</TargetFramework>
<Platforms>x64;ARM64</Platforms>
<DefineConstants>$(DefineConstants);SAMPLE_APP</DefineConstants>
<NoWarn>$(NoWarn);CA1416</NoWarn>
<NoWarn>$(NoWarn);CA1416;IDE0210</NoWarn>
</PropertyGroup>
<ItemGroup>
-2
ファイルの表示
@@ -1,8 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<PackSymbols>false</PackSymbols>
<Description>ComputeSharp.Core.SourceGenerators</Description>
<NoWarn>$(NoWarn);CS1591;CS0649;CS1574</NoWarn>
</PropertyGroup>
-2
ファイルの表示
@@ -1,8 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<OutputPath>bin\Release</OutputPath>
<DocumentationFile>ComputeSharp.Core.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
-2
ファイルの表示
@@ -1,8 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<PackSymbols>false</PackSymbols>
<Description>ComputeSharp.D2D1.SourceGenerators</Description>
<NoWarn>$(NoWarn);CS1591;CS0649;CS1574</NoWarn>
</PropertyGroup>
-3
ファイルの表示
@@ -12,15 +12,12 @@
<IsPublishable>true</IsPublishable>
<ExtrasEnableDefaultXamlItems>true</ExtrasEnableDefaultXamlItems>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<RootNamespace>ComputeSharp.D2D1.Uwp</RootNamespace>
<Platforms>x64;ARM64</Platforms>
<RuntimeIdentifiers>win10-x64;win-arm64</RuntimeIdentifiers>
<NoWarn>$(NoWarn);NETSDK1023</NoWarn>
</PropertyGroup>
<PropertyGroup>
<PackageId>ComputeSharp.D2D1.Uwp</PackageId>
<Title>ComputeSharp.D2D1.Uwp</Title>
<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>
-3
ファイルの表示
@@ -2,7 +2,6 @@
<PropertyGroup>
<TargetFramework>net6.0-windows10.0.22621.0</TargetFramework>
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
<RootNamespace>ComputeSharp.D2D1.WinUI</RootNamespace>
<Platforms>x64;ARM64</Platforms>
<RuntimeIdentifiers>win10-x64;win10-arm64</RuntimeIdentifiers>
</PropertyGroup>
@@ -20,8 +19,6 @@
</PropertyGroup>
<PropertyGroup>
<PackageId>ComputeSharp.D2D1.WinUI</PackageId>
<Title>ComputeSharp.D2D1.WinUI</Title>
<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>
-2
ファイルの表示
@@ -1,8 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<OutputPath>bin\Release</OutputPath>
<DocumentationFile>ComputeSharp.D2D1.xml</DocumentationFile>
<SupportedOSVersion>windows6.1</SupportedOSVersion>
</PropertyGroup>
-2
ファイルの表示
@@ -1,8 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<OutputPath>bin\Release</OutputPath>
<DocumentationFile>ComputeSharp.Dynamic.xml</DocumentationFile>
<Platforms>AnyCPU;x64;ARM64</Platforms>
<SupportedOSVersion>windows6.2</SupportedOSVersion>
</PropertyGroup>
+1 -3
ファイルの表示
@@ -1,8 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<OutputPath>bin\Release</OutputPath>
<DocumentationFile>ComputeSharp.Pix.xml</DocumentationFile>
<Platforms>AnyCPU;x64;ARM64</Platforms>
<SupportedOSVersion>windows6.2</SupportedOSVersion>
</PropertyGroup>
-2
ファイルの表示
@@ -1,8 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<PackSymbols>false</PackSymbols>
<Description>ComputeSharp.SourceGenerators</Description>
<NoWarn>$(NoWarn);CS1591;CS0649;CS1574</NoWarn>
</PropertyGroup>
-3
ファイルの表示
@@ -12,15 +12,12 @@
<IsPublishable>true</IsPublishable>
<ExtrasEnableDefaultXamlItems>true</ExtrasEnableDefaultXamlItems>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<RootNamespace>ComputeSharp.Uwp</RootNamespace>
<Platforms>x64;ARM64</Platforms>
<RuntimeIdentifiers>win10-x64;win-arm64</RuntimeIdentifiers>
<NoWarn>$(NoWarn);NETSDK1023</NoWarn>
</PropertyGroup>
<PropertyGroup>
<PackageId>ComputeSharp.Uwp</PackageId>
<Title>ComputeSharp.Uwp</Title>
<Description>A UWP library with controls to render DX12 shaders powered by ComputeSharp</Description>
<PackageTags>$(PackageTags) uwp winui</PackageTags>
</PropertyGroup>
-3
ファイルの表示
@@ -2,14 +2,11 @@
<PropertyGroup>
<TargetFramework>net6.0-windows10.0.22621.0</TargetFramework>
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
<RootNamespace>ComputeSharp.WinUI</RootNamespace>
<Platforms>x64;ARM64</Platforms>
<RuntimeIdentifiers>win10-x64;win10-arm64</RuntimeIdentifiers>
</PropertyGroup>
<PropertyGroup>
<PackageId>ComputeSharp.WinUI</PackageId>
<Title>ComputeSharp.WinUI</Title>
<Description>A WinUI 3 library with controls to render DX12 shaders powered by ComputeSharp</Description>
<PackageTags>$(PackageTags) winui winui3 wasdk</PackageTags>
</PropertyGroup>
-2
ファイルの表示
@@ -1,8 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<OutputPath>bin\Release</OutputPath>
<DocumentationFile>ComputeSharp.xml</DocumentationFile>
<SupportedOSVersion>windows6.2</SupportedOSVersion>
</PropertyGroup>