You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Print the qualified name for missing metadata type in exception message #69998
Unhandled Exception: System.Reflection.MissingMetadataException: 'Test.Foo+Bar`1[System.Int32]' is missing metadata. For more information, please visit http://go.microsoft.com/fwlink/?LinkID=392859
Actual behavior
Unhandled Exception: System.Reflection.MissingMetadataException: 'Test.Foo.Bar<System.Int32>' is missing metadata. For more information, please visit http://go.microsoft.com/fwlink/?LinkID=392859
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
This would help developers to identify the missing types easier.
Activity
ghost added
untriagedNew issue has not been triaged by the area owner
@hez2010 Sorry, not sure I understand. These look like the same type, but one is in metadata naming format and the other is in C# format. Is there any other different?
The metadata qualified name is needed in rd.xml. If the exception message contains the metadata type name, developers can write the type name in rd.xml without looking up the source code.
Activity
agocke commentedon Jun 16, 2022
@hez2010 Sorry, not sure I understand. These look like the same type, but one is in metadata naming format and the other is in C# format. Is there any other different?
hez2010 commentedon Jun 17, 2022
The metadata qualified name is needed in rd.xml. If the exception message contains the metadata type name, developers can write the type name in rd.xml without looking up the source code.
Fix dotnet#69998