-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
untriagedNew issue has not been triagedNew issue has not been triaged
Description
System Information:
- OS & Version: [Windows 10 (x64)]
- ML.NET Version: [Microsoft.ML.FastTree v5.0.0]
- .NET Version: [net472]
Describe the bug
The FastTreeNative.dll isn't being deployed to the output directory, causing a runtime exception when attempting to train a model.
Unable to load DLL 'FastTreeNative'
To Reproduce
Steps to reproduce the behavior:
- Create a project targeting the NET Framework (e.g.
net472) - Include the ML.NET & FastTree packages (same behavior with either v4 or v5)
- Create a simple training pipeline
- Run the project and observe a runtime exception
Expected behavior
The appropriate FastTreeNative.dll is included in the output directory and no exception is thrown.
Additional context
The same code, targeting net10.0 deploys the FastTreeNative.dll in the runtimes\win-x86\native and runtimes\win-x64\native folders. If I manually copy the file from the net10.0 build to the bin\Debug directory of the framework build, it works as expected.
Possibly related to #5308.
Metadata
Metadata
Assignees
Labels
untriagedNew issue has not been triagedNew issue has not been triaged