Open dotnet-eng-status[bot] opened 4 days ago
Using this issue to track the numerous Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
messages (which we should address or suppress) and the oddity that a partially succeeding build led to a new "Build failed" issue. Is our analysis configurable to ignore that case @missymessa and @AlitzelMendez❔ (not that I'm sure Build Analysis is relevant here.
Problems may be mitigated / reduced by focusing on a few of the warnings e.g. bumping a few package versions to reduce noise.
Build #2024070203 partiallySucceeded
:warning: : internal / dotnet-helix-service-CI partiallySucceeded
Summary
Finished - Tue, 02 Jul 2024 23:25:12 GMT Duration - 110 minutes Requested for - Epsitha Ananth Reason - manual
Details
Validate
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - Component Governance detected 2 security related alerts at or above "High" severity. Microsoft's Open Source policy requires that all high and critical security vulnerabilities found by this task be addressed by upgrading vulnerable components. Vulnerabilities in indirect dependencies should be addressed by upgrading the root dependency.
:warning: - [Log] - Component Governance detected 1 security alert(s) at or above "High" severity that must be resolved before their due date.
:warning: - [Log] - The Component Detection tool partially succeeded. See the logs for more information.
Publish_Packages
:warning: - [Log] - Found CodeSign.MissingSigningCert error(s). [C+AI Security Sprint Wave 1] Code Sign Validation (CSV) is enabled in audit mode to collect telemetry for future enforcement. More details: https://aka.ms/1espt-csv-warning
:warning: - [Log] - Found CodeSign.NoMatchingPolicy error(s). [C+AI Security Sprint Wave 1] Code Sign Validation (CSV) is enabled in audit mode to collect telemetry for future enforcement. More details: https://aka.ms/1espt-csv-warning
Post_Deployment_Tests
:warning: - [Log] - Component Governance detected 2 security related alerts at or above "High" severity. Microsoft's Open Source policy requires that all high and critical security vulnerabilities found by this task be addressed by upgrading vulnerable components. Vulnerabilities in indirect dependencies should be addressed by upgrading the root dependency.
:warning: - [Log] - Component Governance detected 1 security alert(s) at or above "High" severity that must be resolved before their due date.
:warning: - [Log] - The Component Detection tool partially succeeded. See the logs for more information.
Build
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - src\Native\DHandler\DHandler\dhandler.cpp(449,114): Warning C4474: 'fwprintf' : too many arguments passed for format string
:warning: - [Log] - src\Native\DHandler\DHandler\ssdialog.cpp(22,24): Warning C4302: 'type cast': truncation from 'const char *' to 'WORD'
:warning: - [Log] - src\Native\DHandler\DHandler\winwrap.cpp(58,5): Warning C4996: 'GetVersionExA': was declared deprecated
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - C:\Program Files\dotnet\sdk\8.0.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): Warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
:warning: - [Log] - Component Governance detected 1 security alert(s) at or above "High" severity that must be resolved before their due date.
:warning: - [Log] - The Component Detection tool partially succeeded. See the logs for more information.
:warning: - [Log] - Found CodeSign.MissingSigningCert error(s). [C+AI Security Sprint Wave 1] Code Sign Validation (CSV) is enabled in audit mode to collect telemetry for future enforcement. More details: https://aka.ms/1espt-csv-warning
:warning: - [Log] - Found CodeSign.MissingSigningCert error(s). [C+AI Security Sprint Wave 1] Code Sign Validation (CSV) is enabled in audit mode to collect telemetry for future enforcement. More details: https://aka.ms/1espt-csv-warning
:warning: - [Log] - Found CodeSign.NoMatchingPolicy error(s). [C+AI Security Sprint Wave 1] Code Sign Validation (CSV) is enabled in audit mode to collect telemetry for future enforcement. More details: https://aka.ms/1espt-csv-warning
:warning: - [Log] - Found CodeSign.MissingSigningCert error(s). [C+AI Security Sprint Wave 1] Code Sign Validation (CSV) is enabled in audit mode to collect telemetry for future enforcement. More details: https://aka.ms/1espt-csv-warning
:warning: - [Log] - Found CodeSign.MissingSigningCert error(s). [C+AI Security Sprint Wave 1] Code Sign Validation (CSV) is enabled in audit mode to collect telemetry for future enforcement. More details: https://aka.ms/1espt-csv-warning
:warning: - [Log] - Found CodeSign.NoMatchingPolicy error(s). [C+AI Security Sprint Wave 1] Code Sign Validation (CSV) is enabled in audit mode to collect telemetry for future enforcement. More details: https://aka.ms/1espt-csv-warning
:warning: - [Log] - Found CodeSign.MissingSigningCert error(s). [C+AI Security Sprint Wave 1] Code Sign Validation (CSV) is enabled in audit mode to collect telemetry for future enforcement. More details: https://aka.ms/1espt-csv-warning
:warning: - [Log] - Found CodeSign.NoMatchingPolicy error(s). [C+AI Security Sprint Wave 1] Code Sign Validation (CSV) is enabled in audit mode to collect telemetry for future enforcement. More details: https://aka.ms/1espt-csv-warning
:warning: - [Log] - Found CodeSign.MissingSigningCert error(s). [C+AI Security Sprint Wave 1] Code Sign Validation (CSV) is enabled in audit mode to collect telemetry for future enforcement. More details: https://aka.ms/1espt-csv-warning
Changes