2016-03-04 02:50:22 +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>
2016-10-01 02:16:16 +08:00
<TargetFrameworkVersion > v4.5</TargetFrameworkVersion>
2016-03-04 02:50:22 +08:00
<FileAlignment > 512</FileAlignment>
2016-03-21 06:50:31 +08:00
<IsWebBootstrapper > false</IsWebBootstrapper>
<TargetFrameworkProfile />
2016-03-05 06:21:16 +08:00
<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>
2016-03-04 02:50:22 +08:00
</PropertyGroup>
<PropertyGroup Condition= " '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
2016-05-30 03:29:21 +08:00
<PlatformTarget > AnyCPU</PlatformTarget>
2016-03-04 02:50:22 +08:00
<DebugSymbols > true</DebugSymbols>
<DebugType > full</DebugType>
2016-05-30 03:29:21 +08:00
<Optimize > true</Optimize>
2016-11-04 09:03:03 +08:00
<OutputPath > $(SolutionDir)\..\bin\Debug\SMAPI</OutputPath>
2016-05-30 03:29:21 +08:00
<DefineConstants > TRACE;DEBUG</DefineConstants>
2016-03-04 02:50:22 +08:00
<ErrorReport > prompt</ErrorReport>
<WarningLevel > 4</WarningLevel>
2016-03-05 20:14:53 +08:00
<Prefer32Bit > false</Prefer32Bit>
2016-05-30 03:29:21 +08:00
<CheckForOverflowUnderflow > true</CheckForOverflowUnderflow>
2016-03-04 02:50:22 +08:00
</PropertyGroup>
<PropertyGroup Condition= " '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
<PlatformTarget > AnyCPU</PlatformTarget>
<DebugType > pdbonly</DebugType>
<Optimize > true</Optimize>
2016-11-04 09:03:03 +08:00
<OutputPath > $(SolutionDir)\..\bin\Release\SMAPI</OutputPath>
2016-03-04 02:50:22 +08:00
<DefineConstants > TRACE</DefineConstants>
<ErrorReport > prompt</ErrorReport>
<WarningLevel > 4</WarningLevel>
2016-03-05 20:14:53 +08:00
<Prefer32Bit > false</Prefer32Bit>
2016-05-30 03:29:21 +08:00
<CheckForOverflowUnderflow > true</CheckForOverflowUnderflow>
2016-03-04 02:50:22 +08:00
</PropertyGroup>
<PropertyGroup Condition= "'$(Configuration)|$(Platform)' == 'Debug|x86'" >
<PlatformTarget > x86</PlatformTarget>
2016-03-31 06:37:53 +08:00
<OutputPath > bin\Debug\</OutputPath>
2016-03-05 20:14:53 +08:00
<Prefer32Bit > false</Prefer32Bit>
2016-10-27 09:15:34 +08:00
<DefineConstants > DEBUG;TRACE</DefineConstants>
2016-03-07 07:28:32 +08:00
<UseVSHostingProcess > true</UseVSHostingProcess>
2016-10-31 23:34:41 +08:00
<Optimize > false</Optimize>
2016-11-04 09:03:03 +08:00
<OutputPath > $(SolutionDir)\..\bin\Debug\SMAPI</OutputPath>
<DocumentationFile > bin\Debug\StardewModdingAPI.xml</DocumentationFile>
2016-05-30 03:29:21 +08:00
<CheckForOverflowUnderflow > true</CheckForOverflowUnderflow>
<LangVersion > 6</LangVersion>
2016-03-04 02:50:22 +08:00
</PropertyGroup>
<PropertyGroup Condition= "'$(Configuration)|$(Platform)' == 'Release|x86'" >
<PlatformTarget > x86</PlatformTarget>
2016-03-31 06:37:53 +08:00
<OutputPath > bin\Release\</OutputPath>
2016-03-05 20:14:53 +08:00
<Prefer32Bit > false</Prefer32Bit>
2016-11-04 09:03:03 +08:00
<OutputPath > $(SolutionDir)\..\bin\Release\SMAPI</OutputPath>
<DocumentationFile > bin\Release\StardewModdingAPI.xml</DocumentationFile>
2016-05-30 03:29:21 +08:00
<DefineConstants > TRACE</DefineConstants>
<Optimize > true</Optimize>
<CheckForOverflowUnderflow > true</CheckForOverflowUnderflow>
<LangVersion > 6</LangVersion>
2016-10-28 00:23:00 +08:00
<DebugType > pdbonly</DebugType>
<DebugSymbols > true</DebugSymbols>
2016-03-04 02:50:22 +08:00
</PropertyGroup>
<PropertyGroup >
<ApplicationIcon > icon.ico</ApplicationIcon>
</PropertyGroup>
2016-05-30 03:29:21 +08:00
<PropertyGroup >
<StartupObject > StardewModdingAPI.Program</StartupObject>
</PropertyGroup>
2016-10-26 11:38:25 +08:00
<PropertyGroup >
<!-- Linux paths -->
<GamePath Condition= "!Exists('$(GamePath)')" > $(HOME)/GOG Games/Stardew Valley/game</GamePath>
<GamePath Condition= "!Exists('$(GamePath)')" > $(HOME)/.local/share/Steam/steamapps/common/Stardew Valley</GamePath>
<!-- Mac paths -->
<GamePath Condition= "!Exists('$(GamePath)')" > $(HOME)/Library/Application Support/Steam/steamapps/common/Stardew Valley/Contents/MacOS</GamePath>
<!-- Windows paths -->
<GamePath Condition= "!Exists('$(GamePath)')" > C:\Program Files (x86)\GalaxyClient\Games\Stardew Valley</GamePath>
<GamePath Condition= "!Exists('$(GamePath)')" > C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley</GamePath>
</PropertyGroup>
2016-10-27 08:35:48 +08:00
<Choose >
<When Condition= "$(OS) == 'Windows_NT'" >
2016-10-28 01:40:42 +08:00
<PropertyGroup >
<DefineConstants > $(DefineConstants);SMAPI_FOR_WINDOWS</DefineConstants>
</PropertyGroup>
2016-10-27 08:35:48 +08:00
<ItemGroup >
<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= "Microsoft.Xna.Framework.Xact, 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= "xTile, Version=2.0.4.0, Culture=neutral, processorArchitecture=x86" >
<HintPath > $(GamePath)\xTile.dll</HintPath>
<Private > False</Private>
<SpecificVersion > False</SpecificVersion>
</Reference>
</ItemGroup>
</When>
<Otherwise >
2016-10-28 01:40:42 +08:00
<PropertyGroup >
<DefineConstants > $(DefineConstants);SMAPI_FOR_UNIX</DefineConstants>
</PropertyGroup>
2016-10-27 08:35:48 +08:00
<ItemGroup >
<Reference Include= "MonoGame.Framework" >
<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= "xTile" >
<HintPath > $(GamePath)\xTile.dll</HintPath>
<Private > False</Private>
</Reference>
</ItemGroup>
</Otherwise>
</Choose>
2016-03-04 02:50:22 +08:00
<ItemGroup >
2016-03-21 03:43:31 +08:00
<Reference Include= "Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL" >
2016-03-21 03:47:50 +08:00
<HintPath > ..\packages\Newtonsoft.Json.8.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
2016-03-21 03:43:31 +08:00
<Private > True</Private>
</Reference>
2016-03-04 02:50:22 +08:00
<Reference Include= "System" />
<Reference Include= "System.Core" />
<Reference Include= "System.Drawing" />
2016-11-04 09:03:03 +08:00
<Reference Include= "System.Numerics" >
2016-10-28 02:32:28 +08:00
<Private > True</Private>
</Reference>
2016-10-28 01:40:42 +08:00
<Reference Include= "System.Windows.Forms" Condition= "$(OS) == 'Windows_NT'" />
2016-03-04 02:50:22 +08:00
<Reference Include= "System.Xml.Linq" />
<Reference Include= "System.Data.DataSetExtensions" />
<Reference Include= "Microsoft.CSharp" />
<Reference Include= "System.Data" />
<Reference Include= "System.Xml" />
</ItemGroup>
<ItemGroup >
<Compile Include= "Command.cs" />
2016-03-21 03:43:31 +08:00
<Compile Include= "Config.cs" />
2016-03-07 05:58:40 +08:00
<Compile Include= "Constants.cs" />
2016-11-01 00:05:02 +08:00
<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" />
<Compile Include= "Events\LocationEvents.cs" />
<Compile Include= "Events\MenuEvents.cs" />
<Compile Include= "Events\MineEvents.cs" />
<Compile Include= "Events\PlayerEvents.cs" />
<Compile Include= "Events\TimeEvents.cs" />
2016-03-04 02:50:22 +08:00
<Compile Include= "Extensions.cs" />
2016-11-03 12:43:41 +08:00
<Compile Include= "Framework\UpdateHelper.cs" />
<Compile Include= "Framework\GitRelease.cs" />
2016-11-01 00:05:02 +08:00
<Compile Include= "Inheritance\ChangeType.cs" />
2016-03-05 04:20:58 +08:00
<Compile Include= "Inheritance\ItemStackChange.cs" />
2016-11-01 00:05:02 +08:00
<Compile Include= "Log.cs" />
2016-03-27 09:50:47 +08:00
<Compile Include= "Logger.cs" />
2016-11-01 00:05:02 +08:00
<Compile Include= "LogWriter.cs" />
2016-03-21 05:19:02 +08:00
<Compile Include= "Manifest.cs" />
2016-03-04 02:50:22 +08:00
<Compile Include= "Mod.cs" />
<Compile Include= "Program.cs" />
<Compile Include= "Properties\AssemblyInfo.cs" />
<Compile Include= "Inheritance\SGame.cs" />
2016-03-24 01:43:11 +08:00
<Compile Include= "Version.cs" />
2016-03-04 02:50:22 +08:00
</ItemGroup>
<ItemGroup >
2016-10-01 02:16:16 +08:00
<None Include= "App.config" >
<SubType > Designer</SubType>
</None>
<None Include= "packages.config" >
<SubType > Designer</SubType>
</None>
2016-11-04 09:03:03 +08:00
<None Include= "unix-launcher.sh" >
2016-10-27 13:19:21 +08:00
<CopyToOutputDirectory > Always</CopyToOutputDirectory>
2016-11-04 09:03:03 +08:00
</None>
2016-03-04 02:50:22 +08:00
</ItemGroup>
<ItemGroup >
2016-03-21 06:50:31 +08:00
<Content Include= "FodyWeavers.xml" />
2016-03-04 02:50:22 +08:00
<Content Include= "icon.ico" />
2016-11-04 09:03:03 +08:00
<Content Include= "steam_appid.txt" >
<CopyToOutputDirectory > Always</CopyToOutputDirectory>
</Content>
2016-03-04 02:50:22 +08:00
</ItemGroup>
2016-03-05 06:21:16 +08:00
<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-03-04 02:50:22 +08:00
<Import Project= "$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup >
2016-03-04 22:05:36 +08:00
<PostBuildEvent >
2016-03-05 04:20:58 +08:00
</PostBuildEvent>
2016-03-04 02:50:22 +08:00
</PropertyGroup>
2016-10-27 12:40:48 +08:00
<Import Project= "..\packages\Fody.1.29.4\build\dotnet\Fody.targets" Condition= "$(OS) == 'WINDOWS_NT' AND Exists('..\packages\Fody.1.29.4\build\dotnet\Fody.targets')" />
2016-03-21 06:50:31 +08:00
<Target Name= "EnsureNuGetPackageBuildImports" BeforeTargets= "PrepareForBuild" >
<PropertyGroup >
<ErrorText > This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
2016-05-30 03:29:21 +08:00
<Error Condition= "!Exists('..\packages\Fody.1.29.4\build\dotnet\Fody.targets')" Text= "$([System.String]::Format('$(ErrorText)', '..\packages\Fody.1.29.4\build\dotnet\Fody.targets'))" />
2016-03-21 06:50:31 +08:00
</Target>
2016-10-26 11:38:25 +08:00
<Target Name= "BeforeBuild" >
<!-- if game path is invalid, show one user - friendly error instead of a slew of reference errors -->
<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>
2016-10-27 09:15:34 +08:00
</Project>