Skip to content

Commit 8560926

Browse files
committed
Give each project its own package metadata and make Internal.AspNet packable
Move the package Description out of Directory.Build.props into each csproj so every package describes itself. Convert Internal.AspNet from the Web SDK (which disables packaging) to Microsoft.NET.Sdk with a Microsoft.AspNetCore.App framework reference so it builds and packs as a proper library.
1 parent 1b1819c commit 8560926

4 files changed

Lines changed: 8 additions & 2 deletions

File tree

Directory.Build.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
<Title>$(Product)</Title>
88
<Authors>OpenShock</Authors>
9-
<Description>Internal shared .NET libraries for the OpenShock backend</Description>
109
<RepositoryUrl>https://github.com/OpenShock/Internal.Net</RepositoryUrl>
1110
<PackageProjectUrl>https://openshock.org</PackageProjectUrl>
1211
<PackageId>$(Product.Replace(" ", "_"))</PackageId>

Internal.AspNet/Internal.AspNet.csproj

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1-
<Project Sdk="Microsoft.NET.Sdk.Web">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Library</OutputType>
4+
<Description>ASP.NET Core extensions (controllers, exception handling, problem details) for the OpenShock backend.</Description>
45
</PropertyGroup>
56

7+
<ItemGroup>
8+
<FrameworkReference Include="Microsoft.AspNetCore.App" />
9+
</ItemGroup>
10+
611
<ItemGroup>
712
<ProjectReference Include="..\Internal.Common\Internal.Common.csproj" />
813
</ItemGroup>

Internal.Common/Internal.Common.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Library</OutputType>
4+
<Description>Shared utilities, validation, cryptography, and geolocation helpers for the OpenShock backend.</Description>
45
</PropertyGroup>
56

67
<ItemGroup>

Internal.DynamicLinq/Internal.DynamicLinq.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Library</OutputType>
4+
<Description>Dynamic LINQ query builder for PostgreSQL via EF Core, used by the OpenShock backend.</Description>
45
</PropertyGroup>
56

67
<ItemGroup>

0 commit comments

Comments
 (0)