dotnet / machinelearning

ML.NET is an open source and cross-platform machine learning framework for .NET.
https://dot.net/ml
MIT License
8.91k stars 1.86k forks source link

Building ML.NET on Windows has a new dependency #7054

Open ericstj opened 3 months ago

ericstj commented 3 months ago

System Information (please complete the following information):

Describe the bug When building ML.NET I now hit:

error MSB8040: Spectre-mitigated libraries are required for this project. Install them from the Visual Studio installer (Individual components tab) for any toolsets and architectures being used. Learn more: https://aka.ms/Ofhn4c 

I was able to fix this by manually installing: "Libs for Spectre" as mentioned here: https://learn.microsoft.com/en-us/cpp/build/reference/qspectre?view=msvc-160