Skip to content

Commit 0761024

Browse files
Version 1.0.0
/Fixed Build Dir +Cecil
1 parent b25ab2f commit 0761024

4 files changed

Lines changed: 67 additions & 17 deletions

File tree

HookAttribute/HookAttribute.csproj

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,35 @@
1616
<DebugSymbols>true</DebugSymbols>
1717
<DebugType>full</DebugType>
1818
<Optimize>false</Optimize>
19-
<OutputPath>..\..\BPGame\bpgameserver_Data\Managed</OutputPath>
19+
<OutputPath>..\Output\</OutputPath>
2020
<DefineConstants>DEBUG;TRACE</DefineConstants>
2121
<ErrorReport>prompt</ErrorReport>
2222
<WarningLevel>4</WarningLevel>
2323
</PropertyGroup>
2424
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2525
<DebugType>pdbonly</DebugType>
2626
<Optimize>true</Optimize>
27-
<OutputPath>..\..\BPGame\bpgameserver_Data\Managed</OutputPath>
27+
<OutputPath>..\Output\</OutputPath>
2828
<DefineConstants>TRACE</DefineConstants>
2929
<ErrorReport>prompt</ErrorReport>
3030
<WarningLevel>4</WarningLevel>
3131
</PropertyGroup>
3232
<ItemGroup>
33+
<Reference Include="Mono.Cecil">
34+
<HintPath>..\Mono.Cecil\Mono.Cecil.dll</HintPath>
35+
</Reference>
36+
<Reference Include="Mono.Cecil.Inject">
37+
<HintPath>..\Mono.Cecil\Mono.Cecil.Inject.dll</HintPath>
38+
</Reference>
39+
<Reference Include="Mono.Cecil.Mdb">
40+
<HintPath>..\Mono.Cecil\Mono.Cecil.Mdb.dll</HintPath>
41+
</Reference>
42+
<Reference Include="Mono.Cecil.Pdb">
43+
<HintPath>..\Mono.Cecil\Mono.Cecil.Pdb.dll</HintPath>
44+
</Reference>
45+
<Reference Include="Mono.Cecil.Rocks">
46+
<HintPath>..\Mono.Cecil\Mono.Cecil.Rocks.dll</HintPath>
47+
</Reference>
3348
<Reference Include="System" />
3449
<Reference Include="System.Core" />
3550
<Reference Include="System.Xml.Linq" />

HooksInjector/HooksInjector.csproj

