Skip to content

Commit be1dc4b

Browse files
committed
add source link
- also fix repo url - add a note to the release notes
1 parent 9a76dac commit be1dc4b

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

src/KK.AspNetCore.EasyAuthAuthentication/KK.AspNetCore.EasyAuthAuthentication.csproj

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,27 @@
44
<TargetFramework>netstandard2.0</TargetFramework>
55
</PropertyGroup>
66

7+
<!-- For source link -->
8+
<PropertyGroup>
9+
<!-- Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
10+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
11+
12+
<!-- Embed source files that are not tracked by the source control manager in the PDB -->
13+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
14+
15+
<!-- Recommended: Embed symbols containing Source Link in the main file (exe/dll) -->
16+
<DebugType>embedded</DebugType>
17+
18+
</PropertyGroup>
19+
<!-- This is only for azure devops. This makes the build deterministic so the source link can found simpler. Don't use this for development. You wouldn't able to debug. -->
20+
<PropertyGroup Condition="'$(TF_BUILD)' == 'true'">
21+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
22+
</PropertyGroup>
23+
724
<PropertyGroup>
825
<Authors>Kirsten Kluge</Authors>
9-
<PackageProjectUrl>https://github.com/kirkone/KK.AspNetCore.EasyAuthAuthentication</PackageProjectUrl>
10-
<RepositoryUrl>https://github.com/kirkone/KK.AspNetCore.EasyAuthAuthentication</RepositoryUrl>
26+
<PackageProjectUrl>https://github.com/codez-one/CZ.AspNetCore.EasyAuthAuthentication</PackageProjectUrl>
27+
<RepositoryUrl>https://github.com/codez-one/CZ.AspNetCore.EasyAuthAuthentication</RepositoryUrl>
1128
<Description>This helps getting azure appservice authentication working with asp.net core</Description>
1229
<PackageReleaseNotes>
1330
- Add support for azure ad application
@@ -17,13 +34,14 @@
1734
- add a new quickstart guide
1835
- add errors if the azure app service is configured wrong
1936
- add test so we avoid breaking changes
37+
- add source link for simpler development
2038
</PackageReleaseNotes>
2139
<Copyright>MIT</Copyright>
2240
<LangVersion>8.0</LangVersion>
2341
<Nullable>enable</Nullable>
2442
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
2543
<WarningsAsErrors>
26-
CS8600;CS8602;CS8603<!--The identifiers are all for nullable errors. See here: https://www.tabsoverspaces.com/233764-switch-to-errors-instead-of-warnings-for-nullable-reference-types-in-csharp-8-->
44+
CS8600;CS8602;CS8603 <!--The identifiers are all for nullable errors. See here: https://www.tabsoverspaces.com/233764-switch-to-errors-instead-of-warnings-for-nullable-reference-types-in-csharp-8-->
2745
</WarningsAsErrors>
2846
</PropertyGroup>
2947

@@ -34,5 +52,6 @@
3452
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="2.1.0" />
3553
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
3654
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="5.3.0" />
55+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
3756
</ItemGroup>
3857
</Project>

0 commit comments

Comments
 (0)