Skip to content

Merge branch 'net9' #171

Merge branch 'net9'

Merge branch 'net9' #171

Triggered via push January 3, 2025 07:04
Status Failure
Total duration 58s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 22 warnings
build
Process completed with exit code 1.
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build: ConfidentialClientCredentialsCertificate/MyServerRenderedPortal/CallApi/ClientAssertionsApiService.cs#L47
'ConfidentialClientApplicationBuilder.WithClientAssertion(string)' is obsolete: 'This method is not recommended. Use overload with Func<AssertionRequestOptions, Task<string>> instead, and return a non-expired assertion, which can be a Federated Credential. See https://aka.ms/msal-net-client-assertion'
build: ConfidentialClientCredentialsCertificate/MyServerRenderedPortal/CallApi/ClientAssertionsApiService.cs#L45
Possible null reference argument for parameter 'tenantId' in 'string ClientAssertionsApiService.GetSignedClientAssertion(X509Certificate2 certificate, string tenantId, string confidentialClientID)'.
build: ConfidentialClientCredentialsCertificate/MyServerRenderedPortal/CallApi/ClientAssertionsApiService.cs#L45
Possible null reference argument for parameter 'confidentialClientID' in 'string ClientAssertionsApiService.GetSignedClientAssertion(X509Certificate2 certificate, string tenantId, string confidentialClientID)'.
build: ConfidentialClientCredentialsCertificate/MyServerRenderedPortal/CallApi/ClientAssertionsApiService.cs#L58
Possible null reference argument for parameter 'uriString' in 'Uri.Uri(string uriString)'.
build: ConfidentialClientCredentialsCertificate/MyServerRenderedPortal/CallApi/ClientAssertionsApiService.cs#L89
'X509Certificate2.X509Certificate2(byte[], string?, X509KeyStorageFlags)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
build: ConfidentialClientCredentialsCertificate/MyServerRenderedPortal/CallApi/ConfidentialClientApiService.cs#L84
'X509Certificate2.X509Certificate2(byte[], string?, X509KeyStorageFlags)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
build: ConfidentialClientCredentialsCertificate/MyServerRenderedPortal/CallApi/ClientAssertionsApiService.cs#L47
'ConfidentialClientApplicationBuilder.WithClientAssertion(string)' is obsolete: 'This method is not recommended. Use overload with Func<AssertionRequestOptions, Task<string>> instead, and return a non-expired assertion, which can be a Federated Credential. See https://aka.ms/msal-net-client-assertion'
build: ConfidentialClientCredentialsCertificate/MyServerRenderedPortal/CallApi/ClientAssertionsApiService.cs#L45
Possible null reference argument for parameter 'tenantId' in 'string ClientAssertionsApiService.GetSignedClientAssertion(X509Certificate2 certificate, string tenantId, string confidentialClientID)'.
build: ConfidentialClientCredentialsCertificate/MyServerRenderedPortal/CallApi/ClientAssertionsApiService.cs#L45
Possible null reference argument for parameter 'confidentialClientID' in 'string ClientAssertionsApiService.GetSignedClientAssertion(X509Certificate2 certificate, string tenantId, string confidentialClientID)'.
build: ConfidentialClientCredentialsCertificate/MyServerRenderedPortal/CallApi/ClientAssertionsApiService.cs#L58
Possible null reference argument for parameter 'uriString' in 'Uri.Uri(string uriString)'.
build
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
build: BlazorWithApis/BlazorAzureADWithApis/Client/Shared/LoginDisplay.razor#L5
'SignOutSessionStateManager' is obsolete: 'Use 'Microsoft.AspNetCore.Components.Webassembly.Authentication.NavigationManagerExtensions.NavigateToLogout' instead.'
build
'Router.PreferExactMatches' is obsolete: 'This property is obsolete and configuring it has not effect.'
build: BlazorWithApis/BlazorAzureADWithApis/Client/App.razor#L6
Dereference of a possibly null reference.
build: BlazorWithApis/BlazorAzureADWithApis/Client/Pages/Authentication.razor#L6
Non-nullable property 'Action' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: BlazorWithApis/BlazorAzureADWithApis/Client/Shared/NavMenu.razor#L41
Possible null reference return.
build: BlazorWithApis/BlazorAzureADWithApis/Client/Shared/LoginDisplay.razor#L5
'SignOutSessionStateManager' is obsolete: 'Use 'Microsoft.AspNetCore.Components.Webassembly.Authentication.NavigationManagerExtensions.NavigateToLogout' instead.'
build
'Router.PreferExactMatches' is obsolete: 'This property is obsolete and configuring it has not effect.'
build: BlazorWithApis/BlazorAzureADWithApis/Client/App.razor#L6
Dereference of a possibly null reference.
build: BlazorWithApis/BlazorAzureADWithApis/Client/Pages/Authentication.razor#L6
Non-nullable property 'Action' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: BlazorWithApis/BlazorAzureADWithApis/Client/Shared/NavMenu.razor#L41
Possible null reference return.