-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
211 additions
and
236 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<loadFolders> | ||
<v1.1> | ||
<li>/</li> | ||
<li>1.1</li> | ||
</v1.1> | ||
<v1.2> | ||
<li>/</li> | ||
<li>1.2</li> | ||
</v1.2> | ||
</loadFolders> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,73 +1,88 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="14.0" DefaultTargets="Build" | ||
xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<ProjectGuid>{8BD5A28F-96C4-43B4-907F-600AA0162F84}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>AchtungMod</RootNamespace> | ||
<AssemblyName>AchtungMod</AssemblyName> | ||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<Optimize>true</Optimize> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<TargetFramework>net472</TargetFramework> | ||
<LangVersion>8.0</LangVersion> | ||
<PlatformTarget>x64</PlatformTarget> | ||
<OutputPath>..\1.2\Assemblies\</OutputPath> | ||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> | ||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> | ||
<Version>3.1.7.0</Version> | ||
<Copyright>© July, 2016</Copyright> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)' == 'RimWorld 1.1' "> | ||
<OutputPath>..\1.1\Assemblies\</OutputPath> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> | ||
<DebugSymbols>false</DebugSymbols> | ||
<Optimize>true</Optimize> | ||
<DebugType>none</DebugType> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)' == 'RimWorld 1.2'"> | ||
<OutputPath>..\1.2\Assemblies\</OutputPath> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DefineConstants>RW12;TRACE;DEBUG</DefineConstants> | ||
<Optimize>false</Optimize> | ||
<DebugType>portable</DebugType> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Compile Include="Colonist.cs" /> | ||
<Compile Include="Controller.cs" /> | ||
<Compile Include="CrossPromotion.cs" /> | ||
<Compile Include="GlobalSuppressions.cs" /> | ||
<Compile Include="ModCounter.cs" /> | ||
<Compile Include="ForcedFloatMenuOption.cs" /> | ||
<Compile Include="ForcedJob.cs" /> | ||
<Compile Include="ForcedWork.cs" /> | ||
<Compile Include="JobDriver_CleanRoom.cs" /> | ||
<Compile Include="JobDriver_FightFire.cs" /> | ||
<Compile Include="JobDriver_Thoroughly.cs" /> | ||
<Compile Include="Main.cs" /> | ||
<Compile Include="MultiAction.cs" /> | ||
<Compile Include="MultiActions.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<Compile Include="Settings.cs" /> | ||
<Compile Include="Tools.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Lib.Harmony"> | ||
<Version>2.0.4</Version> | ||
</PackageReference> | ||
<PackageReference Include="RimWorld.MultiplayerAPI"> | ||
<Version>0.2.0</Version> | ||
<PackageReference Include="Krafs.Rimworld.Ref" Version="1.2.2905" GeneratePathProperty="true" /> | ||
<PackageReference Include="Lib.Harmony" Version="2.0.4" ExcludeAssets="runtime" /> | ||
<PackageReference Include="Microsoft.NETCore.Platforms" Version="5.0.2" /> | ||
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies.net472" Version="1.0.2"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="RimWorld.MultiplayerAPI" Version="0.3.0" /> | ||
<PackageReference Include="TaskPubliciser" Version="1.0.3" /> | ||
</ItemGroup> | ||
<Choose> | ||
<When Condition=" '$(Configuration)' == 'RimWorld 1.1' "> | ||
<ItemGroup> | ||
<PackageReference Include="Krafs.Rimworld.Ref"> | ||
<Version>1.1.2654</Version> | ||
</PackageReference> | ||
</ItemGroup> | ||
</When> | ||
<When Condition=" '$(Configuration)' == 'RimWorld 1.2' "> | ||
<ItemGroup> | ||
<PackageReference Include="Krafs.Rimworld.Ref"> | ||
<Version>1.2.2753</Version> | ||
</PackageReference> | ||
</ItemGroup> | ||
</When> | ||
</Choose> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
|
||
<Target Name="MyCode" BeforeTargets="UpdateReferences"> | ||
<PropertyGroup> | ||
<AssemblyCSharp>$(PkgKrafs_Rimworld_Ref)\ref\net472\Assembly-CSharp.dll</AssemblyCSharp> | ||
<PubliciseOutputPath>$(PkgKrafs_Rimworld_Ref)\ref\net472\</PubliciseOutputPath> | ||
<AssemblyCSharp_Publicised>$(PubliciseOutputPath)Assembly-CSharp_publicised.dll</AssemblyCSharp_Publicised> | ||
</PropertyGroup> | ||
<Message Importance="High" Text="Publicising Rimworld Assembly ..." /> | ||
<Publicise TargetAssemblyPath="$(AssemblyCSharp)" OutputPath="$(PubliciseOutputPath)" Condition="Exists('$(AssemblyCSharp)')" /> | ||
<Message Importance="High" Text="Replacing reference to un-publicised assemblies with publicised equivalents ..." /> | ||
<ItemGroup> | ||
<Reference Include="$(AssemblyCSharp_Publicised)"> | ||
<SpecificVersion>false</SpecificVersion> | ||
<HintPath>$(AssemblyCSharp_Publicised)</HintPath> | ||
<Implicit>true</Implicit> | ||
<Private>false</Private> | ||
</Reference> | ||
</ItemGroup> | ||
</Target> | ||
|
||
<Target Name="UpdateReferences" AfterTargets="ResolveLockFileReferences"> | ||
<Message Importance="High" Text="Remove References ..." /> | ||
<ItemGroup> | ||
<Reference Remove="$(PkgKrafs_Rimworld_Ref)\ref\net472\Assembly-CSharp.dll" /> | ||
</ItemGroup> | ||
</Target> | ||
|
||
<PropertyGroup> | ||
<PostBuildEvent>ModBuilder AssemblyVersion -file "$(TargetPath)" -save "$(ProjectName)-version" | ||
ModBuilder XMLPut -file "$(SolutionDir)About\Manifest.xml" -xpath /Manifest/version -value "{{$(ProjectName)-version}}" | ||
"$(ProjectDir)Install.bat" "$(ProjectDir)" "$(ProjectName)" "1.1 1.2 About Assemblies Languages Textures"</PostBuildEvent> | ||
<PostBuildEvent>echo Postprocessing | ||
where ModBuilder 2> nul | find /i "ModBuilder.exe" | ||
if not errorlevel 1 ( | ||
ModBuilder AssemblyVersion -file "$(MSBuildProjectDirectory)\$(OutputPath)$(AssemblyName).dll" -save "$(MSBuildProjectName)-version" | ||
ModBuilder XMLPut -file "$(SolutionDir)About\Manifest.xml" -xpath /Manifest/version -value "{{$(MSBuildProjectName)-version}}" | ||
) | ||
if defined INSTALL_MOD ( | ||
"%INSTALL_MOD%" "$(Configuration)" "$(SolutionDir)" "$(MSBuildProjectName)" "1.1 1.2 About Assemblies Languages Textures" "LoadFolders.xml" | ||
) | ||
</PostBuildEvent> | ||
<Company>Brrainz</Company> | ||
<Authors>Andreas Pardeike</Authors> | ||
<Description>Command your colonists like a boss!</Description> | ||
<PackageProjectUrl>https://github.com/pardeike/Achtung2</PackageProjectUrl> | ||
<RepositoryUrl>https://github.com/pardeike/Achtung2</RepositoryUrl> | ||
</PropertyGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.