PC Review


Reply
Thread Tools Rate Thread

Compact Framework Keeps Deploying

 
 
Mobile Application Developer (MAD)
Guest
Posts: n/a
 
      21st Jul 2009
..Net Compact Framework 3.5
Sql Server Compact 2005
Visual Studio 2008
Device: Windows Mobile Processional 6 Classic

Everytime I start runnin g project in debug it deploys all files and it
takes long time to startup. Namely, the files that take most time are --
4>Deploying '%CSIDL_PROGRAM_FILES%\Microsoft SQL Server Compact
Edition\v3.5\Devices\wce500\ARMV4i\sqlce.ppc.wce5.armv4i.CAB'
4>Deploying '%CSIDL_PROGRAM_FILES%\Microsoft SQL Server Compact
Edition\v3.5\Devices\wce500\ARMV4i\sqlce.repl.ppc.wce5.armv4i.CAB'
4>Deploying '%CSIDL_PROGRAM_FILES%\Microsoft SQL Server Compact
Edition\v3.5\Devices\wce500\ARMV4i\sqlce.dev.enu.ppc.wce5.armv4i.CAB'

why does it keep dooing this over and over?

Thanks
 
Reply With Quote
 
 
 
 
Paul Kay
Guest
Posts: n/a
 
      23rd Jul 2009
