Skip to content

Commit

Permalink
Adding proposed NuGet icon (#270)
Browse files Browse the repository at this point in the history
* Adding logo idea

* Adding proposed NuGet icon

Also included the Paint.net source file
  • Loading branch information
Keboo authored Feb 2, 2024
1 parent 9fb3544 commit 118aa1c
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Moq.AutoMock/Moq.AutoMock.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<SymbolPackageFormat>snupkg</SymbolPackageFormat>

<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<PackageIcon>NuGetIcon.png</PackageIcon>
<NoWarn>$(NoWarn);AMG0002</NoWarn>
</PropertyGroup>

Expand All @@ -42,6 +43,7 @@
</ItemGroup>

<ItemGroup>
<None Include="..\assets\NuGetIcon.png" Pack="true" PackagePath="\" />
<None Include="..\LICENSE" Pack="true" PackagePath="" />
<Compile Include="..\System.Diagnostics.CodeAnalysis.cs" />
<None Include="..\Moq.AutoMocker.TestGenerator\bin\$(Configuration)\netstandard2.0\*.dll" Pack="True" PackagePath="analyzers\dotnet\cs" />
Expand Down
39 changes: 39 additions & 0 deletions NuGet.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<!-- `clear` ensures no additional sources are inherited from another config file. -->
<packageSources>
<clear />
<!-- `key` can be any identifier for your source. -->
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
</packageSources>

<!-- Define mappings by adding package patterns beneath the target source. -->
<packageSourceMapping>
<!-- key value for <packageSource> should match key values from <packageSources> element -->
<packageSource key="nuget.org">
<package pattern="*" />
</packageSource>
</packageSourceMapping>
</configuration>

<!--
As an example, you can define multiple package sources and map particular nuget packages from each source.
This defines the package sources, nuget.org and contoso.com and maps all NuGet packages with Contoso.* to it.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="contoso.com" value="https://contoso.com/packages/" />
</packageSources>
<packageSourceMapping>
<packageSource key="nuget.org">
<package pattern="*" />
</packageSource>
<packageSource key="contoso.com">
<package pattern="Contoso.*" />
</packageSource>
</packageSourceMapping>
</configuration>
-->
Binary file added assets/Logo.pdn
Binary file not shown.
Binary file added assets/NugetIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 118aa1c

Please sign in to comment.