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

Multi-Project App Template is not generating a solution file when used from CLI #21188

Open
egvijayanand opened this issue Mar 13, 2024 · 3 comments
Labels
area-templates Project templates, Item Templates for Blazor and MAUI platform/android 🤖 platform/iOS 🍎 platform/macOS 🍏 macOS / Mac Catalyst platform/windows 🪟 t/bug Something isn't working
Milestone

Comments

@egvijayanand
Copy link
Contributor

Description

.NET MAUI Multi-Project App Template is not generating a solution file when used from CLI

Since it's a multi-project, a solution file is necessary to link the projects.

This is occurring in .NET MAUI on .NET 9 Preview 2 (9.0.0-preview.2.10293). That particular version is not available in the Version with bug field. Have selected Unknown/Other.

Steps to Reproduce

  • Create a Multi-Project App Template from CLI
  • No solution file to link the projects
dotnet new maui-multiproject -o MyApp

Link to public reproduction project repository

Default template itself is suffice, no authored code

Version with bug

Unknown/Other

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

iOS, Android, Windows, macOS

Affected platform versions

All platforms

Did you find any workaround?

Manually add a solution file and link the platform projects and the shared class library. An unnecessary work.

Relevant log output

NA
@mattleibow
Copy link
Member

This was fixed in #21282

Version 8.0.14

@egvijayanand
Copy link
Contributor Author

This was fixed in #21282

It seems that this hasn't been addressed properly. The solution file has only one project though the solution is created with 5 projects (1 shared and 4 platform projects).

image

@egvijayanand
Copy link
Contributor Author

dotnet new maui-multiproject -o MauiApp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-templates Project templates, Item Templates for Blazor and MAUI platform/android 🤖 platform/iOS 🍎 platform/macOS 🍏 macOS / Mac Catalyst platform/windows 🪟 t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants