Skip to content

[fix]修正win10+net9无法在后台服务创建前台进程的问题 #132

[fix]修正win10+net9无法在后台服务创建前台进程的问题

[fix]修正win10+net9无法在后台服务创建前台进程的问题 #132

Triggered via push November 16, 2024 15:35
Status Success
Total duration 48s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
test: Test/MyServices.cs#L64
This call site is reachable on all platforms. 'Desktop.StartProcess(string, string, string, bool, bool)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test: Test/MyServices.cs#L58
This call site is reachable on all platforms. 'Desktop.Log' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test: Test/MyServices.cs#L58
This call site is reachable on all platforms. 'Desktop' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test: Zero.Agent/Program.cs#L35
'ServiceBase.AddMenu(char, string, Action)' is obsolete: '建议定义命令处理类,并继承 BaseCommandHandler'
test: Zero.Agent/Program.cs#L46
The field 'MyServices._timer2' is never used
test: Zero.Agent/Program.cs#L45
The field 'MyServices._timer' is never used
test: Zero.Agent/Program.cs#L35
'ServiceBase.AddMenu(char, string, Action)' is obsolete: '建议定义命令处理类,并继承 BaseCommandHandler'
test: Zero.Agent/Program.cs#L46
The field 'MyServices._timer2' is never used
test: Zero.Agent/Program.cs#L45
The field 'MyServices._timer' is never used
test: Test/MyServices.cs#L58
This call site is reachable on all platforms. 'Desktop.Log' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test: Test/MyServices.cs#L58
This call site is reachable on all platforms. 'Desktop' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test: Test/MyServices.cs#L64
This call site is reachable on all platforms. 'Desktop.StartProcess(string, string, string, bool, bool)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test: Test/MyServices.cs#L58
This call site is reachable on all platforms. 'Desktop.Log' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test: Zero.Agent/Program.cs#L35
'ServiceBase.AddMenu(char, string, Action)' is obsolete: '建议定义命令处理类,并继承 BaseCommandHandler'
test: Zero.Agent/Program.cs#L45
The field 'MyServices._timer' is never used
test: Zero.Agent/Program.cs#L46
The field 'MyServices._timer2' is never used
test: Test/MyServices.cs#L64
This call site is reachable on all platforms. 'Desktop.StartProcess(string, string, string, bool, bool)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test: Test/MyServices.cs#L58
This call site is reachable on all platforms. 'Desktop.Log' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test: Test/MyServices.cs#L58
This call site is reachable on all platforms. 'Desktop' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test: Test/MyServices.cs#L58
This call site is reachable on all platforms. 'Desktop.Log' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)