Error: The reference assemblies for framework ".NETFramework,Version=v4.7.1" were not found
See original GitHub issueEnvironment data
dotnet --info
output: 2.2.1
VS Code version:
C# Extension version: 1.17.1
Steps to reproduce
Try to use the Unity Debugger. Error gets thrown in VSCode
Expected behavior
No errors
Actual behavior
Errors on startup
The .NETFramework is not available on a Mac. I’m not sure if it is needed for this extension - if it is, the extension is useless on Mac. If it is not, there should be a check for the platform or something. Regardless, if I try to debug Unity, it crashes as soon as I hit play (Debug adapter process has terminated unexpectedly (spawn mono ENOENT)
Issue Analytics
- State:
- Created 5 years ago
- Comments:16 (1 by maintainers)
Top Results From Across the Web
Reference assemblies for framework ".NETFramework ...
If you're still encountering this Omnisharp error: The reference assemblies for .NETFramework,Version=v4.7.1 were not found.
Read more >[VS Code] Error: The reference assemblies for framework ...
The reference assemblies for framework ".NETFramework,Version=v4.7.1" were not found. Intellisense (autocomplete) fix.
Read more >Visual Studio Code for Unity: "The reference assemblies for ...
Visual Studio Code for Unity: "The reference assemblies for .NETFramework,Version=v4.7.1 were not found. ... " #4347.
Read more >The reference assemblies for .NETFramework,Version=v4.5 ...
On a visual studio build task I get the following error: ##[error]C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\Microsoft.
Read more >MSB3644: The reference assemblies for 'version' were not ...
This error occurs when the .NET reference assemblies are not found for the version of .NET that a project requests. The issue could...
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
Try adding
export FrameworkPathOverride=/Library/Frameworks/Mono.framework/Versions/Current
to your~/.bash_profile
or~/.zshrc
or whichever terminal you use. Restart VSCode before trying again.That worked for me too! Thank you very much!