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

After installing .NET 8, the MAUI workload does not work in vscode. [macos] [vscode] #18935

Closed
mcyenikoylu opened this issue Nov 21, 2023 · 6 comments
Labels
area-setup Installation, setup, requirements, maui-check, workloads, platform support platform/macOS 🍏 macOS / Mac Catalyst s/needs-info Issue needs more info from the author t/bug Something isn't working

Comments

@mcyenikoylu
Copy link

mcyenikoylu commented Nov 21, 2023

Description

Yes, after installing .NET 8.0.100 SDK, the MAUI workload does not work in vscode. The operating system is MacOS Ventura. IDE: vscode, last update. Other SDKs. .NET 7.0.11

SS:
Imgur

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

8.0.3

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

7.0.101

Affected platforms

macOS

Affected platform versions

Ventura 13.2 (22D49)

Did you find any workaround?

No response

Relevant log output

No response

@mcyenikoylu mcyenikoylu added the t/bug Something isn't working label Nov 21, 2023
@Eilon Eilon added the area-setup Installation, setup, requirements, maui-check, workloads, platform support label Nov 21, 2023
@DDHSchmidt
Copy link

Have you tried the command line
sudo dotnet workload install maui (emphasis on sudo) ?

I didn't see that in the screenshot you posted and the command line pretty much says you're lacking permissions.

@mcyenikoylu
Copy link
Author

Have you tried the command line sudo dotnet workload install maui (emphasis on sudo) ?

I didn't see that in the screenshot you posted and the command line pretty much says you're lacking permissions.

Yes, I tried as sudo. I didn't get any results. Since I restarted the computer and opened a new terminal screen, it does not "sudo" appear in the terminal.

@mcyenikoylu
Copy link
Author

I uninstalled the .NET MAUI Extension, restarted my computer and installed it again. The code "dotnet workload install maui" worked. However, some packages are installetion in older versions. Is this normal? Please see the screenshot. Some bakkets install as .NET 7, some as .NET 8.

https://imgur.com/gallery/X0dc7aT

@activa
Copy link
Contributor

activa commented Nov 21, 2023

It's normal that both .NET7 and .NET8 components are being installed. You can still develop for .NET 7 if you want.

@PureWeen PureWeen added the s/needs-info Issue needs more info from the author label Nov 21, 2023
@ghost
Copy link

ghost commented Nov 21, 2023

Hi @mcyenikoylu. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@mcyenikoylu
Copy link
Author

Yes, all IOS and Android packages have been installed (it took a very long time.) and everything works as it should. Thanks.
SS: https://imgur.com/gallery/Jk9Rbya

@github-actions github-actions bot locked and limited conversation to collaborators Dec 22, 2023
@samhouts samhouts added the platform/macOS 🍏 macOS / Mac Catalyst label Feb 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-setup Installation, setup, requirements, maui-check, workloads, platform support platform/macOS 🍏 macOS / Mac Catalyst s/needs-info Issue needs more info from the author t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants