Posts

Showing posts from April 4, 2019

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

Image
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box; 10 6 I'm trying to allow a user to enter data into a textbox that will be added to the web.config file. I've added the relevent lines to the web.config file but when I make this class all goes wrong. I keep getting the are you missing a using directive or assembly refenrence error whenever I try to run my app. I have looked at the other times this question has been asked and can't seem to figure out where I'm going wrong. The thing is that I am extremely new to Visual Studio and am just left blank at what could be the answer. Below here is the class file that's generating the error. I hope I've included everything you need to assist me. Thank you. using System.Collections.Generic; using System.Linq; using System.Configuration; namespace WebConfigDemo public class CompanyConfigSectio