Build Class Library That Contains Typed DataSets

I'm trying to build a class library that i can share among a bunch of other projects/solutions.  I have about 10 vb files in it then I have about 6 xsd files that define typed datasets being referenced in a few of the vb files.  Anyway, it took me a while just to be able to get intellisense not to balk at my configuration.appsettings but now it's not happy with any of my xsd files.  What am i missing?
davidcahanAsked:
Who is Participating?
 
Bob LearnedConnect With a Mentor Commented:
The class library project type works differently than the Web Site project.  If you want to see the XML, then you need to right-click the .xsd file, and select "Open With" and "Source Code Editor".
0
 
Bob LearnedCommented:
I don't know...what are you missing?
0
 
davidcahanAuthor Commented:
well....why is it balking at my xsd files and my calls to those "datasets"
0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

 
Bob LearnedCommented:
What do you mean by "balking"?  Are you getting run-time exceptions or design-time compiler errors?
0
 
davidcahanAuthor Commented:
design time compiler erros
0
 
Bob LearnedCommented:
Now, what are those errors?
0
 
davidcahanAuthor Commented:
for each of my Functions where i'm returning an instance of one of my typed datasets, I get a compiler error that says dsFoo is not defined (where dsFoo.xsd is one of my Typed Datasets and dsFoo is also the name of the "table" in that DataSet)

so Public Function SelectFoo() as dsFoo   tells me that dsFoo is not defined.
0
 
Bob LearnedConnect With a Mentor Commented:
Do you have an Imports at the top of the class module to short-cut the reference for the Namespace that is generated for the typed DataSet?

Example:

Imports AdventureWorksDataSet
0
 
davidcahanAuthor Commented:
no
0
 
davidcahanAuthor Commented:
so in my example it would be

Imports dsFoo

0
 
davidcahanAuthor Commented:
actually, something strange....i right click on dsFoo.xsd expecting to see XML and I don't instead it opens dsFoo.vb?  this is not what happens when i click on the same file in my web site project in my app_code folder.  
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.