All projects are visible in the solution when switching to UWP

Hello,

Is it a normal behaviour to have all projects visible in the solution when switching to UWP? It’s not the case for Unity Standalone or Android. Do you know how to disable this behaviour? I use many packages so Visual Studio is very slow.

Hey,

The option to create .csproj files for Packages is controlled by the “Generate all .csproj files” located under Edit → Preferences → External Tools.

Interestingly enough, it appears this option is off by default for Windows Standalone but is switched on when switching to UWP. Unchecking the box after switching to UWP should stop this behavior, however I did a quick test and in my case it didn’t change; the VS solution still contained .csproj for Packages.

There’s another forum thread that goes into more detail on this: Could Unity add csproj of each package project into the solution file? . Apparently there’s a bug were this option doesn’t actually turn .csproj generation on: Unity Issue Tracker - [Visual Studio] Project does not contain all .csproj files when "Generate All .csproj files" option is selected in preferences which could be related to the problem I’m seeing.

If switching the option off doesn’t solve the problem, please file another bug. Also, I don’t know if it’s expected for UWP to have different behavior or not, so if you file a bug please include this detail.

OK great! Thanks for this long reply