Skip to content

Commit 43faa36

Browse files
authored
Merge pull request #6 from codez-one/paje/add_source_link_to-easy_auth
Paje/add source link to easy auth
2 parents 7801da8 + 6186790 commit 43faa36

File tree

2 files changed

+29
-10
lines changed

2 files changed

+29
-10
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,22 @@ You can add the package for example with the following `dotnet` command:
1616
dotnet add package CZ.AspNetCore.EasyAuthAuthentication
1717
```
1818

19-
Pre-releases of this Package are pushed to an internal <a href="https://dev.azure.com/kirkone/CZ.AspNetCore.EasyAuthAuthentication/_packaging?_a=feed&feed=CZ.AspNetCore.EasyAuthAuthentication" target="_blank">feed an Azure DevOps</a>.
19+
Pre-releases of this Package are pushed to an internal <a href="https://dev.azure.com/czon/CZ.AspNetCore.EasyAuthAuthentication/_packaging?_a=feed&feed=CZ.AspNetCore.EasyAuthAuthentication" target="_blank">feed an Azure DevOps</a>.
2020

21-
There are also access to packages from pull requests in another <a href="https://dev.azure.com/kirkone/CZ.AspNetCore.EasyAuthAuthentication/_packaging?_a=feed&feed=CZ.AspNetCore.EasyAuthAuthentication-PR" target="_blank">Azure DevOps feed</a>. All Packages in this feed has a name like this: `PR-{pull request number}-CZ.AspNetCore.EasyAuthAuthentication`. So you must only pick the package of your PR to check your changes in a test project. All changes of the pull request are tracked in the pull request package version history.
21+
There are also access to packages from pull requests in another <a href="https://dev.azure.com/czon/CZ.AspNetCore.EasyAuthAuthentication/_packaging?_a=feed&feed=CZ.AspNetCore.EasyAuthAuthentication-PR" target="_blank">Azure DevOps feed</a>. All Packages in this feed has a name like this: `PR-{pull request number}-CZ.AspNetCore.EasyAuthAuthentication`. So you must only pick the package of your PR to check your changes in a test project. All changes of the pull request are tracked in the pull request package version history.
2222

2323
## Build
2424

25-
The build environment for this project is on Azure DevOps and can be found here [dev.azure.com/kirkone/CZ.AspNetCore.EasyAuthAuthentication](https://dev.azure.com/kirkone/CZ.AspNetCore.EasyAuthAuthentication/_build).
25+
The build environment for this project is on Azure DevOps and can be found here [dev.azure.com/czon/CZ.AspNetCore.EasyAuthAuthentication](https://dev.azure.com/kirkone/CZ.AspNetCore.EasyAuthAuthentication/_build).
2626

2727
### Nuget package build
2828

2929
| Name | Status |
3030
| --------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
31-
| CZ.AspNetCore.EasyAuthAuthentication-CI | [![Build Status](https://dev.azure.com/kirkone/CZ.AspNetCore.EasyAuthAuthentication/_apis/build/status/CZ.AspNetCore.EasyAuthAuthentication-CI)](https://dev.azure.com/kirkone/CZ.AspNetCore.EasyAuthAuthentication/_build/latest?definitionId=24) |
32-
| Alpha | [![Alpha](https://vsrm.dev.azure.com/kirkone/_apis/public/Release/badge/b206bf59-b281-4d06-91c3-3877c3aeaaf9/1/1)](https://dev.azure.com/kirkone/CZ.AspNetCore.EasyAuthAuthentication/_releases2?definitionId=1&_a=releases) |
33-
| Beta | [![Beta](https://vsrm.dev.azure.com/kirkone/_apis/public/Release/badge/b206bf59-b281-4d06-91c3-3877c3aeaaf9/1/2)](https://dev.azure.com/kirkone/CZ.AspNetCore.EasyAuthAuthentication/_releases2?definitionId=1&_a=releases) |
34-
| Release | [![Release](https://vsrm.dev.azure.com/kirkone/_apis/public/Release/badge/b206bf59-b281-4d06-91c3-3877c3aeaaf9/1/3)](https://dev.azure.com/kirkone/CZ.AspNetCore.EasyAuthAuthentication/_releases2?definitionId=1&_a=releases) |
31+
| CZ.AspNetCore.EasyAuthAuthentication-CI | [![Build Status](https://dev.azure.com/czon/CZ.AspNetCore.EasyAuthAuthentication/_apis/build/status/CZ.AspNetCore.EasyAuthAuthentication-CI)](https://dev.azure.com/kirkone/CZ.AspNetCore.EasyAuthAuthentication/_build/latest?definitionId=24) |
32+
| Alpha | [![Alpha](https://vsrm.dev.azure.com/czon/_apis/public/Release/badge/b206bf59-b281-4d06-91c3-3877c3aeaaf9/1/1)](https://dev.azure.com/kirkone/CZ.AspNetCore.EasyAuthAuthentication/_releases2?definitionId=1&_a=releases) |
33+
| Beta | [![Beta](https://vsrm.dev.azure.com/czon/_apis/public/Release/badge/b206bf59-b281-4d06-91c3-3877c3aeaaf9/1/2)](https://dev.azure.com/kirkone/CZ.AspNetCore.EasyAuthAuthentication/_releases2?definitionId=1&_a=releases) |
34+
| Release | [![Release](https://vsrm.dev.azure.com/czon/_apis/public/Release/badge/b206bf59-b281-4d06-91c3-3877c3aeaaf9/1/3)](https://dev.azure.com/kirkone/CZ.AspNetCore.EasyAuthAuthentication/_releases2?definitionId=1&_a=releases) |
3535

3636
## Quickstart
3737

src/CZ.AspNetCore.EasyAuthAuthentication/CZ.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, paule96</Authors>
9-
<PackageProjectUrl>https://github.com/kirkone/CZ.AspNetCore.EasyAuthAuthentication</PackageProjectUrl>
10-
<RepositoryUrl>https://github.com/kirkone/CZ.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
<EnableNETAnalyzers>true</EnableNETAnalyzers>
2947
</PropertyGroup>
@@ -35,5 +53,6 @@
3553
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="2.1.0" />
3654
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
3755
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="5.3.0" />
56+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
3857
</ItemGroup>
3958
</Project>

0 commit comments

Comments
 (0)