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
Throw BadImageFormatException when missing PE metadata (#6270)
Fixes#6200
Context
InvalidOperationException was being thrown by AssemblyInformation.CorePopulateMetadata, causing the ResolveAssemblyReference task to fail rather than disregarding the file.
Changes Made
I copied the code from AssemblyNameExtension to ensure there is metadata present before getting a metadata reader
0 commit comments