Dataset designer generated code errors

  • Thread starter Thread starter dev100
  • Start date Start date
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
 
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.
 
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.
 
Back
Top