Question Answering: The generated Console App project is running failed on VS2019.
v-Hailishi opened this issue · comments
v-Hailishi commented
System Information (please complete the following information):
Windows OS: Windows-11-Enterprise-23H2
ML.Net Model Builder 2019: 16.18.2.2415501 (Main Build)
Microsoft Visual Studio Enterprise: 2019(16.11.34)
.Net: 5.0
Describe the bug
- On which step of the process did you run into an issue:
The generated Console App project is running failed on VS2019.
TestMatrix
Smallsuad.tsv.txt
To Reproduce
Steps to reproduce the behavior:
- Select Create a new project from the Visual Studio start window.
- Choose the C# Console App (.NET Core 5.0) project template.
- Add model builder by right click on the project.
- Select "Question Answering" scenario.
- On Data page, choose the data source to completed training.
- Go to the Consume page, click "Add to solution" button to generate Console App project.
- Run the generated Console App project.
Expected behavior
The generated Console App project should be running successfully.
Additional context
- After adding code "using System.Linq;", the generated Console App project can be running successfully.
- The bug is not repro for Model Builder 2022(16.18.2.2415501) on VS2022.
v-Hailishi commented