-
Sorry in advance if this is the wrong place to ask this question. When running the command When manually running When manually running |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
-
I did that before. Didn't seem to fix it. But I will try to do it again. |
Beta Was this translation helpful? Give feedback.
-
@Eatham532 thanks for the update. Why do you need to run |
Beta Was this translation helpful? Give feedback.
-
uno-check says that my workloads are not installed. And when trying to build the default template app I get errors about the workloads. So I tried installing them manually using |
Beta Was this translation helpful? Give feedback.
-
Could it be because I am using .net 7? |
Beta Was this translation helpful? Give feedback.
-
@Eatham532 do you have any preview versions of Visual Studio installed? Also, can you run "dotnet --info" and share results here |
Beta Was this translation helpful? Give feedback.
-
No, I do not have any preview versions installed. The results from running
|
Beta Was this translation helpful? Give feedback.
-
This is unfortunately a case of workloads not working properly. Aside from uninstalling all .NET versions and all VS instances (that is until .NET 8 with the new This is a topic that is very frequent on the MAUI repo: https://github.com/dotnet/maui/issues?q=is%3Aissue+is%3Aopen+workload
|
Beta Was this translation helpful? Give feedback.
-
I managed to fix this issue. There seemed to be some issue with the workloads I currently had installed. And it seems when removing dotnet and visual studio the workloads don't get removed. I created a backup of I also moved back the workloads I made a backup with before in case there were some that were not installed when running |
Beta Was this translation helpful? Give feedback.
I managed to fix this issue. There seemed to be some issue with the workloads I currently had installed. And it seems when removing dotnet and visual studio the workloads don't get removed. I created a backup of
C:\ProgramData\dotnet\workloads
and removed the folder. Then when runninguno-check
the workloads installed successfully.I also moved back the workloads I made a backup with before in case there were some that were not installed when running
uno-check
and made sure to click skip when there were two of the same files.