主要改进: - 重新设计用户界面,采用标签页展示不同类型的系统信息 - 实现全面的系统信息检测(操作系统版本、架构、启动信息等) - 添加详细的硬件配置检测(CPU、内存、磁盘、显卡等) - 集成网络环境检测(本地网络、公网IP、连接状态等) - 实现软件环境扫描(.NET版本、浏览器、已安装软件等) - 添加环境变量检测和导出报告功能 - 保留原有的.NET Framework 4.8环境检测功能 - 优化用户界面体验,支持实时进度显示 功能特点: - 一键检测所有系统环境信息 - 分类展示检测结果,便于查阅 - 支持导出完整检测报告为文本文件 - 异步执行检测,避免界面卡顿 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
49 lines
1.7 KiB
XML
49 lines
1.7 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
||
|
||
<PropertyGroup>
|
||
<OutputType>WinExe</OutputType>
|
||
<TargetFramework>net48</TargetFramework>
|
||
<UseWindowsForms>true</UseWindowsForms>
|
||
<AssemblyName>Environmental_testing</AssemblyName>
|
||
<RootNamespace>Environmental_testing</RootNamespace>
|
||
<ApplicationIcon>app.ico</ApplicationIcon>
|
||
<Win32Resource />
|
||
</PropertyGroup>
|
||
|
||
<ItemGroup>
|
||
<EmbeddedResource Include="app.ico" />
|
||
</ItemGroup>
|
||
|
||
<!-- 用于单文件发布的配置 -->
|
||
<PropertyGroup>
|
||
<PublishSingleFile>false</PublishSingleFile>
|
||
<SelfContained>false</SelfContained>
|
||
<PublishReadyToRun>true</PublishReadyToRun>
|
||
<!-- 强制将所有依赖项合并到输出目录 -->
|
||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||
</PropertyGroup>
|
||
|
||
<!-- 添加对Microsoft.VisualBasic的依赖以获取ComputerInfo功能 -->
|
||
<ItemGroup>
|
||
<Reference Include="Microsoft.VisualBasic" />
|
||
</ItemGroup>
|
||
|
||
<!-- 模板项目不需要外部依赖 -->
|
||
<!-- 如需合并第三方DLL,可在此添加PackageReference -->
|
||
<!-- 示例:
|
||
<ItemGroup>
|
||
<PackageReference Include="ILRepack" Version="2.0.18" />
|
||
</ItemGroup>
|
||
|
||
<Target Name="ILRepack" AfterTargets="Build">
|
||
<ItemGroup>
|
||
<InputAssemblies Include="$(OutputPath)$(AssemblyName).exe" />
|
||
<InputAssemblies Include="$(OutputPath)YourLibrary.dll" />
|
||
</ItemGroup>
|
||
<Message Text="ILRepack merging..." Importance="high" />
|
||
<Exec Command="$(PkgILRepack)\tools\ILRepack.exe /target:exe /out:$(OutputPath)$(AssemblyName)_merged.exe @(InputAssemblies->'%(FullPath)', ' ')" />
|
||
<Message Text="ILRepack merge complete: $(OutputPath)$(AssemblyName)_merged.exe" Importance="high" />
|
||
</Target>
|
||
-->
|
||
|
||
</Project> |