Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information