guudan / Vs-AddMultipleProjectsToSolution

Visual Studio extension that allows adding multiple existing projects into the solution. Optionally creates the solution folder structure reflecting to the physical hierarchy on disk.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Not implemented" when adding multiple projects in VS 2019 v16.11.30 for big (300+ projects) solutions

astrohart opened this issue · comments

Installed product versions

  • Visual Studio: 2019 Enterprise
  • This extension: 16.11.30

Description

I updated VS 2019 from 16.11.29, and now the extension won't work. Or, it works only if the number of projects in the Solution is below a certain number. Otherwise, red X marks appear next to each project in the final list box (on the last step, after you click Start) and hovering over an individual red X says Not implemented.

Sometimes, it will work if I delete bin and obj folders, clear the ReSharper caches (I am using ReSharper 2023.2.2), exit Visual Studio, run rd /S /Q %TEMP% twice, and then run taskkill /IM dllhost.exe /F /T twice, and then restart Visual Studio and re-open the Solution.

It's very sporadic; sometimes, it will have a "bad hair day" and give me red X's; other times, it will be fine and I get "green check marks" all the way down.

It seems to not like Solutions containing 300+ projects.

Steps to recreate

  1. Install Visual Studio 2019 Enterprise v16.11.30
  2. Open a big solution that contains 300+ projects
  3. Use this extension to add multiple projects ( can be any number of projects ), with Add Solution Folders check box CLEARED
  4. Red "X" marks will appear next to added projects. If you hover over a "Red X" mark, it says "Not implemented."
  5. Repeating steps 1-3 on a solution with less than 300 projects seems to work just fine.

Current behavior

Each project to be added gets a "red X" mark next to it. When I hover over a "red X", it says "Not implemented."

Expected behavior

I should get "green check mark" icons next to each project, and they should all be added to my Solution.

I fixed broken references among the projects I was adding, and it seems to have fixed the issue --- for now. It would be nice, however, if research and development could enhance the UX to allow for a clearer error message.