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 template, lack of loaded projects after creation #24089

Closed
HuaFangYun opened this issue Aug 8, 2024 · 9 comments · Fixed by #24095
Closed

Multi-project template, lack of loaded projects after creation #24089

HuaFangYun opened this issue Aug 8, 2024 · 9 comments · Fixed by #24095
Labels
area-templates Project templates, Item Templates for Blazor and MAUI fixed-in-8.0.90 fixed-in-9.0.0-rc.1.24453.9 platform/android 🤖 platform/windows 🪟 potential-regression This issue described a possible regression on a currently supported version., verification pending s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@HuaFangYun
Copy link

HuaFangYun commented Aug 8, 2024

Description

MauiApp2.zip

image
image
image

Steps to Reproduce

Create a default project and select only Android and WinUI

Link to public reproduction project repository

No response

Version with bug

8.0.80 SR8

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

Unknown/Other

Affected platforms

Android, Windows

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

@HuaFangYun HuaFangYun added the t/bug Something isn't working label Aug 8, 2024
Copy link
Contributor

github-actions bot commented Aug 8, 2024

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@kevinxufei kevinxufei added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Aug 8, 2024
@kevinxufei
Copy link

kevinxufei commented Aug 8, 2024

This issue has been verified using Visual Studio 17.11.0 Preview 7.0(8.0.80) & 17.10.5(8.0.80). Can repro it. If you add the .csproj of main project to solution, then all projects are visible.
Regarding this issue, we suggest you submit feedback. There is a professional team here to track this issue. Thanks again
image

@jfversluis
Copy link
Member

In the new project dialog if you check the "Place solution and project in the same directory" checkbox does it work then?

image

@jfversluis
Copy link
Member

jfversluis commented Aug 8, 2024

No that probably doesn't matter, I think I found it 😄

@jfversluis jfversluis added the area-templates Project templates, Item Templates for Blazor and MAUI label Aug 8, 2024
@HuaFangYun
Copy link
Author

thanks

@samhouts samhouts added platform/windows 🪟 platform/android 🤖 potential-regression This issue described a possible regression on a currently supported version., verification pending labels Aug 9, 2024
@PureWeen PureWeen added this to the .NET 8 SR9 milestone Aug 9, 2024
@HuaFangYun
Copy link
Author

image
image
In the latest VS version, only one project is loaded by default, and another project is not loaded, resulting in a generation error.

@HuaFangYun
Copy link
Author

@jfversluis I want to ask if this is fixed when released on SR9? thanks

@jfversluis
Copy link
Member

I see this is part of .NET 9 RC1 but not another release yet apart from the nightlies. For the time being, manually add the shared project after creating. This should hopefully be released soon, at the very latest with .NET 9!

@HuaFangYun
Copy link
Author

thank you for your reply and thank you for your hard work

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 fixed-in-8.0.90 fixed-in-9.0.0-rc.1.24453.9 platform/android 🤖 platform/windows 🪟 potential-regression This issue described a possible regression on a currently supported version., verification pending s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

5 participants