Skip to content

Commit 667c061

Browse files
authored
Merge pull request #9 from willysoft/feat/enhance-debugging-and-packaging
feat: enhance project configurations for improved debugging and packa…
2 parents 08627cd + 9ff6685 commit 667c061

6 files changed

Lines changed: 42 additions & 29 deletions

File tree

sample/AutoQueryApiDemo/AutoQueryApiDemo.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFramework>net8.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
7-
<IsPackable>false</IsPackable>
7+
<IsPackable>false</IsPackable>
88
</PropertyGroup>
99

1010
<ItemGroup>

sample/AutoQueryDemo/AutoQueryDemo.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<TargetFramework>net8.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8-
<IsPackable>false</IsPackable>
8+
<IsPackable>false</IsPackable>
99
</PropertyGroup>
1010

1111
<ItemGroup>

src/AutoQuery.AspNetCore/AutoQuery.AspNetCore.csproj

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,30 @@
88
<RootNamespace>AutoQuery.AspNetCore</RootNamespace>
99

1010
<!-- NuGet Packaging -->
11-
<Id>AutoQuery.AspNetCore</Id>
12-
<PackageVersion>$(Version)</PackageVersion>
13-
<Company>Willy</Company>
14-
<Authors>Willy</Authors>
15-
<Copyright>© Willy Wang.</Copyright>
16-
<PackageTags>aspnetcore;query;filtering;pagination;middleware</PackageTags>
17-
<Description>AutoQuery.AspNetCore extends AutoQuery with seamless integration into ASP.NET Core applications. It enables dynamic query processing, filtering, and pagination with minimal configuration, enhancing API flexibility and performance.</Description>
18-
<PackageProjectUrl>https://github.com/willysoft/AutoQuery</PackageProjectUrl>
19-
<RepositoryUrl>$(PackageProjectUrl)</RepositoryUrl>
20-
<RepositoryType>git</RepositoryType>
21-
<SignAssembly>true</SignAssembly>
22-
<AssemblyOriginatorKeyFile>..\..\opensource.snk</AssemblyOriginatorKeyFile>
23-
<IsPackable>true</IsPackable>
24-
<PackageReadmeFile>README.md</PackageReadmeFile>
25-
<PackageLicenseFile>LICENSE</PackageLicenseFile>
11+
<Id>AutoQuery.AspNetCore</Id>
12+
<PackageVersion>$(Version)</PackageVersion>
13+
<Company>Willy</Company>
14+
<Authors>Willy</Authors>
15+
<Copyright>© Willy Wang.</Copyright>
16+
<PackageTags>aspnetcore;query;filtering;pagination;middleware</PackageTags>
17+
<Description>AutoQuery.AspNetCore extends AutoQuery with seamless integration into ASP.NET Core applications. It enables dynamic query processing, filtering, and pagination with minimal configuration, enhancing API flexibility and performance.</Description>
18+
<PackageProjectUrl>https://github.com/willysoft/AutoQuery</PackageProjectUrl>
19+
<RepositoryUrl>$(PackageProjectUrl)</RepositoryUrl>
20+
<RepositoryType>git</RepositoryType>
21+
<SignAssembly>true</SignAssembly>
22+
<AssemblyOriginatorKeyFile>..\..\opensource.snk</AssemblyOriginatorKeyFile>
23+
<IsPackable>true</IsPackable>
24+
<PackageReadmeFile>README.md</PackageReadmeFile>
25+
<PackageLicenseFile>LICENSE</PackageLicenseFile>
26+
<IncludeSymbols>true</IncludeSymbols>
27+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
28+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
29+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
2630
</PropertyGroup>
2731

2832
<ItemGroup>
2933
<FrameworkReference Include="Microsoft.AspNetCore.App" />
34+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/>
3035
</ItemGroup>
3136

3237
<ItemGroup>

