Search code examples
.netvisual-studio-2017

Visual Studio 2017 Reference Manager is empty


I'm trying to add a reference to System.Configuration assembly in Visual Studio 2017 Community edition. I'm targeting .net 4.5 version and .net classic. However, I can't find any assemblies in reference manager.

Am I missing something here? Where are the standard framework assemblies? Is it normal that Framework tab is empty?

enter image description here


Solution

  • Targeting .NETStandard 1.4

    That is not ".net classic", you picked a new project template that is available since VS2017. .NETStandard is pretty similar to PCL of old, it helps you create a portable class library that is usable on multiple platforms. An improvement over PCL, you no longer have to select which specific platforms you want to support. Being "standard", all framework assemblies you could pick are already included, that's why the list is empty. PCL worked the same way.

    Beware that there are a lot of Class Library project templates around and choosing the wrong one is easy to do. You'll have to pick the one named "Class Library (.NET Framework)", that's the one that targets the classic desktop version and gives you a non-empty list to choose from.