-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# devlooped/oss - Dynamically fetch devlooped JWK from github devlooped/oss@55124bc - Remove dependency on ThisAssembly devlooped/oss@c879f25 - Add targets for inclusion from tests devlooped/oss@81ba912 - Fix path to jwk.ps1 alongside the SponsorLink.targets devlooped/oss@c4830fc - Fix scenario where multiple packages share product name devlooped/oss@23f83bd - Rename sample assemblies for nicer display devlooped/oss@93df7c7 - SponsorLink-enabled analyzers need copylocal devlooped/oss@7593657 - Minor code simplification devlooped/oss@cf154d5 - Improve versioning of sample package devlooped/oss@3b943f5
- Loading branch information
1 parent
3948cf8
commit 3614d9b
Showing
22 changed files
with
428 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Sponsorable Library | ||
|
||
Example of a library that is available for sponsorship and leverages | ||
[SponsorLink](https://github.com/devlooped/SponsorLink) to remind users | ||
in an IDE (VS/Rider). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<Project> | ||
<!-- For inclusion in test projects that reference analyzers as project references --> | ||
|
||
<PropertyGroup> | ||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> | ||
</PropertyGroup> | ||
|
||
<ItemGroup Condition="'$(ManagePackageVersionsCentrally)' == 'true'"> | ||
<PackageReference Include="Humanizer.Core" VersionOverride="2.14.1" PrivateAssets="all" Pack="false" /> | ||
<PackageReference Include="System.IdentityModel.Tokens.Jwt" VersionOverride="7.6.0" PrivateAssets="all" Pack="false" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(ManagePackageVersionsCentrally)' != 'true'"> | ||
<PackageReference Include="Humanizer.Core" Version="2.14.1" PrivateAssets="all" Pack="false" /> | ||
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="7.6.0" PrivateAssets="all" Pack="false" /> | ||
</ItemGroup> | ||
|
||
<Target Name="AddSponsorLinkAnalyzerDependencies" BeforeTargets="CoreCompile" DependsOnTargets="ResolveLockFileCopyLocalFiles"> | ||
<ItemGroup> | ||
<!-- NOTE: keep in sync with ILRepack'ed assemblies as needed --> | ||
<ReferenceCopyLocalAssemblies Include="@(ReferenceCopyLocalPaths)" Condition="'%(Extension)' == '.dll' | ||
And !$([MSBuild]::ValueOrDefault('%(FileName)', '').EndsWith('.resources', StringComparison.OrdinalIgnoreCase)) | ||
And !$([MSBuild]::ValueOrDefault('%(FileName)', '').StartsWith('ThisAssembly', StringComparison.OrdinalIgnoreCase))" /> | ||
<Analyzer Include="@(ReferenceCopyLocalAssemblies)" Condition=" | ||
!$([MSBuild]::ValueOrDefault('%(FileName)', '').StartsWith('Microsoft.CodeAnalysis', StringComparison.OrdinalIgnoreCase)) And | ||
!$([MSBuild]::ValueOrDefault('%(FileName)', '').StartsWith('Microsoft.CSharp', StringComparison.OrdinalIgnoreCase)) And | ||
!$([MSBuild]::ValueOrDefault('%(FileName)', '').StartsWith('System.', StringComparison.OrdinalIgnoreCase))" | ||
/> | ||
<!-- Brings in System/Microsoft.IdentityModel, System.Text.Encodings.Web, System.Text.Json --> | ||
<Analyzer Include="@(ReferenceCopyLocalAssemblies)" Condition=" | ||
$([MSBuild]::ValueOrDefault('%(FileName)', '').StartsWith('System.IdentityModel', StringComparison.OrdinalIgnoreCase)) Or | ||
$([MSBuild]::ValueOrDefault('%(FileName)', '').StartsWith('Microsoft.IdentityModel', StringComparison.OrdinalIgnoreCase)) Or | ||
$([MSBuild]::ValueOrDefault('%(FileName)', '').StartsWith('System.Text', StringComparison.OrdinalIgnoreCase))" | ||
/> | ||
</ItemGroup> | ||
</Target> | ||
|
||
</Project> |
Oops, something went wrong.