Skip to content

feat: 新增WindowsAutorun,用于Windows桌面登录自启动。close https://github.com/NewL… #54

feat: 新增WindowsAutorun,用于Windows桌面登录自启动。close https://github.com/NewL…

feat: 新增WindowsAutorun,用于Windows桌面登录自启动。close https://github.com/NewL… #54

Triggered via push August 12, 2023 08:23
Status Success
Total duration 47s
Artifacts

publish-beta.yml

on: push
build-publish
39s
build-publish
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build-publish: NewLife.Agent/WindowsService.cs#L533
'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012)
build-publish: NewLife.Agent/WindowsAutorun.cs#L169
'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012)
build-publish: NewLife.Agent/WindowsService.cs#L568
This call site is reachable on all platforms. 'WindowsIdentity.GetCurrent()' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build-publish: NewLife.Agent/WindowsService.cs#L569
This call site is reachable on all platforms. 'WindowsPrincipal' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build-publish: NewLife.Agent/WindowsService.cs#L570
This call site is reachable on all platforms. 'WindowsBuiltInRole.Administrator' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build-publish: NewLife.Agent/WindowsService.cs#L570
This call site is reachable on all platforms. 'WindowsPrincipal.IsInRole(WindowsBuiltInRole)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build-publish: NewLife.Agent/ServiceBase.cs#L203
This call site is reachable on all platforms. 'WindowsBuiltInRole.Administrator' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build-publish: NewLife.Agent/ServiceBase.cs#L203
This call site is reachable on all platforms. 'WindowsPrincipal.IsInRole(WindowsBuiltInRole)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build-publish: NewLife.Agent/ServiceBase.cs#L202
This call site is reachable on all platforms. 'WindowsPrincipal' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build-publish: NewLife.Agent/ServiceBase.cs#L201
This call site is reachable on all platforms. 'WindowsIdentity.GetCurrent()' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)