Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't add a new Uno project within a solution that wasn't created with "Place solution and project in the same directory" #641

Open
VRage opened this issue Apr 18, 2024 · 2 comments
Assignees
Labels
area/solution-templates Categories an issue or PR as relevant to the Solution Templates kind/bug Something isn't working

Comments

@VRage
Copy link

VRage commented Apr 18, 2024

Current behavior

It's not possible to add an uno project to a solution that wasn't created with "Place solution and project in the same directory" enabled. Trying to do so a error dialog pops up "Uno Platform projects rquire the ""Place solution and project in the same directory" option to be checkd in the previous window". But there is no checkbox anymore if you add a project after creating a solution.

Expected behavior

Should be added anyways or there must be a checkbox

How to reproduce it (as minimally and precisely as possible)

  • Create new solution (any template) but with "Place solution and project in the same directory" unchecked:
    image

  • Create new folder in solution

  • Right click on folder -> add -> new project -> "Uno platform App"

  • Click "Create"

image

Workaround

No response

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

No response

IDE

Visual Studio 2022

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

@VRage VRage added kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification. labels Apr 18, 2024
@MartinZikmund MartinZikmund added area/solution-templates Categories an issue or PR as relevant to the Solution Templates and removed triage/untriaged Indicates an issue requires triaging or verification. labels Apr 18, 2024
@MartinZikmund MartinZikmund transferred this issue from unoplatform/uno Apr 18, 2024
@MartinZikmund
Copy link
Member

Transfered here as it is more relevant location. Definitely a papercut we would like to remove

@jeromelaban
Copy link
Member

Thanks for the report. This is a limitation of the dotnet template engine and its visual studio integration that we cannot work around at this time.

@dansiegel dansiegel self-assigned this Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/solution-templates Categories an issue or PR as relevant to the Solution Templates kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants