dotnet / dotnet/machinelearning-modelbuilder
Model Builder Error - Value cannot be null. Parameter name: project
- Dominant language
- Dockerfile
- Stars
- 285
- Forks
- 66
- PR merge metrics
- No merged PRs in 30d
Description
**System Information (please complete the following information):**
- Model Builder Version (available in Manage Extensions dialog): 16.13.10.2241902
- Visual Studio Version: 17.3.5
- Windows Version: Windows 11 Pro 21H2
**Describe the bug**
Error pops up after Training has completed for a Data Classification task within the model builder.
**To Reproduce**
1. Choose Data classification
2. Walk through process to train. Click Next step on Train button.
3. Process runs for almost 10 minutes and at end generates error.
**Expected behavior**
Model builds without any errors.
**Screenshots**


**Additional context**
Message it cannot find project is pointing at the right location on disk for the project.
Error:
Value cannot be null.
Parameter name: project
Stack Trace:
at NuGet.VisualStudio.Implementation.Extensibility.VsPackageInstallerServices.GetInstalledPackages(Project project)
at Microsoft.ML.ModelBuilder.Utils.Utilities.d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.d__109.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.d__108.MoveNext()
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.