Skip to content

Commit

Permalink
make the build targets for everything work the same way and add some …
Browse files Browse the repository at this point in the history
…documentation about how to build the project in a way that won't screw up the proj files
  • Loading branch information
janxious committed Sep 3, 2018
1 parent 805d752 commit 53a2c47
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
8 changes: 5 additions & 3 deletions BattleTechModLoader/BattleTechModLoader.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,17 @@
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>
</DefineConstants>
<DefineConstants></DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>Default</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release - RTML|AnyCPU' ">
<Optimize>false</Optimize>
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release - RTML</OutputPath>
<DefineConstants>RTML</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>Default</LangVersion>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,19 @@
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>
</DefineConstants>
<DefineConstants></DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>Default</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release - RTML|AnyCPU' ">
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release - RTML</OutputPath>
<DefineConstants>RTML</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>7.2</LangVersion>
<LangVersion>Default</LangVersion>
</PropertyGroup>
<ItemGroup>
<Reference Include="Mono.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e">
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ BTML uses [Mono.Cecil](https://github.com/jbevain/cecil) to parse `Assembly-CSha

A log is generated at `\Mods\BTModLoader.log` overwriting any previous log. This log additionally contains a record all of the Harmony hooks that happen at mod loading time.

## Building It
In each project folder there is an example project user file. You can copy that file and rename it without the `.example` ending and then update it to point to your managed DLL folder. The Injector user file is also setup to run the injector in the managed folder, so you can test the injector without leaving VStudio.

## Licence

BTML is provided under the "Unlicence", which releases the work into the public domain.

0 comments on commit 53a2c47

Please sign in to comment.