Go to Project->Properties->Devices and remove tick from 'Deploy the latest
version of the .Net CF (once you have deployed it once to devices that
don't include the latest version)

PK


"Mobile Application Developer (MAD)" <(E-Mail Removed)> wrote in
message news:F0F252DF-D270-4BDD-A7BB-(E-Mail Removed)...
> .Net Compact Framework 3.5
> Sql Server Compact 2005
> Visual Studio 2008
> Device: Windows Mobile Processional 6 Classic
>
> Everytime I start runnin g project in debug it deploys all files and it
> takes long time to startup. Namely, the files that take most time are --
> 4>Deploying '%CSIDL_PROGRAM_FILES%\Microsoft SQL Server Compact
> Edition\v3.5\Devices\wce500\ARMV4i\sqlce.ppc.wce5.armv4i.CAB'
> 4>Deploying '%CSIDL_PROGRAM_FILES%\Microsoft SQL Server Compact
> Edition\v3.5\Devices\wce500\ARMV4i\sqlce.repl.ppc.wce5.armv4i.CAB'
> 4>Deploying '%CSIDL_PROGRAM_FILES%\Microsoft SQL Server Compact
> Edition\v3.5\Devices\wce500\ARMV4i\sqlce.dev.enu.ppc.wce5.armv4i.CAB'
>
> why does it keep dooing this over and over?
>
> Thanks



 
Reply With Quote
 
Mobile Application Developer (MAD)
Guest
Posts: n/a
 
      23rd Jul 2009
Yes, I have done this. It is the reason I am in a quandary. There are two
more projects in solution one c++ and other also .net project. The former one
I does not use sql server anyways and the latter doesn't either regardless it
too is set to NOT Deploy latest version of the .Net CF. I am really puzzled
by this any ideas anyone?



"Paul Kay" wrote:

> Go to Project->Properties->Devices and remove tick from 'Deploy the latest
> version of the .Net CF (once you have deployed it once to devices that
> don't include the latest version)
>
> PK
>
>
> "Mobile Application Developer (MAD)" <(E-Mail Removed)> wrote in
> message news:F0F252DF-D270-4BDD-A7BB-(E-Mail Removed)...
> > .Net Compact Framework 3.5
> > Sql Server Compact 2005
> > Visual Studio 2008
> > Device: Windows Mobile Processional 6 Classic
> >
> > Everytime I start runnin g project in debug it deploys all files and it
> > takes long time to startup. Namely, the files that take most time are --
> > 4>Deploying '%CSIDL_PROGRAM_FILES%\Microsoft SQL Server Compact
> > Edition\v3.5\Devices\wce500\ARMV4i\sqlce.ppc.wce5.armv4i.CAB'
> > 4>Deploying '%CSIDL_PROGRAM_FILES%\Microsoft SQL Server Compact
> > Edition\v3.5\Devices\wce500\ARMV4i\sqlce.repl.ppc.wce5.armv4i.CAB'
> > 4>Deploying '%CSIDL_PROGRAM_FILES%\Microsoft SQL Server Compact
> > Edition\v3.5\Devices\wce500\ARMV4i\sqlce.dev.enu.ppc.wce5.armv4i.CAB'
> >
> > why does it keep dooing this over and over?
> >
> > Thanks

>
>
>

 
Reply With Quote
 
Phil H
Guest
Posts: n/a
 
      24th Jul 2009
Welcome to the wonderful world of CE Embedded development, wher one MS team
writes stuff to sit on top of another team's stuff, without, seemingly,
talking to them about how it all works.

I've just gotten used to the repetetive overkill of file downloading I
guess, as I'd rather it downloaded twice than forgot !

The only thing I can think of is that your target is getting power-reset,
and hence losing its last state ?
I only normally get all the downloads then, not each time I debug.

However, with big projects i.e. ones with many dlls, VS still downloads most
files multiple times !

phil

"Mobile Application Developer (MAD)" wrote:

> Yes, I have done this. It is the reason I am in a quandary. There are two
> more projects in solution one c++ and other also .net project. The former one
> I does not use sql server anyways and the latter doesn't either regardless it
> too is set to NOT Deploy latest version of the .Net CF. I am really puzzled
> by this any ideas anyone?
>
>
>
> "Paul Kay" wrote:
>
> > Go to Project->Properties->Devices and remove tick from 'Deploy the latest
> > version of the .Net CF (once you have deployed it once to devices that
> > don't include the latest version)
> >
> > PK
> >
> >
> > "Mobile Application Developer (MAD)" <(E-Mail Removed)> wrote in
> > message news:F0F252DF-D270-4BDD-A7BB-(E-Mail Removed)...
> > > .Net Compact Framework 3.5
> > > Sql Server Compact 2005
> > > Visual Studio 2008
> > > Device: Windows Mobile Processional 6 Classic
> > >
> > > Everytime I start runnin g project in debug it deploys all files and it
> > > takes long time to startup. Namely, the files that take most time are --
> > > 4>Deploying '%CSIDL_PROGRAM_FILES%\Microsoft SQL Server Compact
> > > Edition\v3.5\Devices\wce500\ARMV4i\sqlce.ppc.wce5.armv4i.CAB'
> > > 4>Deploying '%CSIDL_PROGRAM_FILES%\Microsoft SQL Server Compact
> > > Edition\v3.5\Devices\wce500\ARMV4i\sqlce.repl.ppc.wce5.armv4i.CAB'
> > > 4>Deploying '%CSIDL_PROGRAM_FILES%\Microsoft SQL Server Compact
> > > Edition\v3.5\Devices\wce500\ARMV4i\sqlce.dev.enu.ppc.wce5.armv4i.CAB'
> > >
> > > why does it keep dooing this over and over?
> > >
> > > Thanks

> >
> >
> >

 
Reply With Quote
 
Paul Kay
Guest
Posts: n/a
 
      24th Jul 2009
Is there any indication in your Output window, which project is being
deployed when the other 'unwanted' cabs are deployed.

Also, you say that you are not 'using' SQL Server in the project(s) BUT do
you have a reference to SQL Server in the project(s), as a simple reference
will cause a deployment regardless of whther you actually use the libarry
ref'd

Paul K

"Mobile Application Developer (MAD)" <(E-Mail Removed)> wrote in
message news:7F99A131-A009-4543-9A3C-(E-Mail Removed)...
> Yes, I have done this. It is the reason I am in a quandary. There are two
> more projects in solution one c++ and other also .net project. The former
> one
> I does not use sql server anyways and the latter doesn't either regardless
> it
> too is set to NOT Deploy latest version of the .Net CF. I am really
> puzzled
> by this any ideas anyone?
>
>
>
> "Paul Kay" wrote:
>
>> Go to Project->Properties->Devices and remove tick from 'Deploy the
>> latest
>> version of the .Net CF (once you have deployed it once to devices that
>> don't include the latest version)
>>
>> PK
>>
>>
>> "Mobile Application Developer (MAD)" <(E-Mail Removed)> wrote in
>> message news:F0F252DF-D270-4BDD-A7BB-(E-Mail Removed)...
>> > .Net Compact Framework 3.5
>> > Sql Server Compact 2005
>> > Visual Studio 2008
>> > Device: Windows Mobile Processional 6 Classic
>> >
>> > Everytime I start runnin g project in debug it deploys all files and it
>> > takes long time to startup. Namely, the files that take most time
>> > are --
>> > 4>Deploying '%CSIDL_PROGRAM_FILES%\Microsoft SQL Server Compact
>> > Edition\v3.5\Devices\wce500\ARMV4i\sqlce.ppc.wce5.armv4i.CAB'
>> > 4>Deploying '%CSIDL_PROGRAM_FILES%\Microsoft SQL Server Compact
>> > Edition\v3.5\Devices\wce500\ARMV4i\sqlce.repl.ppc.wce5.armv4i.CAB'
>> > 4>Deploying '%CSIDL_PROGRAM_FILES%\Microsoft SQL Server Compact
>> > Edition\v3.5\Devices\wce500\ARMV4i\sqlce.dev.enu.ppc.wce5.armv4i.CAB'
>> >
>> > why does it keep dooing this over and over?
>> >
>> > Thanks

>>
>>
>>



 
Reply With Quote
 
Mobile Application Developer (MAD)
Guest
Posts: n/a
 
      28th Jul 2009
Well, it's not doing it anymore. I deleted all references and this time made
sure I chose .net3.5 and mobile 6 dlls. I did not notice that there are
different versions there. Maybe I had chose 5.0 or 2.0 dll instead of 6.0
and/or .net 3.5?

Strange, now it is not happening. Thanks! I'll leave this thread open incase
it starts to happen again!

"Paul Kay" wrote:

> Is there any indication in your Output window, which project is being
> deployed when the other 'unwanted' cabs are deployed.
>
> Also, you say that you are not 'using' SQL Server in the project(s) BUT do
> you have a reference to SQL Server in the project(s), as a simple reference
> will cause a deployment regardless of whther you actually use the libarry
> ref'd
>
> Paul K
>
> "Mobile Application Developer (MAD)" <(E-Mail Removed)> wrote in
> message news:7F99A131-A009-4543-9A3C-(E-Mail Removed)...
> > Yes, I have done this. It is the reason I am in a quandary. There are two
> > more projects in solution one c++ and other also .net project. The former
> > one
> > I does not use sql server anyways and the latter doesn't either regardless
> > it
> > too is set to NOT Deploy latest version of the .Net CF. I am really
> > puzzled
> > by this any ideas anyone?
> >
> >
> >
> > "Paul Kay" wrote:
> >
> >> Go to Project->Properties->Devices and remove tick from 'Deploy the
> >> latest
> >> version of the .Net CF (once you have deployed it once to devices that
> >> don't include the latest version)
> >>
> >> PK
> >>
> >>
> >> "Mobile Application Developer (MAD)" <(E-Mail Removed)> wrote in
> >> message news:F0F252DF-D270-4BDD-A7BB-(E-Mail Removed)...
> >> > .Net Compact Framework 3.5
> >> > Sql Server Compact 2005
> >> > Visual Studio 2008
> >> > Device: Windows Mobile Processional 6 Classic
> >> >
> >> > Everytime I start runnin g project in debug it deploys all files and it
> >> > takes long time to startup. Namely, the files that take most time
> >> > are --
> >> > 4>Deploying '%CSIDL_PROGRAM_FILES%\Microsoft SQL Server Compact
> >> > Edition\v3.5\Devices\wce500\ARMV4i\sqlce.ppc.wce5.armv4i.CAB'
> >> > 4>Deploying '%CSIDL_PROGRAM_FILES%\Microsoft SQL Server Compact
> >> > Edition\v3.5\Devices\wce500\ARMV4i\sqlce.repl.ppc.wce5.armv4i.CAB'
> >> > 4>Deploying '%CSIDL_PROGRAM_FILES%\Microsoft SQL Server Compact
> >> > Edition\v3.5\Devices\wce500\ARMV4i\sqlce.dev.enu.ppc.wce5.armv4i.CAB'
> >> >
> >> > why does it keep dooing this over and over?
> >> >
> >> > Thanks
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
deploying compact framework on a pocket pc device Ira Spier Microsoft Dot NET Compact Framework 3 1st Oct 2008 04:02 AM
Deploying .NET Compact Framework 2.0 Applications with .cab and .msiFiles bjasmer@gmail.com Microsoft VB .NET 0 26th Mar 2008 04:07 AM
Any suggestion for directory layout of project support both Full.NET Framework and Compact Framework? ping235 Microsoft Dot NET Framework 2 22nd May 2007 02:35 AM
RE: Problems Deploying Compact Framework =?Utf-8?B?S2FybCBQaWVyYnVyZw==?= Microsoft Dot NET Compact Framework 0 15th Jul 2004 02:06 AM
Re: Problems Deploying Compact Framework Peter Foot [MVP] Microsoft Dot NET Compact Framework 1 14th Jul 2004 08:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:06 AM.