Skip to content

Commit da81133

Browse files
authored
fix(infra): resolve issues of PackageIcon and README files #9475 (#9476)
1 parent f6ed694 commit da81133

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

src/Bit.Build.props

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@
2222
<AllowedOutputExtensionsInPackageBuildOutputFolder Condition=" '$(Configuration)' == 'Release' ">$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
2323
<PackageDescription>$(MSBuildProjectName)</PackageDescription>
2424
<PackageLicenseExpression>MIT</PackageLicenseExpression>
25+
<PackageIcon>PackageIcon.png</PackageIcon>
26+
<PackageReadmeFile>README.md</PackageReadmeFile>
2527
<PackageProjectUrl>https://github.com/bitfoundation/bitplatform</PackageProjectUrl>
26-
<PackageIconUrl>https://avatars.githubusercontent.com/u/22663390</PackageIconUrl>
2728

2829
<!-- Version -->
2930
<ReleaseVersion>9.1.0-pre-12</ReleaseVersion>
@@ -44,16 +45,19 @@
4445
<!-- README and LICENSE -->
4546
<PropertyGroup>
4647
<SignAssembly>True</SignAssembly>
47-
<AssemblyOriginatorKeyFile>$([System.IO.Path]::GetFullPath($([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildThisFileDirectory)', 'AssemblyOriginatorKeyFile.snk'))\AssemblyOriginatorKeyFile.snk))</AssemblyOriginatorKeyFile>
48-
<PackageReadmeFile>README.md</PackageReadmeFile>
48+
<AssemblyOriginatorKeyFile>$([System.IO.Path]::GetFullPath($([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', 'AssemblyOriginatorKeyFile.snk'))\AssemblyOriginatorKeyFile.snk))</AssemblyOriginatorKeyFile>
4949
</PropertyGroup>
5050

5151
<ItemGroup>
52-
<None Include="$([System.IO.Path]::GetFullPath($([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildThisFileDirectory)', 'LICENSE'))\LICENSE))">
52+
<None Include="$([System.IO.Path]::GetFullPath($([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', 'LICENSE'))\LICENSE))">
53+
<Pack>True</Pack>
54+
<PackagePath>\</PackagePath>
55+
</None>
56+
<None Include="$([System.IO.Path]::GetFullPath($([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', 'README.md'))\README.md))">
5357
<Pack>True</Pack>
5458
<PackagePath>\</PackagePath>
5559
</None>
56-
<None Include="$([System.IO.Path]::GetFullPath($([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildThisFileDirectory)', 'README.md'))\README.md))">
60+
<None Include="$([System.IO.Path]::GetFullPath($([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', 'PackageIcon.png'))\PackageIcon.png))">
5761
<Pack>True</Pack>
5862
<PackagePath>\</PackagePath>
5963
</None>

src/BlazorUI/Bit.BlazorUI.SourceGenerators/Bit.BlazorUI.SourceGenerators.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<LangVersion>13.0</LangVersion>
55
<Nullable>enable</Nullable>
66
<IsRoslynComponent>true</IsRoslynComponent>
7+
<SignAssembly>False</SignAssembly>
78
</PropertyGroup>
89

910
<ItemGroup>

src/CodeAnalyzers/Bit.CodeAnalyzers/Bit.CodeAnalyzers.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<IncludeBuildOutput>false</IncludeBuildOutput>
88
<IsRoslynComponent>true</IsRoslynComponent>
99
<PackageTags>$(PackageTags) Code-Analyzer</PackageTags>
10+
<SignAssembly>False</SignAssembly>
1011
</PropertyGroup>
1112

1213
<ItemGroup>

src/PackageIcon.png

7.27 KB
Loading

src/SourceGenerators/Bit.SourceGenerators/Bit.SourceGenerators.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<IsRoslynComponent>true</IsRoslynComponent>
99
<PackageTags>$(PackageTags) Source-Generators</PackageTags>
1010
<GetTargetPathDependsOn>$(GetTargetPathDependsOn);GetDependencyTargetPaths</GetTargetPathDependsOn>
11+
<SignAssembly>False</SignAssembly>
1112
</PropertyGroup>
1213

1314
<ItemGroup>

0 commit comments

Comments
 (0)