build: share static NuGet package metadata across packages and drop Silicon Studio attribution

This commit is contained in:
Virgile Bello
2026-06-29 17:53:29 +09:00
parent ea3f9e616d
commit 56a4133e55
3 changed files with 26 additions and 10 deletions
@@ -9,7 +9,12 @@
<PackAsTool>true</PackAsTool>
<ToolCommandName>stride</ToolCommandName>
<PackageId>Stride.Cli</PackageId>
<Version>1.0.0</Version>
<Description>Command-line tool for Stride: install Stride versions and create, build, and manage Stride projects.</Description>
<PackageTags>stride;gamedev;cli;dotnet-tool</PackageTags>
</PropertyGroup>
<!-- License, project/repository URL, icon, copyright and authors shared with the engine packages. -->
<Import Project="..\..\sdk\Stride.Build.Sdk\Stride.PackageMetadata.props" />
<ItemGroup>
<PackageReference Include="System.CommandLine" />
</ItemGroup>
@@ -9,14 +9,11 @@
<!-- StrideNuGetVersion (+ parts) from SharedAssemblyInfo[.Generated].cs; shared with Stride.Templates.Common.targets. -->
<Import Project="$(StrideRoot)sources\targets\Stride.NuGetVersion.props" />
<!-- Static (non-version) metadata, shared with standalone packages such as Stride.Cli. -->
<Import Project="$(MSBuildThisFileDirectory)..\Stride.PackageMetadata.props" />
<PropertyGroup>
<PackageVersion Condition=" '$(PackageVersion)' == '' ">$(StrideNuGetVersion)</PackageVersion>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://stride3d.net</PackageProjectUrl>
<PackageIcon>nuget-icon.png</PackageIcon>
<RepositoryUrl>https://github.com/stride3d/stride</RepositoryUrl>
<Copyright>Copyright © Stride contributors and Silicon Studio Corp.</Copyright>
<Authors>Stride contributors;Silicon Studio Corp.</Authors>
<PackageTags>Stride;3D;gamedev;Game Engine;engine;games;D3D;Vulkan</PackageTags>
</PropertyGroup>
@@ -27,10 +24,6 @@
<ContinuousIntegrationBuild Condition="'$(CI)' == 'true'">true</ContinuousIntegrationBuild>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)../nuget-icon.png" Pack="true" PackagePath="" Visible="false"/>
</ItemGroup>
<!-- Per-checkout NuGet version suffix (producer side). StrideWorktreeSuffix is resolved by
StrideEnsureWorktreeVersion in Stride.WorktreeVersion.targets — empty on CI, package
builds, and the primary checkout; "-devN" on additional checkouts. Append it to
@@ -0,0 +1,18 @@
<Project>
<!-- Static (non-version) NuGet metadata shared by every packable Stride project. Imported by the
Stride.Build.Sdk (Stride.PackageInfo.targets) and by standalone packages such as Stride.Cli. -->
<PropertyGroup>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://stride3d.net</PackageProjectUrl>
<PackageIcon>nuget-icon.png</PackageIcon>
<RepositoryUrl>https://github.com/stride3d/stride</RepositoryUrl>
<Copyright>Copyright © Stride contributors</Copyright>
<Authors>Stride contributors</Authors>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)nuget-icon.png" Pack="true" PackagePath="" Visible="false" />
</ItemGroup>
</Project>