Could not load file or assembly ‘System.Runtime, Version=7.0.0.0…’ – After installing .NET Core 7 ‘dotnet watch run’ not working
According to the Microsoft document, the SDK uses the latest installed version and this is an expected behavior: The .NET CLI must choose an SDK version for every dotnet command. It uses the latest SDK installed on the machine by default, even if the project targets an earlier version of the .NET runtime. So, it … Read more