diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-04-23 02:05:14 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-04-23 02:05:14 -0400 |
commit | 47a806533b9fbcfe3fc771316283a7734702baae (patch) | |
tree | f0ec619bb488febfc7f9766e3fb2e12d4f466c77 /build | |
parent | 665c6806d3797f8329ef8c6fcaa80d469fef5005 (diff) | |
download | SMAPI-47a806533b9fbcfe3fc771316283a7734702baae.tar.gz SMAPI-47a806533b9fbcfe3fc771316283a7734702baae.tar.bz2 SMAPI-47a806533b9fbcfe3fc771316283a7734702baae.zip |
add 64-bit support to the SMAPI installer (#767)
Diffstat (limited to 'build')
-rw-r--r-- | build/common.targets | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/build/common.targets b/build/common.targets index 4068c491..6834c162 100644 --- a/build/common.targets +++ b/build/common.targets @@ -1,13 +1,16 @@ <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <!--set properties --> <PropertyGroup> + <!--set general build properties --> <Version>3.9.5</Version> <Product>SMAPI</Product> - <LangVersion>latest</LangVersion> <AssemblySearchPaths>$(AssemblySearchPaths);{GAC}</AssemblySearchPaths> - <!--<DefineConstants>$(DefineConstants);SMAPI_FOR_WINDOWS_64BIT_HACK</DefineConstants>--> + <!--uncomment for 64-bit Stardew Valley on Windows--> + <!--<GamePath>D:\dev\SDV 64-bit\6125897</GamePath> + <DefineConstants>$(DefineConstants);SMAPI_FOR_WINDOWS_64BIT_HACK</DefineConstants>--> + + <!--set platform--> <DefineConstants Condition="$(OS) == 'Windows_NT'">$(DefineConstants);SMAPI_FOR_WINDOWS</DefineConstants> <DefineConstants Condition="$(OS) == 'Windows_NT' AND !$(DefineConstants.Contains(SMAPI_FOR_WINDOWS_64BIT_HACK))">$(DefineConstants);SMAPI_FOR_XNA</DefineConstants> </PropertyGroup> @@ -53,9 +56,9 @@ </Target> <Target Name="CopyToolkit" Condition="'$(MSBuildProjectName)' == 'SMAPI.Toolkit' AND $(TargetFramework) == 'net4.5'" AfterTargets="PostBuildEvent"> - <Copy SourceFiles="$(TargetDir)\$(TargetName).dll" DestinationFolder="$(GamePath)\smapi-internal" /> - <Copy SourceFiles="$(TargetDir)\$(TargetName).pdb" DestinationFolder="$(GamePath)\smapi-internal" /> - <Copy SourceFiles="$(TargetDir)\$(TargetName).xml" DestinationFolder="$(GamePath)\smapi-internal" /> + <Copy SourceFiles="$(TargetDir)\$(TargetName).dll" DestinationFolder="$(GamePath)\smapi-internal" /> + <Copy SourceFiles="$(TargetDir)\$(TargetName).pdb" DestinationFolder="$(GamePath)\smapi-internal" /> + <Copy SourceFiles="$(TargetDir)\$(TargetName).xml" DestinationFolder="$(GamePath)\smapi-internal" /> </Target> <Target Name="CopyToolkitCoreInterfaces" Condition="'$(MSBuildProjectName)' == 'SMAPI.Toolkit.CoreInterfaces' AND $(TargetFramework) == 'net4.5'" AfterTargets="PostBuildEvent"> |