refactor(sdk): colocate projects with package contents
Some checks failed
CI / build (push) Has been cancelled

This commit is contained in:
Louis Seubert 2026-10-21 21:03:59 +02:00
commit a5d204af96
Signed by: louis9902
GPG key ID: 4B9DB28F826553BD
10 changed files with 87 additions and 80 deletions

View file

@ -1,6 +1,7 @@
<Solution>
<Project Path="src/sdk/Geekeey.Arcade.NET.Sdk.csproj" />
<Project Path="src/sdk/Geekeey.Arcade.NET.Sdk.Razor.csproj" />
<Project Path="src/sdk/Geekeey.Arcade.NET.Sdk.Test.csproj" />
<Project Path="src/sdk/Geekeey.Arcade.NET.Sdk.Web.csproj" />
<Project Path="src/sdk/Sdk/Geekeey.Arcade.NET.Sdk/Geekeey.Arcade.NET.Sdk.csproj" />
<Project Path="src/sdk/Sdk/Geekeey.Arcade.NET.Sdk.Razor/Geekeey.Arcade.NET.Sdk.Razor.csproj" />
<Project Path="src/sdk/Sdk/Geekeey.Arcade.NET.Sdk.Test/Geekeey.Arcade.NET.Sdk.Test.csproj" />
<Project Path="src/sdk/Sdk/Geekeey.Arcade.NET.Sdk.Web/Geekeey.Arcade.NET.Sdk.Web.csproj" />
<Project Path="src/sdk.tests/Geekeey.Arcade.NET.Tests.csproj" />
</Solution>

View file

@ -1,19 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<NoBuild>true</NoBuild>
<IncludeBuildOutput>false</IncludeBuildOutput>
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<IncludeSymbols>false</IncludeSymbols>
<Description>MSBuild SDK for Razor class library and Blazor projects with standardized build, analyzer, and editor configuration defaults.</Description>
</PropertyGroup>
<ItemGroup>
<None Include="Sdk/Geekeey.Arcade.NET.Sdk.Razor/Sdk.props" Pack="true" PackagePath="Sdk/Sdk.props" />
<None Include="Sdk/Geekeey.Arcade.NET.Sdk.Razor/Sdk.targets" Pack="true" PackagePath="Sdk/Sdk.targets" />
<None Include="Sdk/Geekeey.Arcade.NET.Sdk.Razor/Geekeey.Arcade.NET.Sdk.Razor.editorconfig" Pack="true" PackagePath="configuration/Geekeey.Arcade.NET.Sdk.Razor.editorconfig" />
<None Include="common/Common.props" Pack="true" PackagePath="common/Common.props" />
<None Include="common/Common.targets" Pack="true" PackagePath="common/Common.targets" />
<None Include="configuration/**/*" Pack="true" PackagePath="configuration/%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>
</Project>

View file

@ -1,19 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<NoBuild>true</NoBuild>
<IncludeBuildOutput>false</IncludeBuildOutput>
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<IncludeSymbols>false</IncludeSymbols>
<Description>MSBuild SDK for test projects with standardized build, analyzer, and editor configuration defaults.</Description>
</PropertyGroup>
<ItemGroup>
<None Include="Sdk/Geekeey.Arcade.NET.Sdk.Test/Sdk.props" Pack="true" PackagePath="Sdk/Sdk.props" />
<None Include="Sdk/Geekeey.Arcade.NET.Sdk.Test/Sdk.targets" Pack="true" PackagePath="Sdk/Sdk.targets" />
<None Include="Sdk/Geekeey.Arcade.NET.Sdk.Test/Geekeey.Arcade.NET.Sdk.Test.editorconfig" Pack="true" PackagePath="configuration/Geekeey.Arcade.NET.Sdk.Test.editorconfig" />
<None Include="common/Common.props" Pack="true" PackagePath="common/Common.props" />
<None Include="common/Common.targets" Pack="true" PackagePath="common/Common.targets" />
<None Include="configuration/**/*" Pack="true" PackagePath="configuration/%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>
</Project>

