|
Home > Archive > MS SQLCE > August 2005 > Can't add sql mobile reference and upgrade vb.net app to 2005
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Can't add sql mobile reference and upgrade vb.net app to 2005
|
|
|
| hello...
I have a vb.net app that was originally built with VS.Net 2003. I am
upgrading to VS.Net 2005 and SQL Mobile. I removed some of the old sql
server ce references and have been trying to simply add references to the new
sql mobile dll's...but I cannot get this work.
I looked through the BOL and I cannot find anything to help either.
The references get added correctly, but my solution won't build...lots of
errors complaing about "Unable to load referenced library", etc.
The two DLLs I added are:
C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\S
QL
Server\Client\v2.0\System.Data.SqlClient.dll
C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\S
QL
Server\Mobile\v3.0\System.Data.SqlServerCe.dll
Can anyone tell me what I am doing wrong here?
thanks
- will
| |
| Darren Shaffer 2005-08-09, 8:25 pm |
| the behavior here differs depending on the version of VS2005 you
are using (Beta 2, June CTP, July CTP) and it doesn't work until you
are at least on June CTP from what I've seen. To be honest with you,
the fastest way to do this is create a new project in VS2005, add
references to the same DLLs and then bring over your VS2003
classes by hand.
--
Darren Shaffer
..NET Compact Framework MVP
Principal Architect
Connected Innovation
www.connectedinnovation.com
"dw" <dw@discussions.microsoft.com> wrote in message
news:5A803B32-4744-47E7-AB1F- 74252F8BFDFB@microso
ft.com...
> hello...
>
> I have a vb.net app that was originally built with VS.Net 2003. I am
> upgrading to VS.Net 2005 and SQL Mobile. I removed some of the old sql
> server ce references and have been trying to simply add references to the
> new
> sql mobile dll's...but I cannot get this work.
>
> I looked through the BOL and I cannot find anything to help either.
>
> The references get added correctly, but my solution won't build...lots of
> errors complaing about "Unable to load referenced library", etc.
>
> The two DLLs I added are:
> C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\S
QL
> Server\Client\v2.0\System.Data.SqlClient.dll
>
> C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\S
QL
> Server\Mobile\v3.0\System.Data.SqlServerCe.dll
>
> Can anyone tell me what I am doing wrong here?
>
> thanks
> - will
|
|
|
|
|