78 lines
4.1 KiB
XML
78 lines
4.1 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
|||
|
<Project ToolsVersion="14.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>{2D41E7D7-B4B7-420F-ACAF-8F687E876008}</ProjectGuid>
|
|||
|
<OutputType>Library</OutputType>
|
|||
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|||
|
<RootNamespace>NoMorePets</RootNamespace>
|
|||
|
<AssemblyName>NoMorePets</AssemblyName>
|
|||
|
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
|||
|
<FileAlignment>512</FileAlignment>
|
|||
|
</PropertyGroup>
|
|||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|||
|
<DebugSymbols>true</DebugSymbols>
|
|||
|
<DebugType>full</DebugType>
|
|||
|
<Optimize>false</Optimize>
|
|||
|
<OutputPath>bin\Debug\</OutputPath>
|
|||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|||
|
<ErrorReport>prompt</ErrorReport>
|
|||
|
<WarningLevel>4</WarningLevel>
|
|||
|
</PropertyGroup>
|
|||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|||
|
<DebugType>pdbonly</DebugType>
|
|||
|
<Optimize>true</Optimize>
|
|||
|
<OutputPath>bin\Release\</OutputPath>
|
|||
|
<DefineConstants>TRACE</DefineConstants>
|
|||
|
<ErrorReport>prompt</ErrorReport>
|
|||
|
<WarningLevel>4</WarningLevel>
|
|||
|
</PropertyGroup>
|
|||
|
<ItemGroup>
|
|||
|
<Reference Include="System" />
|
|||
|
<Reference Include="System.Core" />
|
|||
|
<Reference Include="System.Xml.Linq" />
|
|||
|
<Reference Include="System.Data.DataSetExtensions" />
|
|||
|
<Reference Include="Microsoft.CSharp" />
|
|||
|
<Reference Include="System.Data" />
|
|||
|
<Reference Include="System.Net.Http" />
|
|||
|
<Reference Include="System.Xml" />
|
|||
|
</ItemGroup>
|
|||
|
<ItemGroup>
|
|||
|
<Compile Include="Class1.cs" />
|
|||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|||
|
</ItemGroup>
|
|||
|
<ItemGroup>
|
|||
|
<None Include="manifest.json" />
|
|||
|
<None Include="packages.config" />
|
|||
|
</ItemGroup>
|
|||
|
<ItemGroup>
|
|||
|
<Content Include="ReadMe.txt" />
|
|||
|
</ItemGroup>
|
|||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|||
|
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.1.2.0\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.1.2.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
|||
|
<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>
|
|||
|
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.1.2.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.1.2.0\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
|||
|
</Target>
|
|||
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
|||
|
Other similar extension points exist, see Microsoft.Common.targets.
|
|||
|
<Target Name="BeforeBuild">
|
|||
|
</Target>
|
|||
|
<Target Name="AfterBuild">
|
|||
|
</Target>
|
|||
|
-->
|
|||
|
<Target Name="AfterBuild">
|
|||
|
<PropertyGroup>
|
|||
|
<ModPath>$(GamePath)\Mods\$(TargetName)</ModPath>
|
|||
|
</PropertyGroup>
|
|||
|
<Copy SourceFiles="$(TargetDir)\$(TargetName).dll" DestinationFolder="$(ModPath)" />
|
|||
|
<Copy SourceFiles="$(TargetDir)\$(TargetName).pdb" DestinationFolder="$(ModPath)" Condition="Exists('$(TargetDir)\$(TargetName).pdb')" />
|
|||
|
<Copy SourceFiles="$(TargetDir)\$(TargetName).dll.mdb" DestinationFolder="$(ModPath)" Condition="Exists('$(TargetDir)\$(TargetName).dll.mdb')" />
|
|||
|
<Copy SourceFiles="$(ProjectDir)manifest.json" DestinationFolder="$(ModPath)" />
|
|||
|
<Copy SourceFiles="$(ProjectDir)ModInfo.txt" DestinationFolder="$(ModPath)" />
|
|||
|
</Target>
|
|||
|
</Project>
|