rimworld-mod-template/.vscode/mod.csproj

83 lines
4.1 KiB
XML
Raw Normal View History

2020-06-20 10:23:14 +02:00
<Project Sdk="Microsoft.NET.Sdk">
2024-10-16 14:11:05 +02:00
<PropertyGroup Condition="'$(GAME_VERSION)'==''">
<DefineConstants>v1_5</DefineConstants>
<OutputPath>../1.5/Assemblies</OutputPath>
</PropertyGroup>
<PropertyGroup Condition="'$(GAME_VERSION)'=='v1.5'">
<DefineConstants>v1_5</DefineConstants>
<OutputPath>../1.5/Assemblies</OutputPath>
</PropertyGroup>
2024-02-11 17:28:50 +01:00
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net480</TargetFramework>
<PlatformTarget>x64</PlatformTarget>
<!-- Modify [RootNamespace], [AssemblyName], [OutputPath], [VersionPrefix] -->
<RootNamespace>Template</RootNamespace>
<AssemblyName>Template</AssemblyName>
<LangVersion>latest</LangVersion>
2024-10-16 14:11:05 +02:00
<VersionPrefix>0.0.0.0</VersionPrefix>
2024-02-11 17:28:50 +01:00
<!-- do not generate pdb file -->
<DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<Nullable>enable</Nullable>
2024-10-16 14:11:05 +02:00
<Deterministic>True</Deterministic>
2024-02-11 17:28:50 +01:00
<!-- Contents of About.xml
See https://rimworldwiki.com/wiki/Modding_Tutorials/About.xml -->
<ModMetaData>
2024-10-16 14:11:05 +02:00
<packageId>dev.tobot.rimworld.template</packageId>
<name>Toby's Mod Template</name>
2024-02-11 17:28:50 +01:00
<authors>
<li>Toby</li>
</authors>
2024-10-16 14:11:05 +02:00
<description>Template mod for nix and VS Code</description>
2024-02-11 17:28:50 +01:00
<supportedVersions>
2024-10-16 14:11:05 +02:00
<li>1.5</li>
2024-02-11 17:28:50 +01:00
</supportedVersions>
<modVersion IgnoreIfNoMatchingField="True">
<!-- Gets automatically populated with VersionPrefix (see above) -->
</modVersion>
<url>https://git.tobot.dev/toby/rimworld-mod-template</url>
2024-02-11 17:28:50 +01:00
<modDependencies />
<modDependenciesByVersion>
2024-10-16 14:11:05 +02:00
<v1.5>
2024-02-11 17:28:50 +01:00
<li>
<packageId>brrainz.harmony</packageId>
<displayName>Harmony</displayName>
<steamWorkshopUrl>steam://url/CommunityFilePage/2009463077</steamWorkshopUrl>
<downloadUrl>https://github.com/pardeike/HarmonyRimWorld/releases/latest</downloadUrl>
</li>
2024-10-16 14:11:05 +02:00
</v1.5>
2024-02-11 17:28:50 +01:00
</modDependenciesByVersion>
<loadAfter />
2024-10-16 14:11:05 +02:00
<loadAfterByVersion>
<v1.5>
<li>brrainz.harmony</li>
</v1.5>
</loadAfterByVersion>
2024-02-11 17:28:50 +01:00
<forceLoadAfter />
<loadBefore />
<loadBeforeByVersion />
<forceLoadBefore />
<incompatibleWith />
<incompatibleWithByVersion />
</ModMetaData>
</PropertyGroup>
2024-10-16 14:11:05 +02:00
<ItemGroup Condition="'$(GAME_VERSION)'==''">
<!-- <PackageReference Include="Krafs.Rimworld.Ref" Version="1.5.4104" /> -->
<Reference Include="RimWorld" HintPath="/home/toby/.local/share/Steam/steamapps/common/RimWorld/RimWorldLinux_Data/Managed/Assembly-CSharp.dll" IncludeAssets="compile" Private="false" />
<PackageReference Include="Lib.Harmony" Version="2.3.3" IncludeAssets="compile" />
</ItemGroup>
<ItemGroup Condition="'$(GAME_VERSION)'=='v1.5'">
<PackageReference Include="Krafs.Rimworld.Ref" Version="1.5.4104" />
<!-- <Reference Include="RimWorld" HintPath="/home/toby/.local/share/Steam/steamapps/common/RimWorld/RimWorldLinux_Data/Managed/Assembly-CSharp.dll" IncludeAssets="compile" Private="false" /> -->
<PackageReference Include="Lib.Harmony" Version="2.3.3" IncludeAssets="compile" />
</ItemGroup>
2024-02-11 17:28:50 +01:00
<ItemGroup>
<!-- Mod -->
2024-10-16 14:11:05 +02:00
<Compile Include="../Source/**/*.cs" />
<PackageReference Include="roslynator.analyzers" Version="4.12.5" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" PrivateAssets="all" />
<PackageReference Include="roslynator.formatting.analyzers" Version="4.12.5" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" PrivateAssets="all" />
2024-02-11 17:28:50 +01:00
</ItemGroup>
</Project>