CF Service Pack and VS .NET 2003

M

Mike

Is there a way to get VS .NET 2003 to automatically deploy the CF Service
Pack when it deploys your app?
 
P

Peter Foot [MVP]

Yes and no but its not recommended. Visual Studio doesn't check the version
of a runtime present but just whether it is present or not. If not it will
install the cab from one of the processor specific folders e.g.
C:\Program Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\arm

If you have the developer redistributables for SP2 then you can place the
cab files in the equivalent folders. The limitation of this approach is that
it will not upgrade devices it will merely install SP2 if no framework is
present on the device. This approach is also not supported by Microsoft and
may break other features so I really can't recommend it.

Peter
 
M

Mike

Thanks for the info. I will try it.

If VS doesn't check the version number, then why do I get the following
messages when I deploy to my PPC 2003 with CF SP2?
Files in the package 'netcf.all.wce4.armv4.cab' are more recent on the
device than on the development computer. Consider upgrading to the latest
version. Files affected are:

Microsoft.windowsce.forms.dll

Microsoft.visualbasic.dll

System.data.dll

System.net.irda.dll

System.xml.dll

System.windows.forms.datagrid.dll

System.windows.forms.dll

System.web.services.dll

System.drawing.dll

System.dll

Mscorlib.dll

Netcfagl1_0.dll

Cgacutil.exe

Mscoree1_0.dll

Mscoree.dll
 
M

Mike

----------------------------------------------------------------------------
--------------
http://support.microsoft.com/default.aspx?scid=kb;en-us;330971
Incorrect Deployment Warning

When you deploy a SQL Server CE 2.0 application to a Pocket PC device, you
might receive a warning with the following error text:


Files in the package 'sqlce.ppc3.arm.cab' are more recent on the device than
on the development computer. Consider upgrading to the latest version. Files
affected are: Sscemw20.dll


The warning is wrong and you can ignore it. The file on the device is
actually correct, as is the one in the .cab file on the desktop.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top