D
datamodel
Hello,
This post contains two questions that have to do with porting a VS2003
smartdevice project to VS2005. Something that I couldn't accomplish.
Any input, pointers, links, instructions, suggestions would be of great
help. Thanks.
1. This project was built using VS2003 for a PDT running CE4.2 . When
opened in VS2005,
it was "successfully" converted but it fails to compile with errors
reported for every
reference to a System.Data.SqlServerCe object in the code. e.g.,
Error 26 The type or namespace name 'SqlCeDataReader' could not be
found (are you missing a using directive or an assembly reference?)
and,
Error 27 The type or namespace name 'SqlCeCommand' could not be found
(are you missing a using directive or an assembly reference?)
I removed old references (to VS2003 dll's) like System.Data,
System.Data.Common and System.Data.SqlServerCe, and System.ceClient
and I added a reference to System.Data.dll , but I'm NOT SURE what is
the correct path to use. Is it
C:\Program Files\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\v2.0
or is it
C:\Program Files\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\v1.0
???
The path
C:\Program Files\Microsoft Visual Studio
8\SDK\v2.0\CompactFramework\WindowsCE
does not contain any dll's.
Anyway, the code doesn't compile either.
2. The second issue is that in the Project's Properties, in the
"Devices" page ,
I found that the only CE "Target device" was "Windows CE 5.0".
Unfortunately, the application is meant to be deployed on devices
running WCE4.2.
So does this mean that VS2005 no longer supports development for the
CE42 platforms?
Thanks for reading and for any light you can shed on this issue.
Data.
This post contains two questions that have to do with porting a VS2003
smartdevice project to VS2005. Something that I couldn't accomplish.
Any input, pointers, links, instructions, suggestions would be of great
help. Thanks.
1. This project was built using VS2003 for a PDT running CE4.2 . When
opened in VS2005,
it was "successfully" converted but it fails to compile with errors
reported for every
reference to a System.Data.SqlServerCe object in the code. e.g.,
Error 26 The type or namespace name 'SqlCeDataReader' could not be
found (are you missing a using directive or an assembly reference?)
and,
Error 27 The type or namespace name 'SqlCeCommand' could not be found
(are you missing a using directive or an assembly reference?)
I removed old references (to VS2003 dll's) like System.Data,
System.Data.Common and System.Data.SqlServerCe, and System.ceClient
and I added a reference to System.Data.dll , but I'm NOT SURE what is
the correct path to use. Is it
C:\Program Files\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\v2.0
or is it
C:\Program Files\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\v1.0
???
The path
C:\Program Files\Microsoft Visual Studio
8\SDK\v2.0\CompactFramework\WindowsCE
does not contain any dll's.
Anyway, the code doesn't compile either.
2. The second issue is that in the Project's Properties, in the
"Devices" page ,
I found that the only CE "Target device" was "Windows CE 5.0".
Unfortunately, the application is meant to be deployed on devices
running WCE4.2.
So does this mean that VS2005 no longer supports development for the
CE42 platforms?
Thanks for reading and for any light you can shed on this issue.
Data.