FFmpegInterop.dll still has a BA2024.EnableSpectreMitigations BinSkim error after #318, because the SpectreMitigation build property needs to be set before Microsoft.Cpp.props is imported so that the Spectre-mitigated runtime libraries are added to the LIBPATH instead of the default runtime libraries.
What changed?
Set the SpectreMitigation build property before Microsoft.Cpp.props is imported.
How was the change tested?
I ran BinSkim on FFmpegInterop.dll and verified that no errors are reported.
Why is this change being made?
FFmpegInterop.dll still has a BA2024.EnableSpectreMitigations BinSkim error after #318, because the SpectreMitigation build property needs to be set before Microsoft.Cpp.props is imported so that the Spectre-mitigated runtime libraries are added to the LIBPATH instead of the default runtime libraries.
What changed?
Set the SpectreMitigation build property before Microsoft.Cpp.props is imported.
How was the change tested?