Lines changed: 40 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,28 @@
1212
<FileAlignment>512</FileAlignment>
1313
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1414
<TargetFrameworkProfile />
15+
<PublishUrl>publish\</PublishUrl>
16+
<Install>true</Install>
17+
<InstallFrom>Disk</InstallFrom>
18+
<UpdateEnabled>false</UpdateEnabled>
19+
<UpdateMode>Foreground</UpdateMode>
20+
<UpdateInterval>7</UpdateInterval>
21+
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
22+
<UpdatePeriodically>false</UpdatePeriodically>
23+
<UpdateRequired>false</UpdateRequired>
24+
<MapFileExtensions>true</MapFileExtensions>
25+
<ApplicationRevision>0</ApplicationRevision>
26+
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
27+
<IsWebBootstrapper>false</IsWebBootstrapper>
28+
<UseApplicationTrust>false</UseApplicationTrust>
29+
<BootstrapperEnabled>true</BootstrapperEnabled>
1530
</PropertyGroup>
1631
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1732
<PlatformTarget>AnyCPU</PlatformTarget>
1833
<DebugSymbols>true</DebugSymbols>
1934
<DebugType>full</DebugType>
20-
<Optimize>false</Optimize>
21-
<OutputPath>..\..\BPGame</OutputPath>
35+
<Optimize>true</Optimize>
36+
<OutputPath>..\Output\</OutputPath>
2237
<DefineConstants>DEBUG;TRACE</DefineConstants>
2338
<ErrorReport>prompt</ErrorReport>
2439
<WarningLevel>4</WarningLevel>
@@ -27,35 +42,40 @@
2742
<PlatformTarget>AnyCPU</PlatformTarget>
2843
<DebugType>pdbonly</DebugType>
2944
<Optimize>true</Optimize>
30-
<OutputPath>..\..\BPGame</OutputPath>
45+
<OutputPath>..\Output\</OutputPath>
3146
<DefineConstants>TRACE</DefineConstants>
3247
<ErrorReport>prompt</ErrorReport>
3348
<WarningLevel>4</WarningLevel>
3449
</PropertyGroup>
3550
<ItemGroup>
51+
<Reference Include="HookAttribute">
52+
<HintPath>..\Output\HookAttribute.dll</HintPath>
53+
</Reference>
3654
<Reference Include="Mono.Cecil, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL">
37-
<HintPath>..\packages\Mono.Cecil.0.9.6.4\lib\net40\Mono.Cecil.dll</HintPath>
55+
<SpecificVersion>False</SpecificVersion>
56+
<HintPath>..\Mono.Cecil\Mono.Cecil.dll</HintPath>
57+
</Reference>
58+
<Reference Include="Mono.Cecil.Inject, Version=1.2.6.0, Culture=neutral, processorArchitecture=MSIL">
59+
<SpecificVersion>False</SpecificVersion>
60+
<HintPath>..\Mono.Cecil\Mono.Cecil.Inject.dll</HintPath>
3861
</Reference>
3962
<Reference Include="Mono.Cecil.Mdb, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL">
40-
<HintPath>..\packages\Mono.Cecil.0.9.6.4\lib\net40\Mono.Cecil.Mdb.dll</HintPath>
63+
<SpecificVersion>False</SpecificVersion>
64+
<HintPath>..\Mono.Cecil\Mono.Cecil.Mdb.dll</HintPath>
4165
</Reference>
4266
<Reference Include="Mono.Cecil.Pdb, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL">
43-
<HintPath>..\packages\Mono.Cecil.0.9.6.4\lib\net40\Mono.Cecil.Pdb.dll</HintPath>
67+
<SpecificVersion>False</SpecificVersion>
68+
<HintPath>..\Mono.Cecil\Mono.Cecil.Pdb.dll</HintPath>
4469
</Reference>
4570
<Reference Include="Mono.Cecil.Rocks, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL">
46-
<HintPath>..\packages\Mono.Cecil.0.9.6.4\lib\net40\Mono.Cecil.Rocks.dll</HintPath>
71+
<SpecificVersion>False</SpecificVersion>
72+
<HintPath>..\Mono.Cecil\Mono.Cecil.Rocks.dll</HintPath>
4773
</Reference>
4874
<Reference Include="System.Xml.Linq" />
4975
<Reference Include="System.Data.DataSetExtensions" />
5076
<Reference Include="Microsoft.CSharp" />
5177
<Reference Include="System.Data" />
5278
<Reference Include="System.Xml" />
53-
<Reference Include="Mono.Cecil.Inject">
54-
<HintPath>..\Mono.Cecil.Inject.dll</HintPath>
55-
</Reference>
56-
<Reference Include="HookAttribute">
57-
<HintPath>..\..\BPGame\bpgameserver_Data\Managed\HookAttribute.dll</HintPath>
58-
</Reference>
5979
<Reference Include="System.Core" />
6080
<Reference Include="System" />
6181
</ItemGroup>
@@ -70,5 +90,12 @@
7090
<None Include="App.config" />
7191
<None Include="packages.config" />
7292
</ItemGroup>
93+
<ItemGroup>
94+
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
95+
<Visible>False</Visible>
96+
<ProductName>.NET Framework 3.5 SP1</ProductName>
97+
<Install>false</Install>
98+
</BootstrapperPackage>
99+
</ItemGroup>
73100
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
74101
</Project>

HooksInjector/HooksInjector.csproj.user

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,14 @@
77
<StartAction>Project</StartAction>
88
<StartWorkingDirectory>..\..\BPGame</StartWorkingDirectory>
99
</PropertyGroup>
10+
<PropertyGroup>
11+
<PublishUrlHistory>publish\</PublishUrlHistory>
12+
<InstallUrlHistory />
13+
<SupportUrlHistory />
14+
<UpdateUrlHistory />
15+
<BootstrapperUrlHistory />
16+
<ErrorReportUrlHistory />
17+
<FallbackCulture>en-US</FallbackCulture>
18+
<VerifyUploadedFiles>false</VerifyUploadedFiles>
19+
</PropertyGroup>
1020
</Project>

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,3 @@ damage(SvPlayer player, ref int otherId, ref float damage);
5656
## License
5757

5858
This code is licenced under the GNU GPL3 Licence, Information can be found by clicking on it at the top of the repository.
59-
60-
Mono.Cecil was created by @jbevain https://github.com/jbevain/cecil

0 commit comments

Comments
 (0)