Skip to content

Commit 16e2d99

Browse files
committed
SourceLink added
1 parent 016ca5d commit 16e2d99

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

src/AspNetCore.Authentication.Basic/AspNetCore.Authentication.Basic.csproj

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,23 @@
1717
<NeutralLanguage />
1818
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
1919
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
20+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
21+
</PropertyGroup>
22+
23+
<PropertyGroup>
24+
<!-- Source Link - https://github.com/dotnet/sourcelink -->
25+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
26+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
27+
<IncludeSymbols>true</IncludeSymbols>
28+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
29+
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
30+
<SignAssembly>true</SignAssembly>
2031
</PropertyGroup>
2132

2233
<PropertyGroup>
34+
<!-- Strong Name Key -->
2335
<SignAssembly>true</SignAssembly>
24-
<AssemblyOriginatorKeyFile>E:\GitHub\aspnetcore-authentication-basic\src\key.snk</AssemblyOriginatorKeyFile>
36+
<AssemblyOriginatorKeyFile>$(SolutionDir)key.snk</AssemblyOriginatorKeyFile>
2537
<DelaySign>false</DelaySign>
2638
</PropertyGroup>
2739

@@ -37,6 +49,10 @@
3749
<FrameworkReference Include="Microsoft.AspNetCore.App" />
3850
</ItemGroup>
3951

52+
<ItemGroup>
53+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
54+
</ItemGroup>
55+
4056
<ItemGroup>
4157
<None Include="..\..\LICENSE.txt">
4258
<Pack>True</Pack>

0 commit comments

Comments
 (0)