Skip to content

Commit e952ba7

Browse files
committed
Retarget projects to .NET Framework 4.8
1 parent 43e6744 commit e952ba7

5 files changed

Lines changed: 7 additions & 23 deletions

File tree

NetStatusAPI/NetStatusAPI.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<AppDesignerFolder>Properties</AppDesignerFolder>
1010
<RootNamespace>NetStatusAPI</RootNamespace>
1111
<AssemblyName>NetStatusAPI</AssemblyName>
12-
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
12+
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
<TargetFrameworkProfile />
1515
</PropertyGroup>
@@ -47,4 +47,4 @@
4747
<Compile Include="Properties\AssemblyInfo.cs" />
4848
</ItemGroup>
4949
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
50-
</Project>
50+
</Project>

NetStatusSharp/App.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
3-
<startup>
4-
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
3+
<startup>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
55
</startup>
66
</configuration>

NetStatusSharp/NetStatusSharp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<OutputType>WinExe</OutputType>
99
<RootNamespace>NetStatusSharp</RootNamespace>
1010
<AssemblyName>NetStatusSharp</AssemblyName>
11-
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
11+
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
1212
<FileAlignment>512</FileAlignment>
1313
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1414
<TargetFrameworkProfile />

README.en.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ It lists active connections, shows the owning process, and provides a lightweigh
2121

2222
## Technical Details
2323

24-
- Target framework: `.NET Framework 4.0`
24+
- Target framework: `.NET Framework 4.8`
2525
- UI: `Windows Forms`
2626
- Native APIs: `GetExtendedTcpTable` and `GetExtendedUdpTable`
2727
- Platform: `Windows only`
@@ -43,8 +43,3 @@ After building, start:
4343
```text
4444
NetStatusSharp\bin\Release\NetStatusSharp.exe
4545
```
46-
47-
## Notes
48-
49-
- Local IDE state and generated build artifacts are intentionally ignored by the repository.
50-
- This project depends on Windows-specific APIs and is not expected to run on macOS or Linux.

README.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ NetStatusSharp 是一个基于 Windows Forms 的网络连接查看工具,用
2121

2222
## 技术说明
2323

24-
- 目标框架:`.NET Framework 4.0`
24+
- 目标框架:`.NET Framework 4.8`
2525
- UI:`Windows Forms`
2626
- 底层能力:调用 Windows 原生 API `GetExtendedTcpTable``GetExtendedUdpTable`
2727
- 运行平台:`仅支持 Windows`
@@ -53,14 +53,3 @@ NetStatusSharp\bin\Release\NetStatusSharp.exe
5353
- 协议
5454
- TCP 状态
5555

56-
## 开发说明
57-
58-
- 仓库已经配置忽略本地 IDE 状态文件和构建产物。
59-
- 早期提交中曾包含 Visual Studio 缓存和编译输出,当前已按仓库整理规则逐步清理。
60-
- 本项目依赖 Windows 专用 API,不适用于 macOS 或 Linux。
61-
62-
## GitHub Actions
63-
64-
- 推送到 `main` 或提交 Pull Request 时,会自动执行编译检查。
65-
- 推送形如 `v1.0.0` 的标签时,会自动编译并发布 GitHub Release。
66-
- Release 会附带一个自动打包的 `zip` 文件,内容来自 `NetStatusSharp/bin/Release/`

0 commit comments

Comments
 (0)