dotnet / machinelearning-modelbuilder

Simple UI tool to build custom machine learning models.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question Answering: The generated Console App project is running failed on VS2019.

v-Hailishi opened this issue · comments

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:

  1. Select Create a new project from the Visual Studio start window.
  2. Choose the C# Console App (.NET Core 5.0) project template.
  3. Add model builder by right click on the project.
  4. Select "Question Answering" scenario.
  5. On Data page, choose the data source to completed training.
  6. Go to the Consume page, click "Add to solution" button to generate Console App project.
  7. Run the generated Console App project.

Expected behavior
The generated Console App project should be running successfully.

Screenshot
image

Additional context

  1. After adding code "using System.Linq;", the generated Console App project can be running successfully.
  2. The bug is not repro for Model Builder 2022(16.18.2.2415501) on VS2022.

The bug has been fixed on the latest main build 16.18.2.2416501.
image