Skip to content
This repository was archived by the owner on Feb 23, 2025. It is now read-only.

Commit 3561342

Browse files
fix build + add icon
1 parent 7b80a71 commit 3561342

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

build/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ static void Main(string[] args)
6161
{
6262
var project = Directory.GetFiles("./src", "*.csproj", SearchOption.TopDirectoryOnly).First();
6363

64-
Run("dotnet", $"pack {project} -c Release -o ../{ArtifactsDir} --no-build");
64+
Run("dotnet", $"pack {project} -c Release -o ./{ArtifactsDir} --no-build");
6565

6666
if (sign.HasValue())
6767
{

icon.jpg

29.6 KB
Loading

src/IdentityModel.OidcClient.csproj

+5-2
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@
1212
<AssemblyName>IdentityModel.OidcClient</AssemblyName>
1313
<PackageId>IdentityModel.OidcClient</PackageId>
1414
<PackageTags>OAuth2;OAuth 2.0;OpenID Connect;Security;Identity;IdentityServer</PackageTags>
15-
<PackageIconUrl>https://identityserver.github.io/Documentation/assets/images/icons/IDmodel_icon128.png</PackageIconUrl>
15+
<PackageIcon>icon.jpg</PackageIcon>
1616
<PackageProjectUrl>https://github.com/IdentityModel/IdentityModel.OidcClient2</PackageProjectUrl>
1717
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
1818
<GenerateDocumentationFile>true</GenerateDocumentationFile>
19-
<LangVersion>latest</LangVersion>
2019

2120
<!-- Declare that the Repository URL can be published to NuSpec -->
2221
<PublishRepositoryUrl>true</PublishRepositoryUrl>
@@ -30,6 +29,10 @@
3029
<PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
3130
</PropertyGroup>
3231

32+
<ItemGroup>
33+
<None Include="../icon.jpg" Pack="true" Visible="false" PackagePath="" />
34+
</ItemGroup>
35+
3336
<ItemGroup>
3437
<PackageReference Include="IdentityModel" Version="4.0.0" />
3538
<PackageReference Include="minver" Version="2.0.0" PrivateAssets="All" />

0 commit comments

Comments
 (0)