dotnet / dotnet/machinelearning

Building ML.NET on Windows has a new dependency

Open
#7,054 0 comments 1 reaction 0 assignees View on GitHub
area-Infrastructure untriaged
Dominant language
C#
Stars
9.4k
Forks
2k
Avg merge
2d 20h
Merged PRs (30d)
11

Description

**System Information (please complete the following information):**
- OS & Version: Win11 23H2
- ML.NET Version: main as of 3/11/2024
- .NET Version: N/A

**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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.