runtime: builds breaking because analyzers fail with `Value cannot be null. (Parameter 'type')`

Failing rolling build hit for browser-wasm windows Release LibraryTests_AOT:

CSC : error CS8032: An instance of analyzer Microsoft.NetCore.CSharp.Analyzers.Resources.CSharpMarkAssembliesWithNeutralResourcesLanguageAnalyzer cannot be created from D:\a\_work\1\s\.packages\microsoft.codeanalysis.netanalyzers\8.0.0-preview1.23117.2\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.NetAnalyzers.dll : Value cannot be null. (Parameter 'type'). [D:\a\_work\1\s\src\libraries\System.ComponentModel.Composition.Registration\src\System.ComponentModel.Composition.Registration.csproj::TargetFramework=net8.0]

Changes since the last passing rolling build - https://github.com/dotnet/runtime/compare/f6bed512...2819a944

cc @lewing @steveisok

Known Issue Error Message

Fill the error message using known issues guidance.

{
  "ErrorPattern": ".*An instance of analyzer Microsoft.NetCore.CSharp.Analyzers.Resources.CSharpMarkAssembliesWithNeutralResourcesLanguageAnalyzer cannot be created .*Value cannot be null.*",
  "BuildRetry": false
}

Report

Build Definition Step Name Console log Pull Request
180513 dotnet/runtime Restore and Build Product Log dotnet/runtime#82476
180257 dotnet/runtime Restore and Build Product Log dotnet/runtime#82350
179712 dotnet/runtime Build product Log

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 3 3

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 16 (16 by maintainers)

Most upvoted comments