src/AutoQuery/AutoQuery.csproj

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,30 @@
1313
<Company>Willy</Company>
1414
<Authors>Willy</Authors>
1515
<Copyright>© Willy Wang.</Copyright>
16-
<PackageTags>query;filtering;pagination;expression-trees</PackageTags>
17-
<Description>AutoQuery is a library for building dynamic queries, filtering, and pagination using expression trees. It provides a flexible and extensible way to handle complex query scenarios in .NET applications.</Description>
18-
<PackageProjectUrl>https://github.com/willysoft/AutoQuery</PackageProjectUrl>
16+
<PackageTags>query;filtering;pagination;expression-trees</PackageTags>
17+
<Description>AutoQuery is a library for building dynamic queries, filtering, and pagination using expression trees. It provides a flexible and extensible way to handle complex query scenarios in .NET applications.</Description>
18+
<PackageProjectUrl>https://github.com/willysoft/AutoQuery</PackageProjectUrl>
1919
<RepositoryUrl>$(PackageProjectUrl)</RepositoryUrl>
2020
<RepositoryType>git</RepositoryType>
2121
<SignAssembly>true</SignAssembly>
2222
<AssemblyOriginatorKeyFile>..\..\opensource.snk</AssemblyOriginatorKeyFile>
2323
<IsPackable>true</IsPackable>
2424
<PackageReadmeFile>README.md</PackageReadmeFile>
2525
<PackageLicenseFile>LICENSE</PackageLicenseFile>
26+
<IncludeSymbols>true</IncludeSymbols>
27+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
28+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
29+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
2630
</PropertyGroup>
2731

2832
<ItemGroup>
2933
<InternalsVisibleTo Include="AutoQuery.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100bd24aa80c429bd4917c9458ea0a1ecb348b858c35422054e85391ed1f4c51c118662187ff2ceb0d32ba66769c91f1bbd38f4f06958dde60efbbd6c4e84cfdbf5dd1ab7c3ae567cc506a10635fee409390465d1a987248295314a896da6ba65bc5ea3247a766b096b1ddfcc68f28bbeccb1c095f0d7f4ae007f3415201a597197" />
3034
</ItemGroup>
3135

36+
<ItemGroup>
37+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/>
38+
</ItemGroup>
39+
3240
<ItemGroup>
3341
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
3442
<None Include="..\..\LICENSE" Pack="true" PackagePath="" />

test/AutoQuery.AspNetCore.Tests/AutoQuery.AspNetCore.Tests.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414

1515
<ItemGroup>
1616
<PackageReference Include="coverlet.collector" Version="6.0.0" />
17-
<PackageReference Include="coverlet.msbuild" Version="6.0.3">
18-
<PrivateAssets>all</PrivateAssets>
19-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
20-
</PackageReference>
17+
<PackageReference Include="coverlet.msbuild" Version="6.0.3">
18+
<PrivateAssets>all</PrivateAssets>
19+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
20+
</PackageReference>
2121
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
2222
<PackageReference Include="Moq" Version="4.20.72" />
2323
<PackageReference Include="xunit" Version="2.5.3" />

test/AutoQuery.Tests/AutoQuery.Tests.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
</PropertyGroup>
1414

1515
<ItemGroup>
16-
<PackageReference Include="coverlet.collector" Version="6.0.0" />
17-
<PackageReference Include="coverlet.msbuild" Version="6.0.3">
18-
<PrivateAssets>all</PrivateAssets>
19-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
20-
</PackageReference>
16+
<PackageReference Include="coverlet.collector" Version="6.0.0" />
17+
<PackageReference Include="coverlet.msbuild" Version="6.0.3">
18+
<PrivateAssets>all</PrivateAssets>
19+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
20+
</PackageReference>
2121
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
2222
<PackageReference Include="Moq" Version="4.20.72" />
2323
<PackageReference Include="xunit" Version="2.5.3" />

0 commit comments

Comments
 (0)