rjw-sexperience-ideology/Source/IdeologyAddon/IdeologyAddon.csproj

69 lines
2.5 KiB
XML
Raw Normal View History

2023-11-05 05:42:07 +00:00
<Project Sdk="Microsoft.NET.Sdk">
2022-07-26 03:55:56 +00:00
<PropertyGroup>
2024-05-22 17:22:15 +00:00
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<TargetGameVersion>1.5</TargetGameVersion>
<InternalModVersion>1.0</InternalModVersion>
<Version>$(TargetGameVersion).$(InternalModVersion)</Version>
2022-07-26 03:55:56 +00:00
<ProjectGuid>{B4481C38-31B1-422D-B5AA-0059FE7CCA1C}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>RJWSexperience.Ideology</RootNamespace>
<AssemblyName>RJWSexperience.Ideology</AssemblyName>
2023-11-05 05:42:07 +00:00
<TargetFramework>net48</TargetFramework>
2022-07-26 03:55:56 +00:00
<Optimize>true</Optimize>
2024-05-22 17:22:15 +00:00
<OutputPath>..\..\$(TargetGameVersion)\Assemblies\</OutputPath>
2023-11-05 05:42:07 +00:00
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
2024-05-22 17:22:15 +00:00
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<Deterministic>false</Deterministic>
2024-04-29 16:02:37 +00:00
<DebugSymbols>false</DebugSymbols>
<DebugType>none</DebugType>
2023-11-05 05:42:07 +00:00
<LangVersion>8.0</LangVersion>
2022-07-26 03:55:56 +00:00
</PropertyGroup>
2023-11-05 05:42:07 +00:00
2022-07-26 03:55:56 +00:00
<ItemGroup>
<PackageReference Include="Krafs.Rimworld.Ref">
2024-05-22 17:22:15 +00:00
<Version>$(TargetGameVersion).*</Version>
2022-07-26 03:55:56 +00:00
</PackageReference>
<PackageReference Include="Lib.Harmony">
2024-04-29 16:02:37 +00:00
<Version>2.*</Version>
2022-07-26 03:55:56 +00:00
<ExcludeAssets>runtime</ExcludeAssets>
2022-10-24 14:07:16 +00:00
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2022-07-26 03:55:56 +00:00
</PackageReference>
</ItemGroup>
2024-05-22 17:22:15 +00:00
<Choose>
<When Condition=" '$(Configuration)' == 'Release' ">
<ItemGroup>
<Reference Include="RJW">
<HintPath>obj\RJW.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
<PropertyGroup>
<RjwUrl>https://gitgud.io/Ed86/rjw/-/raw/master/$(TargetGameVersion)/Assemblies/RJW.dll</RjwUrl>
</PropertyGroup>
</When>
<Otherwise>
<ItemGroup>
<Reference Include="RJW">
<HintPath>..\..\..\rjw\$(TargetGameVersion)\Assemblies\RJW.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
</Otherwise>
</Choose>
<Target Name="DownloadRJW" BeforeTargets="BeforeBuild" Condition=" '$(Configuration)' == 'Release' ">
<DownloadFile
SourceUrl="$(RjwUrl)"
DestinationFolder="obj"
DestinationFileName="RJW.dll">
</DownloadFile>
</Target>
<Target Name="PostBuildAction" AfterTargets="Build">
<XmlPoke XmlInputPath="..\..\About\RealAbout.xml" Query="//ModMetaData/modVersion" Value="$(Version)" />
<XmlPoke XmlInputPath="..\..\About\Manifest.xml" Query="//Manifest/version" Value="$(Version)" />
</Target>
2022-07-26 03:55:56 +00:00
</Project>