Click here to Skip to main content
15,891,868 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I recently installed Visual Studio 2019. When I choose "project" "add reference" the reference manager window opens with a message "no framework assemblies were found on this machine."

What I have tried:

I googled "visual studio 2019 add reference" and could find no answers.
Posted
Updated 10-Mar-20 5:03am
Comments
Richard MacCutchan 5-Aug-19 4:04am    
It probably means that the .NET framework has not been installed correctly, or at all.

Some Things I Learned While Getting Started with .NET Standard | Joshua Chini[^]
This solution also applies to Visual Studio 2019

"When I opened the Add Reference window I was presented with a message that said "No Framework assemblies were found on this machine".

Add Reference Window[^]

- That message in the Add Reference window is to be expected when using .NET Standard instead of .NET Framework.
- When you create a .NET Standard library the NETStandard.Library metapackage is automatically referenced during project creation. It is a set of standard .NET APIs that are prescribed to be used and supported together. This includes all of the APIs in the NETStandard.Platform package plus additional libraries that are core to .NET but built on top of NETStandard.Platform. What this means is you don’t need to need add references individually as you need them. If you go and look at your nuget packages you will see the NETStandard.Library."
- If you use .NET Framework, all of the expected assembly frameworks will be listed.
 
Share this answer
 
v3
If you don't understand an error message, googole that - don't start googoling different things, try the exact text: no framework assemblies were found on this machine. - Google Search[^]
Several suggestions in the top hit: c# - Visual Studio 2017 won't load .NET Framework references in .NET Standard library - Stack Overflow[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900