View file

@ -1,19 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<NoBuild>true</NoBuild>
<IncludeBuildOutput>false</IncludeBuildOutput>
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<IncludeSymbols>false</IncludeSymbols>
<Description>MSBuild SDK for ASP.NET Core web projects with standardized build, analyzer, and editor configuration defaults.</Description>
</PropertyGroup>
<ItemGroup>
<None Include="Sdk/Geekeey.Arcade.NET.Sdk.Web/Sdk.props" Pack="true" PackagePath="Sdk//Sdk.props" />
<None Include="Sdk/Geekeey.Arcade.NET.Sdk.Web/Sdk.targets" Pack="true" PackagePath="Sdk/Sdk.targets" />
<None Include="Sdk/Geekeey.Arcade.NET.Sdk.Web/Geekeey.Arcade.NET.Sdk.Web.editorconfig" Pack="true" PackagePath="configuration/Geekeey.Arcade.NET.Sdk.Web.editorconfig" />
<None Include="common/Common.props" Pack="true" PackagePath="common/Common.props" />
<None Include="common/Common.targets" Pack="true" PackagePath="common/Common.targets" />
<None Include="configuration/**/*" Pack="true" PackagePath="configuration/%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>
</Project>

View file

@ -1,19 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<NoBuild>true</NoBuild>
<IncludeBuildOutput>false</IncludeBuildOutput>
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<IncludeSymbols>false</IncludeSymbols>
<Description>MSBuild SDK for .NET projects with standardized build, analyzer, and editor configuration defaults.</Description>
</PropertyGroup>
<ItemGroup>
<None Include="Sdk/Geekeey.Arcade.NET.Sdk/Sdk.props" Pack="true" PackagePath="Sdk/Sdk.props" />
<None Include="Sdk/Geekeey.Arcade.NET.Sdk/Sdk.targets" Pack="true" PackagePath="Sdk/Sdk.targets" />
<None Include="Sdk/Geekeey.Arcade.NET.Sdk/Geekeey.Arcade.NET.Sdk.editorconfig" Pack="true" PackagePath="configuration/Geekeey.Arcade.NET.Sdk.editorconfig" />
<None Include="common/Common.props" Pack="true" PackagePath="common/Common.props" />
<None Include="common/Common.targets" Pack="true" PackagePath="common/Common.targets" />
<None Include="configuration/**/*" Pack="true" PackagePath="configuration/%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>
</Project>

View file

@ -21,3 +21,5 @@ Set these properties in your project file or a directory-level props file. Unles
| `PackageReadmeFile` | `PACKAGE.md` when found | Packs a `PACKAGE.md` file from the project directory as the package readme. Not packed: `README.md` is for repository visitors. |
| `SearchReadmeFileAbove` | `false` | When `true`, searches parent directories for a `PACKAGE.md` to pack. |
| `PackageLicenseFile` | Detected license file | Packs and declares a `LICENSE.txt`, `LICENSE.md` or `LICENSE` file found in the project directory or a parent directory. Skipped when the project sets `PackageLicenseExpression` or `PackageLicenseFile`. |
Within this repository, each SDK project lives alongside its package contents in `Sdk/<PackageId>/`, so its `PACKAGE.md` is discovered automatically.

View file

@ -0,0 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<NoBuild>true</NoBuild>
<IncludeBuildOutput>false</IncludeBuildOutput>
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<IncludeSymbols>false</IncludeSymbols>
<Description>MSBuild SDK for Razor class library and Blazor projects with standardized build, analyzer, and editor configuration defaults.</Description>
</PropertyGroup>
<ItemGroup>
<None Include="Sdk.props" Pack="true" PackagePath="Sdk/Sdk.props" />
<None Include="Sdk.targets" Pack="true" PackagePath="Sdk/Sdk.targets" />
<None Include="Geekeey.Arcade.NET.Sdk.Razor.editorconfig" Pack="true" PackagePath="configuration/Geekeey.Arcade.NET.Sdk.Razor.editorconfig" />
<None Include="../../common/Common.props" Pack="true" PackagePath="common/Common.props" />
<None Include="../../common/Common.targets" Pack="true" PackagePath="common/Common.targets" />
<None Include="../../configuration/**/*" Pack="true" PackagePath="configuration/%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>
</Project>

