v10.10.2024.1223 修正systemd安装服务出错 #139
Annotations
1 error and 21 warnings
test
Process completed with exit code 1.
|
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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)
|
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:
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' 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#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:
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' 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)
|