Can't add a new Uno application project to an existing solution in VS2022 #16973
Labels
blocked/vs
Categorizes an issue as blocked by a Visual Studio problem
kind/tracking-only
Categorizes an issue that is currently open for tracking purposes only.
Current behavior
Repro steps:
Expected results: an Uno application project is added to my solution.
Actual results: This dialog:
Note that there is no "same directory" checkbox on the previous screen.
That option only exists when creating a new solution.
I am not creating a new solution. I am adding a new project to an existing solution.
Expected behavior
After clicking "Create" there should be a new Uno Application project in my existing solution, alongside the existing projects.
How to reproduce it (as minimally and precisely as possible)
Unzip this file, open the solution inside it, try to add a new Uno Platform application as described above.
UnoNewAppRepro.zip
Workaround
I don't know of one.
Works on UWP/WinUI
None
Environment
No response
NuGet package version(s)
No response
Affected platforms
Windows (WinAppSDK)
IDE
Visual Studio 2022
IDE version
17.9.6
Relevant plugins
No response
Anything else we need to know?
If someone can point me to where the code is, I'm willing to take a shot at fixing this. But first I'd like to know why (or whether) this requirement seemed like a good idea in the first place. Even for new solutions, unless the application is tiny, it's normal to have multiple projects in subdirectories beneath the directory that contains the solution file.
Is there any scenario in which this "same directory" requirement is truly required, by-design?
Is other work required, in order to properly support the not-same-directory scenario?
The text was updated successfully, but these errors were encountered: