1
- <?xml version =" 1.0" encoding =" utf-8" ?>
2
- <Project ToolsVersion =" 15.0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3
- <Import Project =" $(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition =" Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
1
+ <Project Sdk =" Microsoft.NET.Sdk" >
2
+
4
3
<PropertyGroup >
5
- <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
6
- <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
7
- <ProjectGuid >{9C746601-9F3D-4B0D-877C-1C7BC493C5BC}</ProjectGuid >
8
- <OutputType >Library</OutputType >
9
- <AppDesignerFolder >Properties</AppDesignerFolder >
10
- <RootNamespace >MenuAPI</RootNamespace >
11
- <AssemblyName >MenuAPI</AssemblyName >
12
- <TargetFrameworkVersion >v4.5.2</TargetFrameworkVersion >
13
- <FileAlignment >512</FileAlignment >
14
- <Deterministic >true</Deterministic >
15
- </PropertyGroup >
16
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
17
- <DebugSymbols >true</DebugSymbols >
4
+ <TargetFramework >net452</TargetFramework >
18
5
<DebugType >embedded</DebugType >
19
- <Optimize >false</Optimize >
20
- <OutputPath >bin\Debug\</OutputPath >
21
- <DefineConstants >DEBUG;TRACE</DefineConstants >
22
- <ErrorReport >prompt</ErrorReport >
23
- <WarningLevel >4</WarningLevel >
6
+ <TargetName >$(AssemblyName).net</TargetName >
7
+ <Configurations >Release RedM;Release FiveM;Debug RedM;Debug FiveM</Configurations >
24
8
</PropertyGroup >
25
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
26
- <DebugType >embedded</DebugType >
27
- <Optimize >true</Optimize >
28
- <OutputPath >bin\Release\</OutputPath >
29
- <DefineConstants >TRACE</DefineConstants >
30
- <ErrorReport >prompt</ErrorReport >
31
- <WarningLevel >4</WarningLevel >
32
- <DebugSymbols >true</DebugSymbols >
9
+
10
+ <PropertyGroup
11
+ Condition =" '$(Configuration)' == 'Debug FiveM' Or '$(Configuration)' == 'Release FiveM'" >
12
+ <DefineConstants >FIVEM</DefineConstants >
13
+ </PropertyGroup >
14
+
15
+ <PropertyGroup
16
+ Condition =" '$(Configuration)' == 'Debug RedM' Or '$(Configuration)' == 'Release RedM'" >
17
+ <DefineConstants >REDM</DefineConstants >
33
18
</PropertyGroup >
19
+
34
20
<ItemGroup >
35
- <Reference Include =" System" />
36
- <Reference Include =" System.Core" />
37
- <Reference Include =" System.Drawing" />
38
- <Reference Include =" System.Xml.Linq" />
39
- <Reference Include =" System.Data.DataSetExtensions" />
40
21
<Reference Include =" Microsoft.CSharp" />
41
- <Reference Include =" System.Data" />
42
- <Reference Include =" System.Net.Http" />
43
- <Reference Include =" System.Xml" />
44
- </ItemGroup >
45
- <ItemGroup >
46
- <Compile Include =" items\MenuCheckboxItem.cs" />
47
- <Compile Include =" items\MenuDynamicListItem.cs" />
48
- <Compile Include =" items\MenuItem.cs" />
49
- <Compile Include =" items\MenuListItem.cs" />
50
- <Compile Include =" items\MenuSliderItem.cs" />
51
- <Compile Include =" MenuController.cs" />
52
- <Compile Include =" Menu.cs" />
53
- <Compile Include =" Properties\AssemblyInfo.cs" />
22
+
23
+ <PackageReference Include =" CitizenFX.Core.Client" Version =" 1.0.1688" Condition =" '$(Configuration)' == 'Release FiveM' Or '$(Configuration)' == 'Debug FiveM'" />
24
+
25
+ <!-- currently hardcoded path as no nuget package for RedM exists yet -->
26
+ <Reference Include =" CitizenFX.Core.Client" Condition =" '$(Configuration)' == 'Release RedM' Or '$(Configuration)' == 'Debug RedM'" >
27
+ <HintPath >..\..\..\..\citizen\clr2\lib\mono\4.5\citizenfx.core.dll</HintPath >
28
+ </Reference >
54
29
</ItemGroup >
55
- <ItemGroup >
56
- <PackageReference Include =" CitizenFX.Core.Client" >
57
- <Version >1.0.1688</Version >
58
- <ExcludeAssets >runtime</ExcludeAssets >
59
- <IncludeAssets >compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
60
- </PackageReference >
61
- </ItemGroup >
62
- <Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
63
- <PropertyGroup >
64
- <PostBuildEvent >if exist "$(SolutionDir)\postbuild.cmd" "$(SolutionDir)\postbuild.cmd"</PostBuildEvent >
65
- </PropertyGroup >
30
+
66
31
</Project >
0 commit comments