I’m getting the “missing a using directive or assembly reference” and no clue what’s going wrong

You probably don’t have the System.Configuration dll added to the project references. It is not there by default, and you have to add it manually.

Right-click on the References and search for System.Configuration in the .net assemblies.

Check to see if it is in your references…

enter image description here

Right-click and select Add Reference…

enter image description here

Find System.Configuration in the list of .Net Assemblies, select it, and click Ok…

enter image description here

The assembly should now appear in your references…

enter image description here

Leave a Comment