Hi @Tony Pitman ,
Thanks for reaching out.
I understand how frustrating it must be that VS Code stopped automatically loading your MAUI solution, especially when it worked fine before. Based on community reports, the “Temporary Solution File - Not Saved in Workspace” can happen when the .NET / MAUI extensions fail to detect the .sln file automatically. For more context, see: Temporary solution auto-creation and SDK detection issues on macOS.
Here are a couple of methods that might help restore automatic solution loading:
- Use a workspace file (
.code-workspace): Create a workspace that explicitly includes your.sln. This allows VS Code to remember the correct solution for each project, even if multiple or stray.slnfiles exist. - Verify the .NET SDK: Make sure the SDK is installed and recognized (
which dotnetordotnet --list-sdks), as detection issues on macOS can prevent automatic solution loading.
Using a workspace file is often the most effective way to have VS Code load your solution automatically. If the issue persists, reporting it on the GitHub repo for VS Code .NET tools with your setup details can help the maintainers track it.
Hope this helps! If my answer was helpful - kindly follow the instructions here so others with the same problem can benefit as well.