独立监控核心和模块
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net8.0-windows</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<RootNamespace>ThingHK</RootNamespace>
|
||||
<AssemblyName>ThingHK</AssemblyName>
|
||||
|
||||
<!-- Native AOT 配置 -->
|
||||
<PublishAot>true</PublishAot>
|
||||
<InvariantGlobalization>true</InvariantGlobalization>
|
||||
|
||||
<!-- 反射兜底:LHB 内部大量使用反射,保留必要元数据 -->
|
||||
<TrimmerRootDescriptor>rd.xml</TrimmerRootDescriptor>
|
||||
|
||||
<!-- 关闭 CA1416 警告(项目明确仅面向 Windows) -->
|
||||
<NoWarn>$(NoWarn);CA1416</NoWarn>
|
||||
|
||||
<!-- 产物信息 -->
|
||||
<Version>0.2.0</Version>
|
||||
<Company>Thing</Company>
|
||||
<Product>ThingHardwareKernel</Product>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="LibreHardwareMonitorLib" Version="0.9.5" />
|
||||
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user