PC Review


Reply
Thread Tools Rate Thread

Configuration error at compile-time

 
 
zdrakec
Guest
Posts: n/a
 
      19th Aug 2005
Hello all:
I have a small class, the project file references the system.dll, the
class imports System.Configuration. There is a line in the class which
states:

Dim test As String =
System.Configuration.ConfigurationSettings.AppSettings.Get("test")

At compile time, I am getting the following error:

error BC30456: 'Configuration Settings is not a member of
'Configuration'.

Now, in the IDE, the design-time compiler checking is quite happy with
the code, and the code completion fuzzies display ConfigurationSettings
for me just fine.

Any thoughts?
Thanks much,
zdrakec

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile Time Error Ruben Monteiro Microsoft Dot NET Framework Forms 1 27th Dec 2006 07:55 AM
creating a compile time error... is it possible? ThunderMusic Microsoft Dot NET 9 22nd Aug 2006 10:34 AM
Compile-Time Configuration? acoots@gmail.com Microsoft C# .NET 1 12th Jul 2006 07:24 AM
VBAProject name compile error, not defined at compile time Matthew Dodds Microsoft Excel Programming 1 13th Dec 2005 07:17 PM
Checking active solution configuration at compile time =?Utf-8?B?TWljaGFlbA==?= Microsoft VC .NET 3 28th Jun 2004 11:11 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:37 AM.