Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]How to disable compiler warnings in Run-AlValidation #3737

Open
RonKoppelaar opened this issue Oct 25, 2024 · 0 comments
Open

[Question]How to disable compiler warnings in Run-AlValidation #3737

RonKoppelaar opened this issue Oct 25, 2024 · 0 comments

Comments

@RonKoppelaar
Copy link

I added switch parameter: -includeWarnings:$false to the cmdlet, but I still receive all kind of compiler warnings
Can this be prevented otherwise? It makes the log very hard to read.

See part of the log below.
Compiling...
.\alc.exe /project:"C:\ProgramData\BcContainerHelper\21b3a788-5003-4b68-aa89-688a53c0ef6f" /packagecachepath:"C:\ProgramData\BcContainerHelper\c01a916b-ccc5-47c3-9eec-c53d695de931" /out:"C:\ProgramData\BcContaine
rHelper\21b3a788-5003-4b68-aa89-688a53c0ef6f\Zig_Empire System Application_24.2412.12635.0.app" /GenerateReportLayout- /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.AppSourceCop.dll /rule
set:C:\ProgramData\BcContainerHelper\21b3a788-5003-4b68-aa89-688a53c0ef6f\ruleset.json /reportsuppresseddiagnostics /BuildBy:"BcContainerHelper,6.0.26" /assemblyprobingpaths:"C:\Program Files\dotnet\shared","C:\P
rogramData\BcContainerHelper\Extensions\test.netPackages\Service"
Microsoft (R) AL Compiler version 13.1.17.64527
Copyright (C) Microsoft Corporation. All rights reserved

Compilation started for project 'Empire System Application' containing '201' files at '15:58:21.907'.

C:\ProgramData\BcContainerHelper\21b3a788-5003-4b68-aa89-688a53c0ef6f\src\src\OAuthV2\OAuthConfidentialClient.Codeunit.al(10,104): warning AL0432: Interface 'OAuthAuthoritySAN' is marked for removal. Reason: Use
new interface OAuthAuthority2SAN with procedure GetClientApplication. Tag: 2410.
C:\ProgramData\BcContainerHelper\21b3a788-5003-4b68-aa89-688a53c0ef6f\src\src\OAuthV2\OAuthConfidentialClient.Codeunit.al(15,130): warning AL0432: Interface 'OAuthAuthoritySAN' is marked for removal. Reason: Use
new interface OAuthAuthority2SAN with procedure GetClientApplication. Tag: 2410.
C:\ProgramData\BcContainerHelper\21b3a788-5003-4b68-aa89-688a53c0ef6f\src\src\OAuthV2\OAuthConfidentialClient.Codeunit.al(20,94): warning AL0432: Interface 'OAuthAuthoritySAN' is marked for removal. Reason: Use n
ew interface OAuthAuthority2SAN with procedure GetClientApplication. Tag: 2410.
C:\ProgramData\BcContainerHelper\21b3a788-5003-4b68-aa89-688a53c0ef6f\src\src\OAuthV2\OAuthConfidentialClient.Codeunit.al(25,63): warning AL0432: Interface 'OAuthAuthoritySAN' is marked for removal. Reason: Use n
ew interface OAuthAuthority2SAN with procedure GetClientApplication. Tag: 2410.
C:\ProgramData\BcContainerHelper\21b3a788-5003-4b68-aa89-688a53c0ef6f\src\src\OAuthV2\Authority\OAuthAuthority.Enum.al(3,44): warning AL0432: Interface 'OAuthAuthoritySAN' is marked for removal. Reason: Use new i
nterface OAuthAuthority2SAN with procedure GetClientApplication. Tag: 2410.
C:\ProgramData\BcContainerHelper\21b3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant