Hi all,

In my startup module for my app I'm trying to accomplish a couple of things and I'm running into an imports error. The first thing I'm doing is checking for a valid internet connection. The next thing is reading the app.config file.

I'm Importing Systems.Net to allow the checking for the internet. The problem is when I add the systems.net import I get an error in the code for the config file:

VB Code:
  1. Dim startTable as IDictionary = CType(Configuration.ConfigurationSettings.GetConfig("start"),IDictionary)

I'm getting "ConfigurationSettings is not a member of Configuration" (blue squiggly line under Configuration.ConfigurationSettings)

However, if I remove the Imports System.Net reference then the Configuration.ConfigureSettings error goes away.

In msdn help for "Imports Statement" it says: It is not permitted to define a member at module level with the same name as an import alias.
Maybe this has something to do with it?

Any ideas why this would be happening?