Imports System.Xml In VS 2010

P

PvdG42

OK, I tried the web forums, but since the real gurus hang out here...

This has to be me, but I'm stumped :-(

I'm setting up a simple XML read-write demo (VB Winforms) in Visual Studio
2010 Premium (tried in both the RC and RTM) and added:

Imports System.Xml

Result: Error Namespace or type doesn't contain any public members or cannot
be found...

VS 2008 equivalent example recognizes the Imports statement fine.

Note: I tried this with the app targeting both .Net 3.5 and 4.0. Same result
(two different PC's).

Any advice much appreciated (and, I'll accept any "dummy" comments along
with it)
 
P

PvdG42

PvdG42 said:
OK, I tried the web forums, but since the real gurus hang out here...

This has to be me, but I'm stumped :-(

I'm setting up a simple XML read-write demo (VB Winforms) in Visual Studio
2010 Premium (tried in both the RC and RTM) and added:

Imports System.Xml

Result: Error Namespace or type doesn't contain any public members or
cannot be found...

VS 2008 equivalent example recognizes the Imports statement fine.

Note: I tried this with the app targeting both .Net 3.5 and 4.0. Same
result (two different PC's).

Any advice much appreciated (and, I'll accept any "dummy" comments along
with it)

Please ignore!
Project-unique anomaly. Creating a new project and importing the forms from
the old one solved the problem.
 

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

Top