Adding reference System.Configuration to a web project: not possible!Why?

  • Thread starter Thread starter =?ISO-8859-15?Q?Roland_M=FCller?=
  • Start date Start date
?

=?ISO-8859-15?Q?Roland_M=FCller?=

Hi,

the warning in VS2005 says:
System.Configuration.ConfigurationSettings.AppSettings is obsolete, use
System.Configuration.ConfigurationManager.AppSettings instead.

Ok, i wanted the change this, knowing the ConfigurationManager is
located in the assembly System.Configuration.dll.

I go to project references (why does this dialog look other then in
windows forms projects??? strange!!!) and want to add the assembly
System.Configuration.dll! I click on "Add reference..." then i choose
the assembly in the list being on the tab ".NET". So i select the
Component Name "System.Configuration" and click "OK".

Nothing happens! Nothing! No error message, nothing.
I cannot use the class System.Configuration.ConfigurationManager because
i cannot add the needed reference to my web project.

So what goes wrong??? Is this a bug? The project uses framework 2 and it
is visual studio Team Suite!
I tried creating a new web project using the VS-wizzard but same problem.

Please help, microsoft, this is strange.


Thanks in advance, Roland
 
Is it possible you are attempting to reference the v1.1 version of
System.Configuration? Check the version info on the reference you are adding.
 
Hi Brad,

no it is for sure the version 2 of the assembly!
Version: 2.0.0.0
Runtime: v2.0.50727
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top