System Information (please complete the following information):
Model Builder Version (available in Manage Extensions dialog): 17.18.2.2415501
Visual Studio Version 2022 17.10.5
Describe the bug
Training a model throws error "Object reference not set tot an instance of an object" while training
On which step of the process did you run into an issue:
During Finalizing the Model
Clear description of the problem:
Training a model throws error "Object reference not set tot an instance of an object" while training
To Reproduce
Steps to reproduce the behavior:
1.Run through steps to train a model
Start Training
**Object reference not set to an instance of an object.
at Microsoft.ML.ModelBuilder.Utils.Utilities.NeedsCompileTagsAdded(Project project) in //src/Microsoft.ML.ModelBuilder/Utils/Utilities.cs:line 408
at Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AddModelItemGroup(String stateFileNameWithoutExtension, CSharpCode pFICode) in //src/Microsoft.ML.ModelBuilder/ViewModels/TrainViewModel.cs:line 1195
at Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.d_98.MoveNext() in //src/Microsoft.ML.ModelBuilder/ViewModels/TrainViewModel.cs:line 1120**
Expected behavior
The Model to finish training
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
System Information (please complete the following information):
Describe the bug Training a model throws error "Object reference not set tot an instance of an object" while training
To Reproduce Steps to reproduce the behavior: 1.Run through steps to train a model
**Object reference not set to an instance of an object.
at Microsoft.ML.ModelBuilder.Utils.Utilities.NeedsCompileTagsAdded(Project project) in //src/Microsoft.ML.ModelBuilder/Utils/Utilities.cs:line 408 at Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AddModelItemGroup(String stateFileNameWithoutExtension, CSharpCode pFICode) in //src/Microsoft.ML.ModelBuilder/ViewModels/TrainViewModel.cs:line 1195 at Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.d_98.MoveNext() in //src/Microsoft.ML.ModelBuilder/ViewModels/TrainViewModel.cs:line 1120**
Expected behavior The Model to finish training
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.