Skip to content

Commit 990b978

Browse files
kevbitevincentkam
authored andcommitted
CSHARP-2766: Fix logo for nuget packages
Change to use PackageIcon with embedded icon as PackageIconUrl is being deprecated and will give a NU5048 warning
1 parent 9d0f350 commit 990b978

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

packageIcon.png

27.6 KB
Loading

src/MongoDB.Bson/MongoDB.Bson.csproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<Copyright>Copyright © 2010-present MongoDB Inc.</Copyright>
1616
<Description>Official MongoDB supported BSON library. See http://www.mongodb.org/display/DOCS/CSharp+Language+Center for more details.</Description>
1717
<Authors>vincentkam;dmitry_lukyanov;rstam;craiggwilson</Authors>
18-
<PackageIconUrl>http://jobs.mongodb.org/files/logos/889002/889002.png</PackageIconUrl>
18+
<PackageIcon>packageIcon.jpg</PackageIcon>
1919
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
2020
<PackageDescription>MongoDB's Official Bson Library.</PackageDescription>
2121
<PackageProjectUrl>http://www.mongodb.org/display/DOCS/CSharp+Language+Center</PackageProjectUrl>
@@ -32,7 +32,7 @@
3232
<PropertyGroup>
3333
<DefineConstants>TRACE</DefineConstants>
3434
</PropertyGroup>
35-
35+
3636
<PropertyGroup Condition="'$(TargetFramework)'=='netstandard1.5'">
3737
<NetStandardImplicitPackageVersion>1.6.1</NetStandardImplicitPackageVersion>
3838
</PropertyGroup>
@@ -59,6 +59,8 @@
5959

6060
<ItemGroup>
6161
<None Include="..\..\License.txt" Pack="true" PackagePath="$(PackageLicenseFile)" />
62+
<None Include="..\..\packageIcon.jpg" Pack="true" PackagePath=""/>
63+
6264
</ItemGroup>
6365

6466
</Project>

src/MongoDB.Driver.Core/MongoDB.Driver.Core.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<Copyright>Copyright © 2010-present MongoDB Inc.</Copyright>
1616
<Description>Official MongoDB supported Driver Core library. See http://www.mongodb.org/display/DOCS/CSharp+Language+Center for more details.</Description>
1717
<Authors>vincentkam;dmitry_lukyanov;rstam;craiggwilson</Authors>
18-
<PackageIconUrl>http://jobs.mongodb.org/files/logos/889002/889002.png</PackageIconUrl>
18+
<PackageIcon>packageIcon.jpg</PackageIcon>
1919
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
2020
<PackageDescription>Core Component of the Official MongoDB .NET Driver.</PackageDescription>
2121
<PackageProjectUrl>http://www.mongodb.org/display/DOCS/CSharp+Language+Center</PackageProjectUrl>
@@ -150,6 +150,7 @@
150150
<ItemGroup>
151151
<None Include="..\..\License.txt" Pack="true" PackagePath="$(PackageLicenseFile)" />
152152
<None Include="..\..\THIRD-PARTY-NOTICES" Pack="true" PackagePath="\" />
153+
<None Include="..\..\packageIcon.jpg" Pack="true" PackagePath=""/>
153154
</ItemGroup>
154155

155156
</Project>

src/MongoDB.Driver.GridFS/MongoDB.Driver.GridFS.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<Copyright>Copyright © 2010-present MongoDB Inc.</Copyright>
1616
<Description>Official MongoDB supported driver for MongoDB GridFS implementation. See http://www.mongodb.org/display/DOCS/CSharp+Language+Center for more details.</Description>
1717
<Authors>vincentkam;dmitry_lukyanov;rstam;craiggwilson</Authors>
18-
<PackageIconUrl>http://jobs.mongodb.org/files/logos/889002/889002.png</PackageIconUrl>
18+
<PackageIcon>packageIcon.jpg</PackageIcon>
1919
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
2020
<PackageDescription>GridFS Component of the Official MongoDB .NET Driver.</PackageDescription>
2121
<PackageProjectUrl>http://www.mongodb.org/display/DOCS/CSharp+Language+Center</PackageProjectUrl>
@@ -57,6 +57,7 @@
5757

5858
<ItemGroup>
5959
<None Include="..\..\License.txt" Pack="true" PackagePath="$(PackageLicenseFile)" />
60+
<None Include="..\..\packageIcon.jpg" Pack="true" PackagePath=""/>
6061
</ItemGroup>
6162

6263
</Project>

src/MongoDB.Driver.Legacy/MongoDB.Driver.Legacy.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<Description>Legacy MongoDB supported driver for MongoDB. See http://www.mongodb.org/display/DOCS/CSharp+Language+Center for more details.</Description>
1717
<Authors>vincentkam;dmitry_lukyanov;rstam;craiggwilson</Authors>
1818
<PackageId>mongocsharpdriver</PackageId>
19-
<PackageIconUrl>http://jobs.mongodb.org/files/logos/889002/889002.png</PackageIconUrl>
19+
<PackageIcon>packageIcon.jpg</PackageIcon>
2020
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
2121
<PackageDescription>This package contains the legacy driver. The new driver's package name is MongoDB.Driver</PackageDescription>
2222
<PackageProjectUrl>http://www.mongodb.org/display/DOCS/CSharp+Language+Center</PackageProjectUrl>
@@ -56,6 +56,7 @@
5656

5757
<ItemGroup>
5858
<None Include="..\..\License.txt" Pack="true" PackagePath="$(PackageLicenseFile)" />
59+
<None Include="..\..\packageIcon.jpg" Pack="true" PackagePath=""/>
5960
</ItemGroup>
6061

6162
</Project>

src/MongoDB.Driver/MongoDB.Driver.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<Copyright>Copyright © 2010-present MongoDB Inc.</Copyright>
1616
<Description>Official MongoDB supported driver for MongoDB. See http://www.mongodb.org/display/DOCS/CSharp+Language+Center for more details.</Description>
1717
<Authors>vincentkam;dmitry_lukyanov;rstam;craiggwilson</Authors>
18-
<PackageIconUrl>http://jobs.mongodb.org/files/logos/889002/889002.png</PackageIconUrl>
18+
<PackageIcon>packageIcon.jpg</PackageIcon>
1919
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
2020
<PackageDescription>Official .NET driver for MongoDB.</PackageDescription>
2121
<PackageProjectUrl>http://www.mongodb.org/display/DOCS/CSharp+Language+Center</PackageProjectUrl>
@@ -63,6 +63,7 @@
6363

6464
<ItemGroup>
6565
<None Include="..\..\License.txt" Pack="true" PackagePath="$(PackageLicenseFile)" />
66+
<None Include="..\..\packageIcon.jpg" Pack="true" PackagePath=""/>
6667
</ItemGroup>
6768

6869
</Project>

0 commit comments

Comments
 (0)