Skip to content

Remove IgnoreStandardErrorWarningFormat from targeting pack generation #1557

@ViktorHofer

Description

@ViktorHofer

IgnoreStandardErrorWarningFormat="true"

This setting hides real errors when generating assemblies via ILAsm. I noticed this when I accidentally removed this setting in the VMR. There are currently three errors that correspond to a single ILAsm bug which we should file an issue for so that everyone benefits.

  /__w/1/s/src/targetPacks/ILsrc/microsoft.aspnetcore.app.ref/6.0.2/ref/net6.0/Microsoft.AspNetCore.Mvc.Core.il(58668) : warning : Duplicate param name '_' in method '<CreateAsyncReleaser>b__2_0'
  /__w/1/s/src/targetPacks/ILsrc/microsoft.aspnetcore.app.ref/6.0.2/ref/net6.0/Microsoft.AspNetCore.Mvc.Core.il(58801) : warning : Duplicate param name '_' in method '<CreateAsyncControllerReleaser>b__2_0'
  /__w/1/s/artifacts/obj/Microsoft.AspNetCore.App.Ref.6.0.2/Release/netstandard2.0/ref/net6.0/Microsoft.AspNetCore.Components.patched.il(3478) : warning : Duplicate param name '_' in method '<CreateInitializer>b__7_0'

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-buildRelated to builds (developer, CI and PR validation)

    Type

    Projects

    Status

    11.0

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions