Skip to content

.NET 6.0.200-rtm.22077.13 hits NRE in ILLink.RoslynAnalyzer.RequiresAssemblyFilesAnalyzer #2563

Closed
@jonathanpeppers

Description

@jonathanpeppers

Saw this here: dotnet/android#6670

Bumping from .NET 6.0.200-rtm.22074.2 to 6.0.200-rtm.22077.13

Diff: d0662ed...70dc7f6

A Xamarin.Forms test project started hitting the warning:

CSC warning AD0001: Analyzer 'ILLink.RoslynAnalyzer.RequiresAssemblyFilesAnalyzer' threw an exception of type 'System.NullReferenceException' with message 'Object reference not set to an instance of an object.'.

It seems I can workaround for now, by passing -p:EnableSingleFileAnalyzer=false.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions