SqlTypes

  • Thread starter Thread starter Graham McKechnie
  • Start date Start date
G

Graham McKechnie

Hi,

I'm trying to bring in an existing project into Beta 2, but I get an error
SqlTypes doesn't exist in System.Data.

The project as it converted is referencing System.Data [1.0.5000.0]. We do
we know get System.Data.SqlTypes without going to System.Data[2.0.0.0]?

Shouldn't the conversion process handle this automatically.

Graham
 
System.Data.SqlTypes has been moved from System.Data.Common.dll to
System.Data.dll to match desktop.

If your project has some modules referencing System.Data.Common.dll, these
modules should be removed.



Most likely you're trying to use SQL CE or SQL Client data providers from V1
in V2 project. That's not supported.

To fix this problem please remove references to data providers from V1 and
replace them with V2 references.



It might be beneficial to start a new project and add all files from an old
one instead of using conversion.


Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
Ilya,

Thanks for your help, I've got it sorted out now. The Change Target Platform
in the solution explorer did it all automatically. I'm surprised you didn't
mentioned that one.

Graham


Ilya Tumanov said:
System.Data.SqlTypes has been moved from System.Data.Common.dll to
System.Data.dll to match desktop.

If your project has some modules referencing System.Data.Common.dll, these
modules should be removed.



Most likely you're trying to use SQL CE or SQL Client data providers from
V1 in V2 project. That's not supported.

To fix this problem please remove references to data providers from V1 and
replace them with V2 references.



It might be beneficial to start a new project and add all files from an
old one instead of using conversion.


Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no
rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

Graham McKechnie said:
Hi,

I'm trying to bring in an existing project into Beta 2, but I get an
error SqlTypes doesn't exist in System.Data.

The project as it converted is referencing System.Data [1.0.5000.0]. We
do we know get System.Data.SqlTypes without going to
System.Data[2.0.0.0]?

Shouldn't the conversion process handle this automatically.

Graham
 
Back
Top