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?
To fix a broken project reference by correcting the reference path. In Solution Explorer, right-click your project node, and then select Properties. The Project Designer appears. If you're using Visual Basic, select the References page, and then click the Reference Paths button.
Press Shift + F12 to find all references.
Restart Visual Studio, create a new C# UWP app project, and then right-click on the project and choose Add Reference. Go to the Windows tab, then the Extensions sub-tab, and select the Extension SDK. Look at the right pane in the Reference Manager. If it has dependencies, they will be listed there.
I overlooked this being a .NET Framework targeted project rather than a .NET CORE
Please see below assembly location.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With