summaryrefslogtreecommitdiff
path: root/src/SMAPI.ModBuildConfig
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-11-24 12:36:01 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-11-24 12:36:01 -0500
commita5c9cb929e1a9a51a15551475efca84eb932a205 (patch)
tree3f8111b37e1d0081ea2a2942c07f287b6a452ade /src/SMAPI.ModBuildConfig
parentf0f348bd5f5f4aa27030febe8a057eab9c50db7d (diff)
downloadSMAPI-a5c9cb929e1a9a51a15551475efca84eb932a205.tar.gz
SMAPI-a5c9cb929e1a9a51a15551475efca84eb932a205.tar.bz2
SMAPI-a5c9cb929e1a9a51a15551475efca84eb932a205.zip
migrate package icon to the new NuGet format
Diffstat (limited to 'src/SMAPI.ModBuildConfig')
-rw-r--r--src/SMAPI.ModBuildConfig/SMAPI.ModBuildConfig.csproj6
-rw-r--r--src/SMAPI.ModBuildConfig/package.nuspec7
2 files changed, 13 insertions, 0 deletions
diff --git a/src/SMAPI.ModBuildConfig/SMAPI.ModBuildConfig.csproj b/src/SMAPI.ModBuildConfig/SMAPI.ModBuildConfig.csproj
index df2c7ec8..ccbd9a85 100644
--- a/src/SMAPI.ModBuildConfig/SMAPI.ModBuildConfig.csproj
+++ b/src/SMAPI.ModBuildConfig/SMAPI.ModBuildConfig.csproj
@@ -33,6 +33,12 @@
</None>
</ItemGroup>
+ <ItemGroup>
+ <None Update="assets\nuget-icon.png">
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </None>
+ </ItemGroup>
+
<Import Project="..\SMAPI.Internal\SMAPI.Internal.projitems" Label="Shared" />
<Import Project="..\..\build\common.targets" />
<Import Project="..\..\build\prepare-nuget-package.targets" />
diff --git a/src/SMAPI.ModBuildConfig/package.nuspec b/src/SMAPI.ModBuildConfig/package.nuspec
index 812e5bcb..846f438d 100644
--- a/src/SMAPI.ModBuildConfig/package.nuspec
+++ b/src/SMAPI.ModBuildConfig/package.nuspec
@@ -10,6 +10,7 @@
<license type="expression">MIT</license>
<repository type="git" url="https://github.com/Pathoschild/SMAPI" />
<projectUrl>https://smapi.io/package/readme</projectUrl>
+ <icon>images\icon.png</icon>
<iconUrl>https://raw.githubusercontent.com/Pathoschild/SMAPI/develop/src/SMAPI.ModBuildConfig/assets/nuget-icon.png</iconUrl>
<description>Automates the build configuration for crossplatform Stardew Valley SMAPI mods. For SMAPI 3.0 or later.</description>
<releaseNotes>
@@ -24,6 +25,12 @@
- Fixed Newtonsoft.Json.pdb included in release zips when Json.NET is referenced directly.
- Fixed &lt;IgnoreModFilePatterns&gt; not working for i18n files.
- Dropped support for older versions of SMAPI and Visual Studio.
+ - Migrated package icon to NuGet's new format.
</releaseNotes>
</metadata>
+ <files>
+ <file src="analyzers\**" target="analyzers" />
+ <file src="build\**" target="build" />
+ <file src="images\**" target="images" />
+ </files>
</package>