Skip to content

Commit 96f3fc9

Browse files
committed
Add PackageIcon to fix warning/errors in build
1 parent ced4ff9 commit 96f3fc9

File tree

7 files changed

+13
-6
lines changed

7 files changed

+13
-6
lines changed

.editorconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,8 @@ dotnet_diagnostic.IDE0059.severity = warning
246246
# IDE0161: Convert to file-scoped namespace
247247
dotnet_diagnostic.IDE0161.severity = warning
248248

249-
[*.{xml,config,*proj,nuspec,props,resx,targets,yml,tasks}]
249+
# Xml config files
250+
[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
250251
indent_size = 2
251252

252253
[*.json]

ClickView.GoodStuff.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_Solution Items", "_Solutio
5050
Directory.Build.props = Directory.Build.props
5151
.editorconfig = .editorconfig
5252
.github\dependabot.yml = .github\dependabot.yml
53+
Directory.Build.targets = Directory.Build.targets
5354
EndProjectSection
5455
EndProject
5556
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Id Generators", "Id Generators", "{9478C56E-C226-4DD9-AC2E-0A4E9085414D}"

Directory.Build.props

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<Authors>ClickView</Authors>
55
<PackageProjectUrl>https://github.com/clickviewapp/GoodStuff</PackageProjectUrl>
66
<PackageIconUrl>https://static.clickview.com.au/assets/images/nugetlogo-64x64.png</PackageIconUrl>
7+
<PackageIcon>package-icon.png</PackageIcon>
78
<PublishRepositoryUrl>true</PublishRepositoryUrl>
89
<PackageLicenseExpression>MIT</PackageLicenseExpression>
910
<GenerateDocumentationFile>true</GenerateDocumentationFile>
@@ -14,6 +15,10 @@
1415
<Version>1.9.0-rc1</Version>
1516
</PropertyGroup>
1617

18+
<ItemGroup>
19+
<InternalsVisibleTo Include="$(AssemblyName).Tests" />
20+
</ItemGroup>
21+
1722
<PropertyGroup>
1823
<LangVersion>13.0</LangVersion>
1924
<Nullable>enable</Nullable>

Directory.Build.targets

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<Project>
2+
<ItemGroup Condition="'$(IsPackable)' == 'true'">
3+
<None Include="$(MSBuildThisFileDirectory)\assets\package-icon.png" Pack="true" PackagePath="\" Visible="false" />
4+
</ItemGroup>
5+
</Project>

assets/package-icon.png

1.62 KB
Loading

src/AspNetCore/MaxMind/src/ClickView.GoodStuff.AspNetCore.MaxMind.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
</ItemGroup>
1717

1818
<ItemGroup>
19-
<InternalsVisibleTo Include="$(AssemblyName).Tests" />
2019
<InternalsVisibleTo Include="DynamicProxyGenAssembly2" />
2120
</ItemGroup>
2221

src/IdGenerators/IdGen/src/ClickView.GoodStuff.IdGenerators.IdGen.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,4 @@
1414
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.4" />
1515
</ItemGroup>
1616

17-
<ItemGroup>
18-
<InternalsVisibleTo Include="$(AssemblyName).Tests" />
19-
</ItemGroup>
20-
2117
</Project>

0 commit comments

Comments
 (0)