Added rage-sharp.dll reference on clientside

This commit is contained in:
hydrant
2019-02-26 13:28:05 +01:00
parent 33abb3d04f
commit ef075c1501

View File

@@ -2,11 +2,15 @@
<PropertyGroup> <PropertyGroup>
<OutputType>Library</OutputType> <OutputType>Library</OutputType>
<TargetFramework>netcoreapp2.2</TargetFramework> <TargetFramework>netcoreapp2.1</TargetFramework>
<ApplicationIcon /> <ApplicationIcon />
<StartupObject /> <StartupObject />
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<Folder Include="cs_packages\" /> <Folder Include="cs_packages\" />
<Folder Include="Gui\vehiclemenu\web\css\" /> <Folder Include="Gui\vehiclemenu\web\css\" />
@@ -14,6 +18,15 @@
<Folder Include="Gui\vehiclemenu\web\img\" /> <Folder Include="Gui\vehiclemenu\web\img\" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<Reference Include="rage-sharp" Condition="'$(ConfigurationName)' != 'ServerBuild'">
<HintPath>..\..\..\dotnet\rage-sharp.dll</HintPath>
</Reference>
<!--<Reference Include="rage-sharp" Condition="'$(ConfigurationName)' == 'ServerBuild'">
<HintPath>..\..\rage-sharp.dll</HintPath>
</Reference>-->
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(ConfigurationName)' != 'ServerBuild'"> <Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(ConfigurationName)' != 'ServerBuild'">
<Exec Command="powershell.exe .\Scripts\moveItems.ps1" /> <Exec Command="powershell.exe .\Scripts\moveItems.ps1" />
</Target> </Target>