1
0

PCLCS.csproj 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>net48</TargetFramework>
  4. <OutputType>Library</OutputType>
  5. <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
  6. <OutDir>bin\</OutDir>
  7. <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
  8. <AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
  9. <Configurations>Debug;Release;Snapshot</Configurations>
  10. <Deterministic>true</Deterministic>
  11. <LangVersion>13.0</LangVersion>
  12. <Nullable>enable</Nullable>
  13. <ImplicitUsings>enable</ImplicitUsings>
  14. </PropertyGroup>
  15. <ItemGroup>
  16. <PackageReference Include="PolySharp" Version="1.15.0">
  17. <PrivateAssets>all</PrivateAssets>
  18. <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  19. </PackageReference>
  20. </ItemGroup>
  21. <ItemGroup>
  22. <Using Include="System.Diagnostics.CodeAnalysis" />
  23. <Using Include="System.Collections" />
  24. <Using Include="System.Collections.Generic" />
  25. <Using Include="System.Collections.Concurrent" />
  26. <Using Include="System.Text" />
  27. <Using Include="System.Text.RegularExpressions" />
  28. <Using Include="System.Net" />
  29. <Using Include="System.Runtime.CompilerServices" />
  30. <Using Include="System.Runtime.InteropServices" />
  31. <Using Include="Newtonsoft.Json" />
  32. <Using Include="Newtonsoft.Json.Linq" />
  33. <Using Include="MeloongCore" />
  34. <Using Include="MeloongCore.Extensions" />
  35. <Using Include="MeloongCore.Wpf" />
  36. <Using Include="MeloongCore.Wpf.Extensions" />
  37. </ItemGroup>
  38. <ItemGroup>
  39. <ProjectReference Include="..\MeloongCore\Shared\MeloongCore.csproj" />
  40. <ProjectReference Include="..\MeloongCore\Wpf\MeloongCore.Wpf.csproj" />
  41. </ItemGroup>
  42. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
  43. <DefineConstants>$(DefineConstants);SNAPSHOT</DefineConstants>
  44. </PropertyGroup>
  45. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'" />
  46. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Snapshot|AnyCPU'">
  47. <Optimize>True</Optimize>
  48. </PropertyGroup>
  49. <!-- 内嵌的资源 -->
  50. <ItemGroup>
  51. <EmbeddedResource Include="Launch\JavaWrapper.jar" LogicalName="Launch\JavaWrapper.jar" />
  52. <EmbeddedResource Include="Launch\LwjglUnsafeAgent.jar" LogicalName="Launch\LwjglUnsafeAgent.jar" />
  53. <EmbeddedResource Include="Resource\WikiEntries.txt" LogicalName="Resource\WikiEntries.txt" />
  54. <EmbeddedResource Include="Minecraft\OptifineHashes.json" LogicalName="Minecraft\OptiFineHashes.json" />
  55. </ItemGroup>
  56. <ItemGroup>
  57. <Reference Include="Microsoft.VisualBasic" />
  58. <Reference Include="Newtonsoft.Json">
  59. <HintPath>..\Plain Craft Launcher 2\Resources\Newtonsoft.Json.dll</HintPath>
  60. </Reference>
  61. </ItemGroup>
  62. </Project>