Dataset designer generated code errors

D

dev100

I have converted from a .net cf 3.5 project to .net cf using VS2008. Im
getting some errors
with the compiled code of the DataSet designer when i recompile the .net cf
2.0 project.
Errors are TypedTableBase, SqlserverCE , Linq classes are not recognised.The
database
used is a sql server CE 3.5. I have left this as is. The automatically
generated code is
generating the use of these classes. I need to get rid of these errors, i
would have
thought recompiling the project targeted at the .net cf2 would cause the
dataset
designer to generate code compatible with V2.0.

How do to do this, do i need to rebuild the dataset, re-enter etc?



__________ Information from ESET Smart Security, version of virus signature database 4087 (20090519) __________

The message was checked by ESET Smart Security.

http://www.eset.com
 
G

Ginny Caughey MVP

I'd try regenerating the typed DataSets for a 2.0 project. Compiling the C#
or VB code already generated doesn't cause the source code to be regenerated
from the database, as you found.
 
G

Ginny Caughey MVP

I'd try regenerating the typed DataSets for a 2.0 project. Compiling the C#
or VB code already generated doesn't cause the source code to be regenerated
from the database, as you found.
 

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