Cannot start clean .Net Maui project in Visual Studio for Mac
See original GitHub issueDescription
After creating a new fresh project of .Net MAUI, I receive the following error:
Getting restore information for project X
The operation failed due to an internal error: Could not load file or assembly 'System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
Steps to Reproduce
- Create a new MAUI Project.
- Wait until the packages try to restore.
- Expect the error
Link to public reproduction project repository
Version with bug
7.0 (current)
Last version that worked well
6.0.312
Affected platforms
iOS, Android, Windows, macOS
Affected platform versions
iOS, Windows and Android
Did you find any workaround?
None
Relevant log output
Installed Workload Id Manifest Version Installation Source
---------------------------------------------------------------------
wasm-tools 7.0.2/7.0.100 SDK 7.0.100
macos 13.1.1024/7.0.100 SDK 7.0.100
maui-maccatalyst 7.0.59/7.0.100 SDK 7.0.100
maui-ios 7.0.59/7.0.100 SDK 7.0.100
maui-android 7.0.59/7.0.100 SDK 7.0.100
maui-mobile 7.0.59/7.0.100 SDK 7.0.100
maui 7.0.59/7.0.100 SDK 7.0.100
tvos 16.1.1521/7.0.100 SDK 7.0.100
maui-desktop 7.0.59/7.0.100 SDK 7.0.100
wasm-tools-net6 7.0.2/7.0.100 SDK 7.0.100
Visual Studio Community 2022 for Mac
Version 17.4.4 (build 12)
Issue Analytics
- State:
- Created 7 months ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Cannot start clean .Net Maui project in Visual Studio for Mac
Description After creating a new fresh project of .Net MAUI, I receive the following error: Getting restore information for project X The ...
Read more >Troubleshoot known issues - .NET MAUI
NET MAUI through the Visual Studio installer, Visual Studio can enter a state where it can't locate the .NET MAUI workloads. You'll receive ......
Read more >MAUI on Mac - Visual Studio 2022 17.4.2 : r/dotnetMAUI
I verified that this is not specific to my project by creating a new MAUI project on the Mac using the template and...
Read more >[.NET MAUI] error MSB4044: The "CompileAppManifest ...
After updating to VS 2022 version 17.5.2 I started getting below compilation error when I create new MAUI app project:.
Read more >Can't add images to new .NET MAUI project on Mac ...
I just started a brand new template .NET MAUI project on my Mac and I am able to build and run the startup...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
What if you reinstall .NET 7 SDK, reinstall visual studio, create a new project then restart your computer
closing old issues. We can reactivate if more information is provided.