Hi,
I'm attempting to generate code for a Compact Framework project based on a SQLServer database that's also present on a HP iPaq running SQLServerCE 2.0.
I generate the code from the SQL database schema using the 'SelfServicing 2 class scenario (Full/Safe) vs.net 2003 CF.NET' configuration and the 'C# SQLServerCe and CF.Net (PocketPC) template set. No problems. (I realise that you recommend the adapter configuration, I'm testing the relative speeds of the 2 options on the PDA).
When I open the generated project file in VS 2003, I recieve 2 error messages:
The .Net assembly 'SD.LLBLGen.Pro.ORMSupportClasses.CF11' could not be found.
The .Net assembly 'SD.LLBLGen.Pro.DQE.SqlServerCE.CF11' could not be found.
Once past these errors, the project loads but without the above references.
I them attempt to add them - none of the SD..... .Net components are listed (which seems odd as I would have thought that components available for the target platform would appear in the list), the only way to add the references is to Browse for the DLL's (c:\Program Files\Solutions Design\LLBLGen Pro\RunTimeLibraries\DotNet11... - this path is the same as the one specified in the generated project file HintPath attribute)
I then receive a warning:
The reference 'SD.LLBLGen.Pro.DQE.SqlServerCE.CF11.dll' may or may not be valid for the active platform. Add references with care to ensure your application will run correctly.
If I generate code for a standard Windows app target, I do not get these problems. Any ideas what may be causing this issue? It in itself is fairly minor, however I am having major problems with some code that is using LLBLGen generated code on the PDA and I would like to get this minor problem sorted, just in case it is partially responsible for the runtime problems I'm having - which I will post about once this is resolved
I'm using:
Visual Studio 2003
LLBLGen 1.0.2005.1 Final (Jan 12th, 2006) Designer/Generator
CF11 DQE DLL 1.0.2005.1
CF11 ORMSupportClasses DLL 1.0.2005.1
.Net Framework 1.1 SP1
OpenNetCF SDF v1.4
SQLCE 2.0
I have just installed these onto a clean system, to ensure that I've not introduced conflicts.
Any ideas???? I've spent ages trying to get to the bottom of this!
Thanks!!!