Has VS 2015 changed drastically on how references are added?
I am doing a MVC web project. I wanted to use System.Configuration.ConfigurationManager
in my .NET 4.6 application. I went to the the References
node and Add Reference...
and added System.Configuration 1.0.0.0. Intellisense now was able to automatically provide the properties and methods for ConfigurationManager, eg ConfigurationManager.AppSettings
.
However, when I tried to compile, it says
CS0234 The type or namespace name 'Configuration' does not exist in the namespace 'System' (are you missing an assembly reference?)
How are things done in the new .NET Framework?
When I hover my mouse over the using System.Configuration
statement, there's a balloon text with yellow triangle and exclamation mark that says:
{} Namespace System.Configuration
MyProject.DNX 4.5.1 - Available
MyProject.DNX Core 5.0 - Not Available
You can use the navigation bar to switch context.
Whatever does this mean?