SeeSharpSnake.csproj
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PublishSingleFile Condition="'$(Mode)' == ''">true</PublishSingleFile>
<EnableDefaultItems>false</EnableDefaultItems>
<LangVersion>8.0</LangVersion>
</PropertyGroup>
<ItemGroup>
<Compile Include="Game/FrameBuffer.cs" />
<Compile Include="Game/Game.cs" />
<Compile Include="Game/Random.cs" />
<Compile Include="Game/Snake.cs" />
</ItemGroup>
<ItemGroup Condition="'$(IncludePal)' == 'true'">
<Compile Include="Pal/Thread.Windows.cs" />
<Compile Include="Pal/Environment.Windows.cs" />
<Compile Include="Pal/Console.Windows.cs" />
<Compile Include="Pal/Console.cs" />
</ItemGroup>
<ItemGroup Condition="'$(IncludePal)' == 'true' and $(RuntimeIdentifier.StartsWith('win-'))">
<Compile Include="Pal/RuntimeInformation.Windows.cs" />
</ItemGroup>
<ItemGroup Condition="'$(IncludePal)' == 'true' and $(RuntimeIdentifier.StartsWith('linux-'))">
<Compile Include="Pal/RuntimeInformation.Linux.cs" />
</ItemGroup>
<ItemGroup Condition="'$(Mode)' == 'CoreRT-NoRuntime' or '$(Mode)' == 'CoreRT-Uefi'">
<Compile Include="MiniBCL.cs" />
<Compile Include="MiniRuntime.cs" />
<Compile Include="MiniRuntime.Dos.cs" />
</ItemGroup>
<ItemGroup Condition="'$(Mode)' == 'CoreRT-Uefi'">
<Compile Include="Pal/Thread.Uefi.cs" />
<Compile Include="Pal/Environment.Uefi.cs" />
<Compile Include="Pal/Console.Uefi.cs" />
<Compile Include="Pal/Console.cs" />
<Compile Include="Pal/UefiEnvironment.cs" />
<Compile Include="Pal/UefiApplication.cs" />
<Compile Include="Pal/RuntimeInformation.Uefi.cs" />
</ItemGroup>
<ItemGroup Condition="'$(Mode)' != ''">
<PackageReference Include="Microsoft.DotNet.ILCompiler" Version="1.0.0-alpha-*" />
</ItemGroup>
<PropertyGroup Condition="'$(Mode)' == 'CoreRT-Moderate' or '$(Mode)' == 'CoreRT-High' or '$(Mode)' == 'CoreRT-ReflectionFree'">
<IlcGenerateCompleteTypeMetadata>false</IlcGenerateCompleteTypeMetadata>
<IlcOptimizationPreference>Size</IlcOptimizationPreference>
</PropertyGroup>
<PropertyGroup Condition="'$(Mode)' == 'CoreRT-High' or '$(Mode)' == 'CoreRT-ReflectionFree' or '$(Mode)' == 'CoreRT-NoRuntime'">
<IlcGenerateStackTraceData>false</IlcGenerateStackTraceData>
后面还有 77 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
