Skip to content

Build CNS.Auth.Web

Build CNS.Auth.Web #18

Manually triggered November 27, 2024 14:36
Status Success
Total duration 45s
Artifacts 1

cns-pr.yml

on: workflow_dispatch
Fit to window
Zoom out
Zoom in

Annotations

5 warnings
Build
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
Build: WebApps/CNS.Auth.Web/Services/SAMLService.cs#L211
'X509Certificate2.PrivateKey' is obsolete: 'X509Certificate2.PrivateKey is obsolete. Use the appropriate method to get the private key, such as GetRSAPrivateKey, or use the CopyWithPrivateKey method to create a new instance with a private key.' (https://aka.ms/dotnet-warnings/SYSLIB0028)
Build: WebApps/CNS.Auth.Web/Services/CNSCertificateService.cs#L194
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Build: WebApps/CNS.Auth.Web/Startup.cs#L42
This call site is reachable on all platforms. 'EventLogSettings' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build: WebApps/CNS.Auth.Web/Startup.cs#L111
Calling 'BuildServiceProvider' from application code results in an additional copy of singleton services being created. Consider alternatives such as dependency injecting services as parameters to 'Configure'. (https://aka.ms/AA5k895)

Artifacts

Produced during runtime
Name Size
CNSProxy
20.7 MB