Friday, March 07, 2008 - Posts

Using LINQ to SQL with SQL Server Compact Edition

If you try to drag tables from the Server Explorer of Visual Studio 2008 to the designer surface of the Link-to-SQL designer you'll probably be surprised to see the error message stating:

"The selected object(s) use an unsupported data provider"

However you can use SqlMetal.exe to generate the .dbml file manually (obviously: command line instead of drag & drop).

with 0 Comments

INFO: Edit and Continue works only against .NET apps that target 32-bit (x86)

You cannot use Edit and Continue on a Windows 64-bit machine by default.

Workaround: For development and testing change the target platform from "Any CPU" to "x86" in order to get Edit and Continue support.

with 1 Comments

Workaround: Unable to load DLL 'sqlceme35.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

If you get that nice error message change your solution configuration to target 32-bit (x86) using configuration manager.

For more information read this.

with 0 Comments