diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2016-10-24 10:51:54 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2016-10-24 10:51:54 -0400 |
commit | 9db2bbc94168ea4770fb0714f51a6fa813bb9e04 (patch) | |
tree | 0281cd3a905f342626441a5b37c0096d56161115 | |
parent | cb9efa4e8266b67ddb5c19a107af389cdedce49c (diff) | |
download | SMAPI-9db2bbc94168ea4770fb0714f51a6fa813bb9e04.tar.gz SMAPI-9db2bbc94168ea4770fb0714f51a6fa813bb9e04.tar.bz2 SMAPI-9db2bbc94168ea4770fb0714f51a6fa813bb9e04.zip |
no longer copy game binaries to build output
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | build/smapi.targets | 23 | ||||
-rw-r--r-- | package.nuspec | 8 |
3 files changed, 23 insertions, 10 deletions
@@ -62,7 +62,7 @@ You can define it... `GAME_PLATFORM_WINDOWS`. * <small>In Visual Studio: right-click on the project and choose _Properties_. Click the _Build_ tab, and enter the constants into the _Conditional compilation symbols_ field.</small> - * <small>In MonoDevelop: right-click on the project and choose _Options. Click the + * <small>In MonoDevelop: right-click on the project and choose _Options_. Click the _Build ยป Compiler_ tab, and enter the constants into the _Define Symbols_ field.</small> ### Compatibility with mod builders diff --git a/build/smapi.targets b/build/smapi.targets index 074581b4..0bd8e0ae 100644 --- a/build/smapi.targets +++ b/build/smapi.targets @@ -41,18 +41,27 @@ <When Condition="$(GamePlatform) == 'Windows'"> <!-- references --> <ItemGroup> - <Reference Include="Microsoft.Xna.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86" /> - <Reference Include="Microsoft.Xna.Framework.Game, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86" /> - <Reference Include="Microsoft.Xna.Framework.Graphics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86" /> + <Reference Include="Microsoft.Xna.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86"> + <Private>false</Private> + </Reference> + <Reference Include="Microsoft.Xna.Framework.Game, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86"> + <Private>false</Private> + </Reference> + <Reference Include="Microsoft.Xna.Framework.Graphics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86"> + <Private>false</Private> + </Reference> <Reference Include="Stardew Valley"> <HintPath>$(GamePath)\Stardew Valley.exe</HintPath> + <Private>false</Private> </Reference> <Reference Include="StardewModdingAPI"> <HintPath>$(GamePath)\StardewModdingAPI.exe</HintPath> + <Private>false</Private> </Reference> <Reference Include="xTile, Version=2.0.4.0, Culture=neutral, processorArchitecture=x86"> - <SpecificVersion>False</SpecificVersion> <HintPath>$(GamePath)\xTile.dll</HintPath> + <Private>false</Private> + <SpecificVersion>False</SpecificVersion> </Reference> </ItemGroup> @@ -67,17 +76,21 @@ <!-- references --> <ItemGroup> <Reference Include="MonoGame.Framework"> - <SpecificVersion>False</SpecificVersion> <HintPath>$(GamePath)\MonoGame.Framework.dll</HintPath> + <Private>false</Private> + <SpecificVersion>False</SpecificVersion> </Reference> <Reference Include="StardewValley"> <HintPath>$(GamePath)\StardewValley.exe</HintPath> + <Private>false</Private> </Reference> <Reference Include="StardewModdingAPI"> <HintPath>$(GamePath)\StardewModdingAPI.exe</HintPath> + <Private>false</Private> </Reference> <Reference Include="xTile"> <HintPath>$(GamePath)\xTile.dll</HintPath> + <Private>false</Private> </Reference> </ItemGroup> </Otherwise> diff --git a/package.nuspec b/package.nuspec index 3236e636..8072ad38 100644 --- a/package.nuspec +++ b/package.nuspec @@ -2,16 +2,16 @@ <package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd"> <metadata> <id>Pathoschild.Stardew.ModBuildConfig</id> - <version>1.1</version> + <version>1.2</version> <title>MSBuild config for Stardew Valley mods</title> <authors>Pathoschild</authors> <owners>Pathoschild</owners> <requireLicenseAcceptance>false</requireLicenseAcceptance> - <licenseUrl>https://github.com/Pathoschild/Stardew.ModBuildConfig/blob/1.1/LICENSE.txt</licenseUrl> + <licenseUrl>https://github.com/Pathoschild/Stardew.ModBuildConfig/blob/1.2/LICENSE.txt</licenseUrl> <projectUrl>https://github.com/Pathoschild/Stardew.ModBuildConfig</projectUrl> - <iconUrl>https://raw.githubusercontent.com/Pathoschild/Stardew.ModBuildConfig/1.1/assets/nuget-icon.png</iconUrl> + <iconUrl>https://raw.githubusercontent.com/Pathoschild/Stardew.ModBuildConfig/1.2/assets/nuget-icon.png</iconUrl> <description>Automates the build configuration for a crossplatform Stardew Valley mod that uses SMAPI.</description> - <releaseNotes>Added support for targeting platforms.</releaseNotes> + <releaseNotes>No longer copies game binaries to build output.</releaseNotes> </metadata> <files> <file src="build/smapi.targets" target="build/Pathoschild.Stardew.ModBuildConfig.targets" /> |