2016-11-04 12:10:10 +08:00
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion= "12.0" DefaultTargets= "Build" xmlns= "http://schemas.microsoft.com/developer/msbuild/2003" >
<Import Project= "$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition= "Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup >
<Configuration Condition= " '$(Configuration)' == '' " > Debug</Configuration>
<Platform Condition= " '$(Platform)' == '' " > AnyCPU</Platform>
<ProjectGuid > {F1A573B0-F436-472C-AE29-0B91EA6B9F8F}</ProjectGuid>
<OutputType > Exe</OutputType>
<AppDesignerFolder > Properties</AppDesignerFolder>
<RootNamespace > StardewModdingAPI</RootNamespace>
<AssemblyName > StardewModdingAPI</AssemblyName>
2017-03-15 06:16:44 +08:00
<TargetFrameworkVersion > v4.5</TargetFrameworkVersion>
2016-11-04 12:10:10 +08:00
<FileAlignment > 512</FileAlignment>
<IsWebBootstrapper > false</IsWebBootstrapper>
<TargetFrameworkProfile />
<PublishUrl > publish\</PublishUrl>
<Install > true</Install>
<InstallFrom > Disk</InstallFrom>
<UpdateEnabled > false</UpdateEnabled>
<UpdateMode > Foreground</UpdateMode>
<UpdateInterval > 7</UpdateInterval>
<UpdateIntervalUnits > Days</UpdateIntervalUnits>
<UpdatePeriodically > false</UpdatePeriodically>
<UpdateRequired > false</UpdateRequired>
<MapFileExtensions > true</MapFileExtensions>
<ApplicationRevision > 0</ApplicationRevision>
<ApplicationVersion > 1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust > false</UseApplicationTrust>
<BootstrapperEnabled > true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition= " '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
<PlatformTarget > AnyCPU</PlatformTarget>
<DebugSymbols > true</DebugSymbols>
<DebugType > full</DebugType>
<Optimize > true</Optimize>
<OutputPath > $(SolutionDir)\..\bin\Debug\SMAPI</OutputPath>
<DefineConstants > TRACE;DEBUG</DefineConstants>
<ErrorReport > prompt</ErrorReport>
<WarningLevel > 4</WarningLevel>
<Prefer32Bit > false</Prefer32Bit>
<CheckForOverflowUnderflow > true</CheckForOverflowUnderflow>
</PropertyGroup>
<PropertyGroup Condition= " '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
<PlatformTarget > AnyCPU</PlatformTarget>
<DebugType > pdbonly</DebugType>
<Optimize > true</Optimize>
<OutputPath > $(SolutionDir)\..\bin\Release\SMAPI</OutputPath>
<DefineConstants > TRACE</DefineConstants>
<ErrorReport > prompt</ErrorReport>
<WarningLevel > 4</WarningLevel>
<Prefer32Bit > false</Prefer32Bit>
<CheckForOverflowUnderflow > true</CheckForOverflowUnderflow>
</PropertyGroup>
<PropertyGroup Condition= "'$(Configuration)|$(Platform)' == 'Debug|x86'" >
<PlatformTarget > x86</PlatformTarget>
<Prefer32Bit > false</Prefer32Bit>
<DefineConstants > DEBUG;TRACE</DefineConstants>
<UseVSHostingProcess > true</UseVSHostingProcess>
<Optimize > false</Optimize>
<OutputPath > $(SolutionDir)\..\bin\Debug\SMAPI</OutputPath>
2016-11-07 00:15:46 +08:00
<DocumentationFile > $(SolutionDir)\..\bin\Debug\SMAPI\StardewModdingAPI.xml</DocumentationFile>
2016-11-04 12:10:10 +08:00
<CheckForOverflowUnderflow > true</CheckForOverflowUnderflow>
</PropertyGroup>
<PropertyGroup Condition= "'$(Configuration)|$(Platform)' == 'Release|x86'" >
<PlatformTarget > x86</PlatformTarget>
<Prefer32Bit > false</Prefer32Bit>
<OutputPath > $(SolutionDir)\..\bin\Release\SMAPI</OutputPath>
2016-11-07 00:15:46 +08:00
<DocumentationFile > $(SolutionDir)\..\bin\Debug\SMAPI\StardewModdingAPI.xml</DocumentationFile>
2016-11-04 12:10:10 +08:00
<DefineConstants > TRACE</DefineConstants>
<Optimize > true</Optimize>
<CheckForOverflowUnderflow > true</CheckForOverflowUnderflow>
<DebugType > pdbonly</DebugType>
<DebugSymbols > true</DebugSymbols>
</PropertyGroup>
<PropertyGroup >
<ApplicationIcon > icon.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup >
2016-11-22 08:25:53 +08:00
<Reference Include= "Mono.Cecil, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" >
2017-03-15 06:16:44 +08:00
<HintPath > ..\packages\Mono.Cecil.0.9.6.4\lib\net45\Mono.Cecil.dll</HintPath>
2016-11-22 08:25:53 +08:00
<Private > True</Private>
</Reference>
<Reference Include= "Mono.Cecil.Mdb, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" >
2017-03-15 06:16:44 +08:00
<HintPath > ..\packages\Mono.Cecil.0.9.6.4\lib\net45\Mono.Cecil.Mdb.dll</HintPath>
2016-11-22 08:25:53 +08:00
<Private > True</Private>
</Reference>
<Reference Include= "Mono.Cecil.Pdb, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" >
2017-03-15 06:16:44 +08:00
<HintPath > ..\packages\Mono.Cecil.0.9.6.4\lib\net45\Mono.Cecil.Pdb.dll</HintPath>
2016-11-22 08:25:53 +08:00
<Private > True</Private>
</Reference>
2016-11-04 12:10:10 +08:00
<Reference Include= "Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL" >
2017-03-15 06:16:44 +08:00
<HintPath > ..\packages\Newtonsoft.Json.8.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
2016-11-04 12:10:10 +08:00
<Private > True</Private>
</Reference>
<Reference Include= "System" />
<Reference Include= "System.Core" />
<Reference Include= "System.Drawing" />
2017-03-03 11:03:23 +08:00
<Reference Include= "System.Management" Condition= "$(OS) == 'Windows_NT'" />
2016-11-04 12:10:10 +08:00
<Reference Include= "System.Numerics" >
<Private > True</Private>
</Reference>
2016-12-13 10:43:35 +08:00
<Reference Include= "System.Runtime.Caching" >
<Private > True</Private>
</Reference>
2016-11-04 12:10:10 +08:00
<Reference Include= "System.Windows.Forms" Condition= "$(OS) == 'Windows_NT'" />
<Reference Include= "System.Xml.Linq" />
<Reference Include= "System.Data.DataSetExtensions" />
<Reference Include= "Microsoft.CSharp" />
<Reference Include= "System.Data" />
<Reference Include= "System.Xml" />
</ItemGroup>
<ItemGroup >
2016-11-18 11:23:45 +08:00
<Compile Include= "..\GlobalAssemblyInfo.cs" >
<Link > Properties\GlobalAssemblyInfo.cs</Link>
</Compile>
2016-11-04 12:10:10 +08:00
<Compile Include= "Command.cs" />
2017-02-26 04:22:45 +08:00
<Compile Include= "Events\ContentEvents.cs" />
2017-03-04 09:57:52 +08:00
<Compile Include= "Events\EventArgsValueChanged.cs" />
2017-02-13 13:40:33 +08:00
<Compile Include= "Framework\Command.cs" />
2016-11-04 12:10:10 +08:00
<Compile Include= "Config.cs" />
<Compile Include= "Constants.cs" />
<Compile Include= "Events\ControlEvents.cs" />
<Compile Include= "Events\EventArgsCommand.cs" />
<Compile Include= "Events\EventArgsClickableMenuChanged.cs" />
<Compile Include= "Events\EventArgsClickableMenuClosed.cs" />
<Compile Include= "Events\EventArgsControllerButtonPressed.cs" />
<Compile Include= "Events\EventArgsControllerButtonReleased.cs" />
<Compile Include= "Events\EventArgsControllerTriggerPressed.cs" />
<Compile Include= "Events\EventArgsControllerTriggerReleased.cs" />
<Compile Include= "Events\EventArgsCurrentLocationChanged.cs" />
<Compile Include= "Events\EventArgsFarmerChanged.cs" />
<Compile Include= "Events\EventArgsGameLocationsChanged.cs" />
<Compile Include= "Events\EventArgsIntChanged.cs" />
<Compile Include= "Events\EventArgsInventoryChanged.cs" />
<Compile Include= "Events\EventArgsKeyboardStateChanged.cs" />
<Compile Include= "Events\EventArgsKeyPressed.cs" />
<Compile Include= "Events\EventArgsLevelUp.cs" />
<Compile Include= "Events\EventArgsLoadedGameChanged.cs" />
<Compile Include= "Events\EventArgsLocationObjectsChanged.cs" />
<Compile Include= "Events\EventArgsMineLevelChanged.cs" />
<Compile Include= "Events\EventArgsMouseStateChanged.cs" />
<Compile Include= "Events\EventArgsNewDay.cs" />
<Compile Include= "Events\EventArgsStringChanged.cs" />
<Compile Include= "Events\GameEvents.cs" />
<Compile Include= "Events\GraphicsEvents.cs" />
2017-02-03 12:22:54 +08:00
<Compile Include= "Framework\AssemblyDefinitionResolver.cs" />
<Compile Include= "Framework\AssemblyParseResult.cs" />
2017-02-13 13:40:33 +08:00
<Compile Include= "Framework\CommandManager.cs" />
2017-03-11 01:00:11 +08:00
<Compile Include= "Framework\Content\ContentEventData.cs" />
2017-03-09 04:25:30 +08:00
<Compile Include= "Framework\Content\ContentEventHelper.cs" />
<Compile Include= "Framework\Content\ContentEventHelperForDictionary.cs" />
<Compile Include= "Framework\Content\ContentEventHelperForImage.cs" />
2017-02-11 14:15:56 +08:00
<Compile Include= "Framework\Logging\ConsoleInterceptionManager.cs" />
<Compile Include= "Framework\Logging\InterceptingTextWriter.cs" />
2017-02-13 13:40:33 +08:00
<Compile Include= "Framework\CommandHelper.cs" />
2017-03-15 08:48:02 +08:00
<Compile Include= "Framework\Models\ModCompatibilityType.cs" />
2017-02-24 11:58:23 +08:00
<Compile Include= "Framework\Models\SConfig.cs" />
2017-02-08 10:07:57 +08:00
<Compile Include= "Framework\Reflection\PrivateProperty.cs" />
2017-02-16 13:54:41 +08:00
<Compile Include= "Framework\RequestExitDelegate.cs" />
2017-02-25 07:52:53 +08:00
<Compile Include= "Framework\SContentManager.cs" />
2017-02-13 13:13:29 +08:00
<Compile Include= "Framework\Serialisation\JsonHelper.cs" />
2017-02-18 00:33:22 +08:00
<Compile Include= "Framework\Serialisation\SelectiveStringEnumConverter.cs" />
2017-02-08 09:50:41 +08:00
<Compile Include= "Framework\Serialisation\SemanticVersionConverter.cs" />
2017-02-13 13:40:33 +08:00
<Compile Include= "ICommandHelper.cs" />
2017-03-11 01:00:11 +08:00
<Compile Include= "IContentEventData.cs" />
2017-02-26 04:22:45 +08:00
<Compile Include= "IContentEventHelper.cs" />
2017-03-09 04:25:30 +08:00
<Compile Include= "IContentEventHelperForDictionary.cs" />
<Compile Include= "IContentEventHelperForImage.cs" />
2017-01-20 00:07:48 +08:00
<Compile Include= "IModRegistry.cs" />
2016-11-04 12:10:10 +08:00
<Compile Include= "Events\LocationEvents.cs" />
<Compile Include= "Events\MenuEvents.cs" />
<Compile Include= "Events\MineEvents.cs" />
<Compile Include= "Events\PlayerEvents.cs" />
2017-01-16 07:23:09 +08:00
<Compile Include= "Events\SaveEvents.cs" />
2016-11-04 12:10:10 +08:00
<Compile Include= "Events\TimeEvents.cs" />
2016-11-06 23:30:25 +08:00
<Compile Include= "Framework\DeprecationLevel.cs" />
2016-11-06 04:20:31 +08:00
<Compile Include= "Framework\DeprecationManager.cs" />
2016-11-22 11:09:02 +08:00
<Compile Include= "Framework\InternalExtensions.cs" />
2017-03-15 08:48:02 +08:00
<Compile Include= "Framework\Models\ModCompatibility.cs" />
2017-02-03 12:22:54 +08:00
<Compile Include= "Framework\AssemblyLoader.cs" />
2016-12-19 01:27:44 +08:00
<Compile Include= "Framework\Reflection\CacheEntry.cs" />
2016-12-10 01:25:53 +08:00
<Compile Include= "Framework\Reflection\PrivateField.cs" />
<Compile Include= "Framework\Reflection\PrivateMethod.cs" />
<Compile Include= "Framework\Reflection\ReflectionHelper.cs" />
2016-12-19 04:37:23 +08:00
<Compile Include= "IManifest.cs" />
2016-12-22 23:48:05 +08:00
<Compile Include= "IMod.cs" />
2016-11-17 06:52:49 +08:00
<Compile Include= "IModHelper.cs" />
2017-02-11 14:15:56 +08:00
<Compile Include= "Framework\Logging\LogFileManager.cs" />
2017-02-08 10:07:57 +08:00
<Compile Include= "IPrivateProperty.cs" />
2016-12-19 04:37:23 +08:00
<Compile Include= "ISemanticVersion.cs" />
2016-11-15 06:42:27 +08:00
<Compile Include= "LogLevel.cs" />
2016-11-14 01:17:05 +08:00
<Compile Include= "Framework\ModRegistry.cs" />
2016-11-04 12:10:10 +08:00
<Compile Include= "Framework\UpdateHelper.cs" />
2016-12-23 01:45:42 +08:00
<Compile Include= "Framework\Models\GitRelease.cs" />
2016-11-15 06:42:27 +08:00
<Compile Include= "IMonitor.cs" />
2017-02-08 09:50:41 +08:00
<Compile Include= "Events\ChangeType.cs" />
<Compile Include= "Events\ItemStackChange.cs" />
2016-11-04 12:10:10 +08:00
<Compile Include= "Log.cs" />
2016-11-15 06:42:27 +08:00
<Compile Include= "Framework\Monitor.cs" />
2017-02-15 02:07:30 +08:00
<Compile Include= "Framework\Manifest.cs" />
2016-11-04 12:10:10 +08:00
<Compile Include= "Mod.cs" />
2017-02-08 12:34:52 +08:00
<Compile Include= "Framework\ModHelper.cs" />
2017-03-04 09:22:30 +08:00
<Compile Include= "PatchMode.cs" />
2016-11-04 12:10:10 +08:00
<Compile Include= "Program.cs" />
<Compile Include= "Properties\AssemblyInfo.cs" />
2017-02-08 09:50:41 +08:00
<Compile Include= "Framework\SGame.cs" />
2016-12-12 10:03:57 +08:00
<Compile Include= "IPrivateField.cs" />
<Compile Include= "IPrivateMethod.cs" />
<Compile Include= "IReflectionHelper.cs" />
2016-12-19 04:37:23 +08:00
<Compile Include= "SemanticVersion.cs" />
2016-11-04 12:10:10 +08:00
</ItemGroup>
<ItemGroup >
<None Include= "App.config" >
<SubType > Designer</SubType>
</None>
2017-03-15 06:16:44 +08:00
<None Include= "packages.config" >
<SubType > Designer</SubType>
</None>
2016-12-22 02:27:56 +08:00
<Content Include= "StardewModdingAPI.config.json" >
2016-11-07 00:15:46 +08:00
<CopyToOutputDirectory > Always</CopyToOutputDirectory>
</Content>
2016-11-04 12:10:10 +08:00
<None Include= "unix-launcher.sh" >
<CopyToOutputDirectory > Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup >
<Content Include= "icon.ico" />
<Content Include= "steam_appid.txt" >
<CopyToOutputDirectory > Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup >
<BootstrapperPackage Include= ".NETFramework,Version=v4.5" >
<Visible > False</Visible>
<ProductName > Microsoft .NET Framework 4.5 %28x86 and x64%29</ProductName>
<Install > true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include= "Microsoft.Net.Framework.3.5.SP1" >
<Visible > False</Visible>
<ProductName > .NET Framework 3.5 SP1</ProductName>
<Install > false</Install>
</BootstrapperPackage>
</ItemGroup>
2016-11-30 03:02:59 +08:00
<ItemGroup >
<ProjectReference Include= "..\StardewModdingAPI.AssemblyRewriters\StardewModdingAPI.AssemblyRewriters.csproj" >
<Project > {10db0676-9fc1-4771-a2c8-e2519f091e49}</Project>
<Name > StardewModdingAPI.AssemblyRewriters</Name>
</ProjectReference>
</ItemGroup>
2016-12-08 12:38:22 +08:00
<Import Project= "$(SolutionDir)\crossplatform.targets" />
2016-11-04 12:10:10 +08:00
<Import Project= "$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup >
<PostBuildEvent >
</PostBuildEvent>
</PropertyGroup>
2016-11-10 00:11:40 +08:00
<!-- if game path is invalid, show one user - friendly error instead of a slew of reference errors -->
2016-11-04 12:10:10 +08:00
<Target Name= "BeforeBuild" >
<Error Condition= "!Exists('$(GamePath)')" Text= "Failed to find the game install path automatically; edit the *.csproj file and manually add a <GamePath> setting with the full directory path containing the Stardew Valley executable." />
</Target>
2017-02-11 08:22:22 +08:00
2017-02-10 16:25:47 +08:00
<!-- copy files into game directory and enable debugging (only in debug mode) -->
2016-11-30 08:25:51 +08:00
<Target Name= "AfterBuild" Condition= "$(Configuration) == 'Debug'" >
2016-11-10 00:11:40 +08:00
<Copy SourceFiles= "$(TargetDir)\$(TargetName).exe" DestinationFolder= "$(GamePath)" />
2016-12-22 02:27:56 +08:00
<Copy SourceFiles= "$(TargetDir)\$(TargetName).config.json" DestinationFolder= "$(GamePath)" />
2016-11-30 08:25:51 +08:00
<Copy SourceFiles= "$(TargetDir)\StardewModdingAPI.AssemblyRewriters.dll" DestinationFolder= "$(GamePath)" />
2016-12-01 03:04:06 +08:00
<Copy SourceFiles= "$(TargetDir)\$(TargetName).exe.mdb" DestinationFolder= "$(GamePath)" Condition= "$(OS) != 'Windows_NT'" />
<Copy SourceFiles= "$(TargetDir)\$(TargetName).pdb" DestinationFolder= "$(GamePath)" Condition= "$(OS) == 'Windows_NT'" />
<Copy SourceFiles= "$(TargetDir)\$(TargetName).xml" DestinationFolder= "$(GamePath)" Condition= "$(OS) == 'Windows_NT'" />
2016-11-10 00:11:40 +08:00
<Copy SourceFiles= "$(TargetDir)\Newtonsoft.Json.dll" DestinationFolder= "$(GamePath)" />
2016-11-22 08:25:53 +08:00
<Copy SourceFiles= "$(TargetDir)\Mono.Cecil.dll" DestinationFolder= "$(GamePath)" />
2016-11-10 00:11:40 +08:00
</Target>
2017-02-11 08:22:22 +08:00
<!-- launch SMAPI on debug -->
<PropertyGroup Condition= "$(Configuration) == 'Debug'" >
<StartAction > Program</StartAction>
<StartProgram > $(GamePath)\StardewModdingAPI.exe</StartProgram>
<StartWorkingDirectory > $(GamePath)</StartWorkingDirectory>
</PropertyGroup>
<!-- Somehow this makes Visual Studio for Mac recognise the previous section. -->
<!-- Nobody knows why. -->
<PropertyGroup Condition= "'$(RunConfiguration)' == 'Default'" />
2017-03-15 06:16:44 +08:00
</Project>