Skip to content

Commit d18dff7

Browse files
committed
Add debug constants for the correct configurations
1 parent f205d9a commit d18dff7

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

MenuAPI/MenuAPI.csproj

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,22 @@
2020
<PackageLicenseFile>license.txt</PackageLicenseFile>
2121
</PropertyGroup>
2222

23-
<PropertyGroup Condition="'$(Configuration)' == 'Debug FiveM' Or '$(Configuration)' == 'Release FiveM'">
23+
<PropertyGroup Condition="'$(Configuration)' == 'Release FiveM'">
2424
<DefineConstants>FIVEM</DefineConstants>
2525
</PropertyGroup>
26+
27+
<PropertyGroup Condition="'$(Configuration)' == 'Debug FiveM'">
28+
<DefineConstants>FIVEM;DEBUG</DefineConstants>
29+
</PropertyGroup>
2630

27-
<PropertyGroup Condition="'$(Configuration)' == 'Debug RedM' Or '$(Configuration)' == 'Release RedM'">
31+
<PropertyGroup Condition="'$(Configuration)' == 'Release RedM'">
2832
<DefineConstants>REDM</DefineConstants>
2933
</PropertyGroup>
3034

35+
<PropertyGroup Condition="'$(Configuration)' == 'Debug RedM'">
36+
<DefineConstants>REDM;DEBUG</DefineConstants>
37+
</PropertyGroup>
38+
3139
<ItemGroup>
3240
<Compile Include="..\shared\RedM\Controls.cs" Link="Controls.cs" />
3341
</ItemGroup>

0 commit comments

Comments
 (0)