Skip to content

fix build

fix build #143

Triggered via push December 1, 2023 06:29
Status Success
Total duration 1m 33s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

37 warnings
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build: DownstreamApis/WebAppUserApis/Pages/Shared/_LoginPartial.cshtml#L3
Dereference of a possibly null reference.
build: DownstreamApis/WebAppUserApis/Pages/Shared/_LoginPartial.cshtml#L3
Dereference of a possibly null reference.
build: TokenManagement/AadTokenPolicies/TokenLifetimePolicyDto.cs#L7
Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: TokenManagement/AadTokenPolicies/TokenLifetimePolicyDto.cs#L9
Non-nullable property 'Definition' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: TokenManagement/AadTokenPolicies/TokenLifetimePolicyDto.cs#L11
Non-nullable property 'DisplayName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: TokenManagement/AadTokenPolicies/PolicyAssignedApplicationsDto.cs#L5
Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: TokenManagement/AadTokenPolicies/PolicyAssignedApplicationsDto.cs#L6
Non-nullable property 'AppId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: TokenManagement/AadTokenPolicies/PolicyAssignedApplicationsDto.cs#L7
Non-nullable property 'DisplayName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: TokenManagement/AadTokenPolicies/PolicyAssignedApplicationsDto.cs#L12
Non-nullable property 'SignInAudience' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: TokenManagement/AadTokenPolicies/PolicyAssignedApplicationsDto.cs#L14
Non-nullable property 'PolicyAssigned' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: TokenManagement/Pages/Shared/_LoginPartial.cshtml#L3
Dereference of a possibly null reference.
build: TokenManagement/AadTokenPolicies/TokenLifetimePolicyGraphApiService.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: ConfidentialClientCredentialsCertificate/MyServerRenderedPortal/CallApi/ConfidentialClientApiService.cs#L49
Possible null reference argument for parameter 'uriString' in 'Uri.Uri(string uriString)'.
build: ConfidentialClientCredentialsCertificate/MyServerRenderedPortal/CallApi/ClientAssertionsApiService.cs#L44
Possible null reference argument for parameter 'tenantId' in 'string ClientAssertionsApiService.GetSignedClientAssertion(X509Certificate2 certificate, string tenantId, string confidentialClientID)'.
build: ConfidentialClientCredentialsCertificate/MyServerRenderedPortal/CallApi/ClientAssertionsApiService.cs#L44
Possible null reference argument for parameter 'confidentialClientID' in 'string ClientAssertionsApiService.GetSignedClientAssertion(X509Certificate2 certificate, string tenantId, string confidentialClientID)'.
build: ConfidentialClientCredentialsCertificate/MyServerRenderedPortal/CallApi/ClientAssertionsApiService.cs#L57
Possible null reference argument for parameter 'uriString' in 'Uri.Uri(string uriString)'.
build: ConfidentialClientCredentialsCertificate/MyServerRenderedPortal/CallApi/ConfidentialClientApiService.cs#L49
Possible null reference argument for parameter 'uriString' in 'Uri.Uri(string uriString)'.
build: ConfidentialClientCredentialsCertificate/MyServerRenderedPortal/CallApi/ClientAssertionsApiService.cs#L44
Possible null reference argument for parameter 'tenantId' in 'string ClientAssertionsApiService.GetSignedClientAssertion(X509Certificate2 certificate, string tenantId, string confidentialClientID)'.
build: ConfidentialClientCredentialsCertificate/MyServerRenderedPortal/CallApi/ClientAssertionsApiService.cs#L44
Possible null reference argument for parameter 'confidentialClientID' in 'string ClientAssertionsApiService.GetSignedClientAssertion(X509Certificate2 certificate, string tenantId, string confidentialClientID)'.
build: ConfidentialClientCredentialsCertificate/MyServerRenderedPortal/CallApi/ClientAssertionsApiService.cs#L57
Possible null reference argument for parameter 'uriString' in 'Uri.Uri(string uriString)'.
build: DeviceFlowWeb/MissingSecurityHeaders.cs#L17
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
build: DeviceFlowWeb/MissingSecurityHeaders.cs#L24
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
build: DeviceFlowWeb/MissingSecurityHeaders.cs#L17
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
build: DeviceFlowWeb/MissingSecurityHeaders.cs#L24
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
build
'SignOutSessionStateManager' is obsolete: 'Use 'Microsoft.AspNetCore.Components.Webassembly.Authentication.NavigationManagerExtensions.NavigateToLogout' instead.'
build: BlazorWithApis/BlazorAzureADWithApis/Client/Pages/Authentication.razor#L6
Non-nullable property 'Action' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: BlazorWithApis/BlazorAzureADWithApis/Client/App.razor#L6
Dereference of a possibly null reference.
build: BlazorWithApis/BlazorAzureADWithApis/Client/Shared/NavMenu.razor#L41
Possible null reference return.
build
'SignOutSessionStateManager' is obsolete: 'Use 'Microsoft.AspNetCore.Components.Webassembly.Authentication.NavigationManagerExtensions.NavigateToLogout' instead.'
build: BlazorWithApis/BlazorAzureADWithApis/Client/Pages/Authentication.razor#L6
Non-nullable property 'Action' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: BlazorWithApis/BlazorAzureADWithApis/Client/App.razor#L6
Dereference of a possibly null reference.
build: BlazorWithApis/BlazorAzureADWithApis/Client/Shared/NavMenu.razor#L41
Possible null reference return.