1
0

PCLCS.csproj 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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.Net" />
  28. <Using Include="System.Runtime.CompilerServices" />
  29. <Using Include="System.Runtime.InteropServices" />
  30. <Using Include="Newtonsoft.Json" />
  31. <Using Include="Newtonsoft.Json.Linq" />
  32. <Using Include="MeloongCore" />
  33. <Using Include="MeloongCore.Extensions" />
  34. <Using Include="MeloongCore.Wpf" />
  35. <Using Include="MeloongCore.Wpf.Extensions" />
  36. </ItemGroup>
  37. <ItemGroup>
  38. <ProjectReference Include="..\MeloongCore\Shared\MeloongCore.csproj" />
  39. <ProjectReference Include="..\MeloongCore\Wpf\MeloongCore.Wpf.csproj" />
  40. </ItemGroup>
  41. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
  42. <DefineConstants>$(DefineConstants);SNAPSHOT</DefineConstants>
  43. </PropertyGroup>
  44. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'" />
  45. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Snapshot|AnyCPU'">
  46. <Optimize>True</Optimize>
  47. </PropertyGroup>
  48. <!-- 内嵌的资源 -->
  49. <ItemGroup>
  50. <EmbeddedResource Include="Launch\JavaWrapper.jar" LogicalName="Launch\JavaWrapper.jar" />
  51. <EmbeddedResource Include="Launch\LwjglUnsafeAgent.jar" LogicalName="Launch\LwjglUnsafeAgent.jar" />
  52. <EmbeddedResource Include="Resource\WikiEntries.txt" LogicalName="Resource\WikiEntries.txt" />
  53. </ItemGroup>
  54. <ItemGroup>
  55. <Reference Include="Microsoft.VisualBasic" />
  56. <Reference Include="Newtonsoft.Json">
  57. <HintPath>..\Plain Craft Launcher 2\Resources\Newtonsoft.Json.dll</HintPath>
  58. </Reference>
  59. </ItemGroup>
  60. </Project>