mirror of
https://gitgud.io/amevarashi/rjw-sexperience-ideology.git
synced 2024-08-15 00:43:19 +00:00
69 lines
No EOL
2.5 KiB
XML
69 lines
No EOL
2.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<TargetGameVersion>1.5</TargetGameVersion>
|
|
<InternalModVersion>1.1</InternalModVersion>
|
|
<Version>$(TargetGameVersion).$(InternalModVersion)</Version>
|
|
<ProjectGuid>{B4481C38-31B1-422D-B5AA-0059FE7CCA1C}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<RootNamespace>RJWSexperience.Ideology</RootNamespace>
|
|
<AssemblyName>RJWSexperience.Ideology</AssemblyName>
|
|
<TargetFramework>net48</TargetFramework>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>..\..\$(TargetGameVersion)\Assemblies\</OutputPath>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
<Deterministic>false</Deterministic>
|
|
<DebugSymbols>false</DebugSymbols>
|
|
<DebugType>none</DebugType>
|
|
<LangVersion>8.0</LangVersion>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Krafs.Rimworld.Ref">
|
|
<Version>$(TargetGameVersion).*</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="Lib.Harmony">
|
|
<Version>2.*</Version>
|
|
<ExcludeAssets>runtime</ExcludeAssets>
|
|
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
<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>
|
|
</Project> |