Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Commit

Permalink
Add some things from XLCommon to XL2Common
Browse files Browse the repository at this point in the history
  • Loading branch information
NotNite committed Jan 16, 2023
1 parent b3a1699 commit 18b838d
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/XIVLauncher2.Common/Class1.cs

This file was deleted.

39 changes: 39 additions & 0 deletions src/XIVLauncher2.Common/XIVLauncher2.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,44 @@
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

<PropertyGroup>
<IsWindows Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' == 'true'">true</IsWindows>
<IsOSX Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' == 'true'">true</IsOSX>
<IsLinux Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true'">true</IsLinux>
</PropertyGroup>

<PropertyGroup>
<DefineConstants Condition=" '$(ExtraDefineConstants)' != '' ">$(DefineConstants);$(ExtraDefineConstants)</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(IsWindows)'=='true'">
<DefineConstants>$(DefineConstants);WIN32</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(IsOSX)'=='true'">
<DefineConstants>$(DefineConstants);OSX</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(IsLinux)'=='true'">
<DefineConstants>$(DefineConstants);LINUX</DefineConstants>
</PropertyGroup>

<ItemGroup>
<!--
<PackageReference Include="CommandLineParser" Version="2.9.1" />
<PackageReference Include="Downloader" Version="2.2.8" />
<PackageReference Include="MonoTorrent" Version="2.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
<PackageReference Include="Serilog" Version="2.12.0" />
<PackageReference Include="Serilog.Sinks.Async" Version="1.5.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="3.1.1" />
<PackageReference Include="Serilog.Sinks.Debug" Version="1.0.1" />
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
<PackageReference Include="SharedMemory" Version="2.3.2" />
<PackageReference Include="System.Memory" Version="4.5.4" />
<PackageReference Include="System.Security.Principal.Windows" Version="5.0.0" />
<PackageReference Include="System.Text.Json" Version="6.0.6" />
-->
</ItemGroup>
</Project>
4 changes: 4 additions & 0 deletions src/XIVLauncher2/XIVLauncher2.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,8 @@
<SubType>Code</SubType>
</Compile>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\XIVLauncher2.Common\XIVLauncher2.Common.csproj" />
</ItemGroup>
</Project>

0 comments on commit 18b838d

Please sign in to comment.