Ignore:
Timestamp:
Aug 13, 2014, 4:52:22 PM (10 years ago)
Author:
alloc
Message:

Fixes: Changed to a single solution for both patcher + fixes

Location:
binary-improvements/assembly-patcher
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/assembly-patcher/Assembly-Patcher.csproj

    r73 r115  
    1515    <DebugType>full</DebugType>
    1616    <Optimize>false</Optimize>
    17     <OutputPath>bin\Debug</OutputPath>
     17    <OutputPath>..\bin\Debug</OutputPath>
    1818    <DefineConstants>DEBUG;</DefineConstants>
    1919    <ErrorReport>prompt</ErrorReport>
    2020    <WarningLevel>4</WarningLevel>
    2121    <PlatformTarget>x86</PlatformTarget>
    22     <Externalconsole>true</Externalconsole>
     22    <ConsolePause>false</ConsolePause>
    2323  </PropertyGroup>
    2424  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
    2525    <DebugType>none</DebugType>
    2626    <Optimize>true</Optimize>
    27     <OutputPath>bin\Release</OutputPath>
     27    <OutputPath>..\bin\Release</OutputPath>
    2828    <ErrorReport>prompt</ErrorReport>
    2929    <WarningLevel>4</WarningLevel>
     
    3333  <ItemGroup>
    3434    <Reference Include="System" />
    35     <Reference Include="Mono.Cecil, Version=0.9.5.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
    36       <Private>False</Private>
    37       <Package>monodevelop</Package>
    38     </Reference>
    39     <Reference Include="7dtd-server-fixes">
    40       <HintPath>..\7dtd-server-fixes\bin\Release\7dtd-server-fixes.dll</HintPath>
    41       <Private>False</Private>
     35    <Reference Include="Mono.Cecil">
     36      <HintPath>..\Mono.Cecil.dll</HintPath>
    4237    </Reference>
    4338  </ItemGroup>
     
    4742  </ItemGroup>
    4843  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
     44  <ItemGroup>
     45    <ProjectReference Include="..\7dtd-server-fixes\7dtd-server-fixes.csproj">
     46      <Project>{81DA7F87-1A66-4920-AADA-6EAF1971F8D0}</Project>
     47      <Name>7dtd-server-fixes</Name>
     48      <Private>False</Private>
     49    </ProjectReference>
     50  </ItemGroup>
    4951</Project>
  • binary-improvements/assembly-patcher/Assembly-Patcher.userprefs

    r104 r115  
    33  <MonoDevelop.Ide.Workbench ActiveDocument="Main.cs">
    44    <Files>
    5       <File FileName="Main.cs" Line="20" Column="4" />
     5      <File FileName="Main.cs" Line="74" Column="71" />
    66      <File FileName="AssemblyInfo.cs" Line="21" Column="1" />
    77    </Files>
     
    1010        <State expanded="True">
    1111          <Node name="Assembly-Patcher" expanded="True">
    12             <Node name="References" expanded="True">
    13               <Node name="/home/ci/Schreibtisch/7dtd-svn/binary-improvements/7dtd-server-fixes/bin/Release/7dtd-server-fixes.dll" selected="True" />
    14             </Node>
     12            <Node name="References" expanded="True" selected="True" />
    1513          </Node>
    1614        </State>
  • binary-improvements/assembly-patcher/Main.cs

    r107 r115  
    2626                        playerDataPatch (module);
    2727
    28                         module.Write ("Assembly-CSharp.dll");
     28                        module.Write ("Assembly-CSharp.patched.dll");
    2929                        Console.WriteLine ("Done");
    3030
     
    3737                        addHook (type, "Run", true, 0, true, typeof(ConsoleOutputSeparator).GetMethod ("C_Run"));
    3838                        replaceMethod (type, "SendResult", true, 1, typeof(ConsoleOutputSeparator).GetMethod ("C_SendResult"));
    39 
    4039                }
    4140
Note: See TracChangeset for help on using the changeset viewer.