Skip to content

Commit 808583b

Browse files
committed
feat: enhance project configurations for improved debugging and packaging
- Marked `LocalPortFilteringDemo` project as non-packable to exclude it from NuGet packaging. - Updated `LocalPortFiltering.AspNetCore` project: - Enabled symbol package generation (`snupkg`) for better debugging. - Embedded untracked sources to improve debugging experience. - Published repository URL for source control integration. - Added `Microsoft.SourceLink.GitHub` for enhanced source linking in debugging.
1 parent 2488ec4 commit 808583b

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

sample/LocalPortFilteringDemo/LocalPortFilteringDemo.csproj

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

910
<ItemGroup>

src/LocalPortFiltering.AspNetCore/LocalPortFiltering.AspNetCore.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,15 @@
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
<FrameworkReference Include="Microsoft.AspNetCore.App" />
34+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/>
3035
</ItemGroup>
3136

3237
<ItemGroup>

0 commit comments

Comments
 (0)