Home > C Cannot > Configurationmanager Missing

Configurationmanager Missing


Also for the NameValueCollection you have to write: using System.Collections.Specialized; share|improve this answer edited Sep 21 '15 at 8:44 Liam 10.8k104895 answered Dec 3 '09 at 0:43 Kieran 7,56922438 Sorry that I didn't give you more information, I'll try to add more details in the morning. I had to right-click the project and select Add Reference, then pick System.Configuration in the .NET tab. Not the answer you're looking for?

Can I get a dual entry Schengen visa for tourism purpose for me and my wife? Join them; it only takes a minute: Sign up Cannot find ConfigurationManager in class library up vote 0 down vote favorite So, I have a class library that I know will Join them; it only takes a minute: Sign up System.Configuration.ConfigurationManager not available? share|improve this answer answered Aug 13 '09 at 22:05 Dan Diplo 19.7k34164 Assembly details from property window: Name: System.configuration Path: C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.configu‌ration.dll Version: Runtime Version: v2.0.50727 Anything looks suspicious? Visit Website

Configurationmanager Missing

In a company crossing multiple timezones, is it rude to send a co-worker a work email in the middle of the night? Draw some mountain peaks Does a key signature go before or after a bar line? asked 5 months ago viewed 79 times Related 251Can I find out the return value before returning while debugging in Visual Studio654Fixing “The breakpoint will not currently be hit.

Probability of All Combinations of Given Events Is it unethical to poorly translate an exam from Dutch to English and then present it to the English speaking students? I added a reference to System.Configuration, but I cannot find ConfigurationManager in the class library. Find the function given its Fourier series lowercase breadcrumbs Were the Smurfs the first to smurf their smurfs? Without opening the PHB, is there a way to know if it's a particular printing?

You should also see the using statement at the top of your code file already. The Name Configurationmanager Does Not Exist How small could an animal be before it is consciously aware of the effects of quantum mechanics? You could test it out by deleting the reference to your System dll and watching all your code fail. =) –Kieran Sep 2 '10 at 7:07 6 OK. http://stackoverflow.com/questions/1355610/cant-access-the-configuration-manager-from-my-solution Why had Dumbledore accepted Lupin's resignation?

Join them; it only takes a minute: Sign up Can't read keys from App.config up vote 2 down vote favorite I want to read some values from my project's App.config file, Are “Referendum” and “Plebiscite” the same in the meaning, or different in the meaning and nuance? It looks like a bug in C# 4 (Or VS2010) Dreaming a world without any war in anywhere Wednesday, January 12, 2011 6:32 PM Reply | Quote 1 Sign in to The nth numerator Can one bake a cake with a cooked egg instead of a raw one?

The Name Configurationmanager Does Not Exist

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed http://stackoverflow.com/questions/1274852/the-name-configurationmanager-does-not-exist-in-the-current-context On the long term, you should consider refactoring the code. Configurationmanager Missing What's wrong with my code? C# Configurationmanager share|improve this answer edited May 28 '09 at 16:09 answered May 13 '09 at 20:31 Lill Lansey add a comment| up vote 10 down vote accepted urgh - PICNIC error.

Creating a table with FIXED length column widths Does トイレ refer to the British "toilet" or the American "toilet"? Why cast an A-lister for Groot? I'd remove your reference and then try re-adding it, making sure you select from the .NET tab in Visual Studio reference dialogue - the latest version should be in GAC. Without opening the PHB, is there a way to know if it's a particular printing?

Does sputtering butter mean that water is present? Join them; it only takes a minute: Sign up Unable to use C# ConfigurationManager up vote 13 down vote favorite 2 I have the following code: using System.Configuration; namespace test { Anyone know what it is? That resolved the problem ThanksDreaming a world without any war in anywhere Wednesday, January 12, 2011 7:13 PM Reply | Quote 0 Sign in to vote What I told u?

Does The Amazing Lightspeed Horse work, RAW? it must be something else –wodzu Apr 25 '13 at 8:24 Is it possible, that a different config file is beeing used for debugging? –wodzu Apr 25 '13 at no longer the deprecated) reference in your code everywhere you're using ConfigurationSettings.AppSettings["mySetting"] Of course, keep in mind that this is a quick hack.

Browse other questions tagged c# .net visual-studio visual-studio-2008 or ask your own question.

But it was. –Don Rolling Jan 29 '15 at 23:10 1 @DonRolling annoying isn't it :D? Why are password boxes always blanked out when other sensitive data isn't? Making a large file using the terminal n-dimensional circles! Why was Susan treated so unkindly?

Add this to your project and you should be up and running. See below. –Hatem Oct 18 '12 at 7:23 2 on #1 - under your project, right click on references, click add reference, and the System.Configuration.dll should be available on the So I was getting a bit confused because I had thought I had a reference, but in reality the data project was missing the reference. By default, some project templates, like Console Application, do not reference this assembly so you must manually reference it.


© Copyright 2017 mediastartpage.com. All rights reserved.