-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathcsproj_common
60 lines (48 loc) · 2.44 KB
/
csproj_common
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Thanks to DecidedlyHuman! Remove bin and obj automatically with a clean action.
<Target Name="RemoveAutoGenDirs" AfterTargets="Clean">
<RemoveDir Directories="$(ProjectDir)bin;$(ProjectDir)obj" />
</Target> -->
<!--common project properties-->
<PropertyGroup>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<LangVersion>11</LangVersion>
<Nullable>enable</Nullable>
<WarningsAsErrors>Nullable</WarningsAsErrors>
<CheckEolTargetFramework>false</CheckEolTargetFramework>
<TargetFramework>net5.0</TargetFramework>
<!-- Set checked on when compiling Debug. -->
<CheckForOverflowUnderflow Condition="$(Configuration) == 'Debug'">true</CheckForOverflowUnderflow>
</PropertyGroup>
<PropertyGroup>
<Authors>atravita</Authors>
<MinimumApiVersion>3.18</MinimumApiVersion>
<UniqueId>$(Authors).$(AssemblyName)</UniqueId>
<EntryDll>$(AssemblyName).dll</EntryDll>
<GamePath>C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley</GamePath>
<GameModsPath>$(GamePath)/Mods</GameModsPath>
</PropertyGroup>
<PropertyGroup>
<IgnoreModFilePatterns>\.xcf$</IgnoreModFilePatterns>
<EnableModZip Condition="$(Configuration) != 'Release'">False</EnableModZip>
<ModZipPath>$(SolutionDir)\_releases</ModZipPath>
</PropertyGroup>
<!--common packages everyone uses-->
<ItemGroup>
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" Version="4.1.1" />
<PackageReference Include="Pathoschild.Stardew.ModTranslationClassBuilder" Version="2.0.1" />
<PackageReference Include="Leclair.Stardew.ModManifestBuilder" Version="2.1.0" />
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="NetEscapades.EnumGenerators" Version="1.0.0-beta08"
PrivateAssets="all" ExcludeAssets="runtime" />
<PackageReference Include="JetBrains.Annotations" Version="2023.3.0" />
<PackageReference Include="Microsoft.Win32.Registry" Version ="5.0.0" />
</ItemGroup>
<ItemGroup>
<None Remove="README.bbcode" />
</ItemGroup>
<ProjectExtensions><VisualStudio><UserProperties manifest_1json__JsonSchema="https://smapi.io/schemas/manifest.json" /></VisualStudio></ProjectExtensions>
</Project>