dotnet / dotnet/machinelearning-modelbuilder

Model Builder Error: Failed to open a zip archive when adding projects to solution.

Open
#1,949 5 comments 0 reactions 1 assignee Claimed by @LittleLittleCloud View on GitHub
Priority:1 Reported by: Test Stale
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.9.1.2161301
- Microsoft Visual Studio Enterprise 2019: 16.11.7

**Describe the bug**
- On which step of the process did you run into an issue: **A prerequisite is that it has been checked into git repro , reopen model builder to Add to solution, prompt the error.**

**To Reproduce**
Steps to reproduce the behavior:
1. Select Create a new project from the Visual Studio 2019 start window;
2. Choose the C# Console App (.NET Core) project template with .Net 5.0;
3. Add model builder by right click on the project;
4. Select Object detection to complete the training;
5. Close the model builder and Save All files;
6. Check into Git Repo by using git lfs;
7. Re-open the model builder, navigate to Consume page;
8. See that:
- Code snippet is empty.
- Prompts Model Builder Error: Failed to open a zip archive. when adding projects to solution.

**Expected behavior**
No error when adding project to solution.

**Screenshots**
If applicable, add screenshots to help explain your problem.
![image](https://user-images.githubusercontent.com/81727020/145955312-7e5ec18e-3643-4c33-973b-be80232fa9c4.png)

**Additional context**
Not repro this issue when check out the repo.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.