Skip to content

Commit

Permalink
Merge branch 'redm'
Browse files Browse the repository at this point in the history
  • Loading branch information
TomGrobbe committed Nov 21, 2019
2 parents aa919da + fe52996 commit 0fecc2c
Show file tree
Hide file tree
Showing 13 changed files with 1,737 additions and 187 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -262,3 +262,7 @@ __pycache__/
dependencies/MenuAPI\.net\.dll

postbuild\.cmd

postbuild-fivem.cmd

postbuild-redm.cmd
349 changes: 297 additions & 52 deletions MenuAPI/Menu.cs

Large diffs are not rendered by default.

19 changes: 12 additions & 7 deletions MenuAPI/MenuAPI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,33 @@
<PropertyGroup>
<TargetFramework>net452</TargetFramework>
<DebugType>embedded</DebugType>
<TargetName>$(AssemblyName).net</TargetName>
<TargetName>$(AssemblyName)</TargetName>
<Configurations>Release RedM;Release FiveM;Debug RedM;Debug FiveM</Configurations>
</PropertyGroup>

<PropertyGroup
Condition="'$(Configuration)' == 'Debug FiveM' Or '$(Configuration)' == 'Release FiveM'">
<PropertyGroup Condition="'$(Configuration)' == 'Debug FiveM' Or '$(Configuration)' == 'Release FiveM'">
<DefineConstants>FIVEM</DefineConstants>
</PropertyGroup>

<PropertyGroup
Condition="'$(Configuration)' == 'Debug RedM' Or '$(Configuration)' == 'Release RedM'">
<PropertyGroup Condition="'$(Configuration)' == 'Debug RedM' Or '$(Configuration)' == 'Release RedM'">
<DefineConstants>REDM</DefineConstants>
</PropertyGroup>

<ItemGroup>
<Compile Include="..\shared\RedM\Controls.cs" Link="Controls.cs" />
</ItemGroup>

<ItemGroup>
<Reference Include="Microsoft.CSharp" />

<PackageReference Include="CitizenFX.Core.Client" Version="1.0.1688" Condition="'$(Configuration)' == 'Release FiveM' Or '$(Configuration)' == 'Debug FiveM'" ExcludeAssets="runtime" />
<PackageReference Include="CitizenFX.Core.Client" Version="1.0.1688" Condition="'$(Configuration)' == 'Release FiveM' Or '$(Configuration)' == 'Debug FiveM'">
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>

<!-- currently hardcoded path as no nuget package for RedM exists yet -->
<Reference Include="CitizenFX.Core.Client" Condition="'$(Configuration)' == 'Release RedM' Or '$(Configuration)' == 'Debug RedM'">
<HintPath>..\..\..\..\citizen\clr2\lib\mono\4.5\citizenfx.core.dll</HintPath>
<HintPath>..\dependencies\RedM\CitizenFX.Core.dll</HintPath>
<Private>false</Private>
</Reference>
</ItemGroup>

Expand Down
Loading

0 comments on commit 0fecc2c

Please sign in to comment.