View file

@ -0,0 +1,23 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<NoBuild>true</NoBuild>
<IncludeBuildOutput>false</IncludeBuildOutput>
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<IncludeSymbols>false</IncludeSymbols>
<IsPackable>true</IsPackable>
<!-- The packaging project is not a testing platform application itself: the Microsoft.Testing.Platform
package flows to consumers and defaults 'IsTestingPlatformApplication' to true there. -->
<IsTestingPlatformApplication>false</IsTestingPlatformApplication>
<Description>MSBuild SDK for test projects with standardized build, analyzer, and editor configuration defaults.</Description>
</PropertyGroup>
<ItemGroup>
<None Include="Sdk.props" Pack="true" PackagePath="Sdk/Sdk.props" />
<None Include="Sdk.targets" Pack="true" PackagePath="Sdk/Sdk.targets" />
<None Include="Geekeey.Arcade.NET.Sdk.Test.editorconfig" Pack="true" PackagePath="configuration/Geekeey.Arcade.NET.Sdk.Test.editorconfig" />
<None Include="../../common/Common.props" Pack="true" PackagePath="common/Common.props" />
<None Include="../../common/Common.targets" Pack="true" PackagePath="common/Common.targets" />
<None Include="../../configuration/**/*" Pack="true" PackagePath="configuration/%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>
</Project>

View file

@ -0,0 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<NoBuild>true</NoBuild>
<IncludeBuildOutput>false</IncludeBuildOutput>
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<IncludeSymbols>false</IncludeSymbols>
<Description>MSBuild SDK for ASP.NET Core web projects with standardized build, analyzer, and editor configuration defaults.</Description>
</PropertyGroup>
<ItemGroup>
<None Include="Sdk.props" Pack="true" PackagePath="Sdk/Sdk.props" />
<None Include="Sdk.targets" Pack="true" PackagePath="Sdk/Sdk.targets" />
<None Include="Geekeey.Arcade.NET.Sdk.Web.editorconfig" Pack="true" PackagePath="configuration/Geekeey.Arcade.NET.Sdk.Web.editorconfig" />
<None Include="../../common/Common.props" Pack="true" PackagePath="common/Common.props" />
<None Include="../../common/Common.targets" Pack="true" PackagePath="common/Common.targets" />
<None Include="../../configuration/**/*" Pack="true" PackagePath="configuration/%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>
</Project>

View file

@ -0,0 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<NoBuild>true</NoBuild>
<IncludeBuildOutput>false</IncludeBuildOutput>
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<IncludeSymbols>false</IncludeSymbols>
<Description>MSBuild SDK for .NET projects with standardized build, analyzer, and editor configuration defaults.</Description>
</PropertyGroup>
<ItemGroup>
<None Include="Sdk.props" Pack="true" PackagePath="Sdk/Sdk.props" />
<None Include="Sdk.targets" Pack="true" PackagePath="Sdk/Sdk.targets" />
<None Include="Geekeey.Arcade.NET.Sdk.editorconfig" Pack="true" PackagePath="configuration/Geekeey.Arcade.NET.Sdk.editorconfig" />
<None Include="../../common/Common.props" Pack="true" PackagePath="common/Common.props" />
<None Include="../../common/Common.targets" Pack="true" PackagePath="common/Common.targets" />
<None Include="../../configuration/**/*" Pack="true" PackagePath="configuration/%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>
</Project>