forked from spacechase0/StardewValleyMods
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcommon.targets
33 lines (28 loc) · 1.4 KB
/
common.targets
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--common project properties-->
<PropertyGroup>
<Authors>Shivion</Authors>
<Description>...</Description>
<UniqueId>shivion.$(AssemblyName)</UniqueId>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<LangVersion>latest</LangVersion>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
</PropertyGroup>
<!--import mod build package-->
<ItemGroup>
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" Version="4.1.1" />
<PackageReference Include="Leclair.Stardew.ModManifestBuilder" Version="2.1.0" />
</ItemGroup>
<!--common mod build package options-->
<PropertyGroup>
<ModZipPath>$(SolutionDir)\_releases</ModZipPath>
<EnableModZip Condition="$(Configuration) != 'Release'">False</EnableModZip>
</PropertyGroup>
<!-- mac workaround, remove when updating mod build config -->
<PropertyGroup Condition="'$(OS)' != 'Windows_NT'">
<StartAction>Program</StartAction>
<StartProgram>/Users/spacechase0/Library/Application Support/Steam/steamapps/common/Stardew Valley/Contents/MacOS\StardewModdingAPI</StartProgram>
<StartWorkingDirectory>/Users/spacechase0/Library/Application Support/Steam/steamapps/common/Stardew Valley/Contents/MacOS</StartWorkingDirectory>
</PropertyGroup>
</Project>