I initially created a .net app on Mac and did some work on it and stopped updating it but recently I wanted to get back to adding some new features but Im getting the error
"The operation failed due to an internal error: Could not load file or assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=stuff'. The system cannot find the file specified."
PS this also occurs when I make a new app so it may be an issue with how I have my dev environment setup but can't seem to pin point how fix it.
For some reason it looks like visual studio cannot find any target frameworks.
Any help to fix the issue would be appreciated
Steps that I have already tried:
- Rebooted my machine.
- Reinstalled visual studio
- Reinstalled dotnet
Edit:Managed to fix the issue by making sure everything was updated and adding the following binding redirect tags to all the crpoj files
<PropertyGroup><AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects><GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType></PropertyGroup>
