PC Review


Reply
Thread Tools Rate Thread

Cannot deploy or debug with VS2005 or VS2005

 
 
BlackMDK
Guest
Posts: n/a
 
      16th Jan 2008
This is one bizarre problem. Last week I was working on this project with no
problems today I tried to deploy and it said deployed successfully but it
was to fast, I checked device and no it did not deploy. After trying to get
it going for many hours summary is this.

In VS2005 and VS2008 it cannot deploy or debug to any emulator or device (I
have few pocket PC available)

To make thing more confusing after first try menu Deploy in VS is gone, to
get it back you need to close solution ad open it again.

Deploy does not return any error it always comes back immediately saying
success.

Trying to run (F5) will come up with error Unable to start program
'CSIDL_PROGRAM_FILES%\SmartDeviceProject1.

Manually copying all files to device and then try to debug does work

I tried creating new project same story.

Everything works perfect in VS2003, this is just confirmation that nothing
is wrong with ActiveSync or device



Help


 
Reply With Quote
 
 
 
 
Simon Hart [MVP]
Guest
Posts: n/a
 
      17th Jan 2008
Ensure you have selected the project for deploy. Right click your solution
and choose "Configuration Manager" check the deploy checkbox against your
Windows Forms app.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com


"BlackMDK" wrote:

> This is one bizarre problem. Last week I was working on this project with no
> problems today I tried to deploy and it said deployed successfully but it
> was to fast, I checked device and no it did not deploy. After trying to get
> it going for many hours summary is this.
>
> In VS2005 and VS2008 it cannot deploy or debug to any emulator or device (I
> have few pocket PC available)
>
> To make thing more confusing after first try menu Deploy in VS is gone, to
> get it back you need to close solution ad open it again.
>
> Deploy does not return any error it always comes back immediately saying
> success.
>
> Trying to run (F5) will come up with error Unable to start program
> 'CSIDL_PROGRAM_FILES%\SmartDeviceProject1.
>
> Manually copying all files to device and then try to debug does work
>
> I tried creating new project same story.
>
> Everything works perfect in VS2003, this is just confirmation that nothing
> is wrong with ActiveSync or device
>
>
>
> Help
>
>
>

 
Reply With Quote
 
BlackMDK
Guest
Posts: n/a
 
      19th Jan 2008
Thanks for replay, I selected and deselected projects for deploy many times
no diference and like i said created new projects in each version of VS and
for difrent platform and nothing works in VS2005 or VS2008. Evrthing works
in VS2003. So right now as interim solution i have script writen that copies
files to device and it runs on sucessfull build but i would like solution,
im thinkimg that ther is problem with windows registry but who knows.

"Simon Hart [MVP]" <(E-Mail Removed)> wrote in message
news:8B4B55CC-36EA-4411-8865-(E-Mail Removed)...
> Ensure you have selected the project for deploy. Right click your solution
> and choose "Configuration Manager" check the deploy checkbox against your
> Windows Forms app.
> --
> Simon Hart
> Visual Developer - Device Application Development MVP
> http://simonrhart.blogspot.com
>
>
> "BlackMDK" wrote:
>
>> This is one bizarre problem. Last week I was working on this project with
>> no
>> problems today I tried to deploy and it said deployed successfully but
>> it
>> was to fast, I checked device and no it did not deploy. After trying to
>> get
>> it going for many hours summary is this.
>>
>> In VS2005 and VS2008 it cannot deploy or debug to any emulator or device
>> (I
>> have few pocket PC available)
>>
>> To make thing more confusing after first try menu Deploy in VS is gone,
>> to
>> get it back you need to close solution ad open it again.
>>
>> Deploy does not return any error it always comes back immediately saying
>> success.
>>
>> Trying to run (F5) will come up with error Unable to start program
>> 'CSIDL_PROGRAM_FILES%\SmartDeviceProject1.
>>
>> Manually copying all files to device and then try to debug does work
>>
>> I tried creating new project same story.
>>
>> Everything works perfect in VS2003, this is just confirmation that
>> nothing
>> is wrong with ActiveSync or device
>>
>>
>>
>> Help
>>
>>
>>



 
Reply With Quote
 
Simon Hart [MVP]
Guest
Posts: n/a
 
      19th Jan 2008
Are you using an emulator or real device? in VS 2005/2008 ensure you're
device, or emulator is connected to ActiveSync, is this the case when you try
to deploy?
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com


"BlackMDK" wrote:

> Thanks for replay, I selected and deselected projects for deploy many times
> no diference and like i said created new projects in each version of VS and
> for difrent platform and nothing works in VS2005 or VS2008. Evrthing works
> in VS2003. So right now as interim solution i have script writen that copies
> files to device and it runs on sucessfull build but i would like solution,
> im thinkimg that ther is problem with windows registry but who knows.
>
> "Simon Hart [MVP]" <(E-Mail Removed)> wrote in message
> news:8B4B55CC-36EA-4411-8865-(E-Mail Removed)...
> > Ensure you have selected the project for deploy. Right click your solution
> > and choose "Configuration Manager" check the deploy checkbox against your
> > Windows Forms app.
> > --
> > Simon Hart
> > Visual Developer - Device Application Development MVP
> > http://simonrhart.blogspot.com
> >
> >
> > "BlackMDK" wrote:
> >
> >> This is one bizarre problem. Last week I was working on this project with
> >> no
> >> problems today I tried to deploy and it said deployed successfully but
> >> it
> >> was to fast, I checked device and no it did not deploy. After trying to
> >> get
> >> it going for many hours summary is this.
> >>
> >> In VS2005 and VS2008 it cannot deploy or debug to any emulator or device
> >> (I
> >> have few pocket PC available)
> >>
> >> To make thing more confusing after first try menu Deploy in VS is gone,
> >> to
> >> get it back you need to close solution ad open it again.
> >>
> >> Deploy does not return any error it always comes back immediately saying
> >> success.
> >>
> >> Trying to run (F5) will come up with error Unable to start program
> >> 'CSIDL_PROGRAM_FILES%\SmartDeviceProject1.
> >>
> >> Manually copying all files to device and then try to debug does work
> >>
> >> I tried creating new project same story.
> >>
> >> Everything works perfect in VS2003, this is just confirmation that
> >> nothing
> >> is wrong with ActiveSync or device
> >>
> >>
> >>
> >> Help
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
BlackMDK
Guest
Posts: n/a
 
      20th Jan 2008
Yes device is connected (after all once files are copied manuely i can
debug) I have been doing device development for 5 years now and while i had
my share of device not connecting and similar things nothing like this
happend before.

"Simon Hart [MVP]" <(E-Mail Removed)> wrote in message
news:74CE3BDB-F6D3-478C-8F90-(E-Mail Removed)...
> Are you using an emulator or real device? in VS 2005/2008 ensure you're
> device, or emulator is connected to ActiveSync, is this the case when you
> try
> to deploy?
> --
> Simon Hart
> Visual Developer - Device Application Development MVP
> http://simonrhart.blogspot.com
>
>
> "BlackMDK" wrote:
>
>> Thanks for replay, I selected and deselected projects for deploy many
>> times
>> no diference and like i said created new projects in each version of VS
>> and
>> for difrent platform and nothing works in VS2005 or VS2008. Evrthing
>> works
>> in VS2003. So right now as interim solution i have script writen that
>> copies
>> files to device and it runs on sucessfull build but i would like
>> solution,
>> im thinkimg that ther is problem with windows registry but who knows.
>>
>> "Simon Hart [MVP]" <(E-Mail Removed)> wrote in message
>> news:8B4B55CC-36EA-4411-8865-(E-Mail Removed)...
>> > Ensure you have selected the project for deploy. Right click your
>> > solution
>> > and choose "Configuration Manager" check the deploy checkbox against
>> > your
>> > Windows Forms app.
>> > --
>> > Simon Hart
>> > Visual Developer - Device Application Development MVP
>> > http://simonrhart.blogspot.com
>> >
>> >
>> > "BlackMDK" wrote:
>> >
>> >> This is one bizarre problem. Last week I was working on this project
>> >> with
>> >> no
>> >> problems today I tried to deploy and it said deployed successfully
>> >> but
>> >> it
>> >> was to fast, I checked device and no it did not deploy. After trying
>> >> to
>> >> get
>> >> it going for many hours summary is this.
>> >>
>> >> In VS2005 and VS2008 it cannot deploy or debug to any emulator or
>> >> device
>> >> (I
>> >> have few pocket PC available)
>> >>
>> >> To make thing more confusing after first try menu Deploy in VS is
>> >> gone,
>> >> to
>> >> get it back you need to close solution ad open it again.
>> >>
>> >> Deploy does not return any error it always comes back immediately
>> >> saying
>> >> success.
>> >>
>> >> Trying to run (F5) will come up with error Unable to start program
>> >> 'CSIDL_PROGRAM_FILES%\SmartDeviceProject1.
>> >>
>> >> Manually copying all files to device and then try to debug does work
>> >>
>> >> I tried creating new project same story.
>> >>
>> >> Everything works perfect in VS2003, this is just confirmation that
>> >> nothing
>> >> is wrong with ActiveSync or device
>> >>
>> >>
>> >>
>> >> Help
>> >>
>> >>
>> >>

>>
>>
>>



 
Reply With Quote
 
vt
Guest
Posts: n/a
 
      11th Feb 2008

Hi ,

I had this problem too... I think its some memory issue. By setting the
project as Windows Application, there might be some limitation in memory.

Try splitting the project into static library and link it to the
application. I could solve the issue that way. Check it out.... !!!

Regards
Veena
 
Reply With Quote
 
vt
Guest
Posts: n/a
 
      11th Feb 2008

Hi ,

I had this problem too... I think its some memory issue. By setting the
project as Windows Application, there might be some limitation in memory.

Try splitting the project into static library and link it to the
application. I could solve the issue that way. Check it out.... !!!

Regards
Veena
 
Reply With Quote
 
veena.thankachan@gmail.com
Guest
Posts: n/a
 
      14th Feb 2008
Hi ,

I had this problem too... I think its some memory issue. By setting
the project as Windows Application, there might be some limitation in
memory.

Try splitting the project into static library and link it to the
application. I could solve the issue that way. Check it out.... !!!

Regards
Veena
 
Reply With Quote
 
veena.thankachan@gmail.com
Guest
Posts: n/a
 
      14th Feb 2008
Hi ,

I had this problem too... I think its some memory issue. By setting
the project as Windows Application, there might be some limitation in
memory.

Try splitting the project into static library and link it to the
application. I could solve the issue that way. Check it out.... !!!

Regards
Veena







On Jan 21, 12:34 am, "BlackMDK" <BlackATemail.si> wrote:
> Yes device is connected (after all once files are copied manuely i can
> debug) I have been doing device development for 5 years now and while i had
> my share of device not connecting and similar things nothing like this
> happend before.
>
> "Simon Hart [MVP]" <srhart...@yahoo.com> wrote in messagenews:74CE3BDB-F6D3-478C-8F90-(E-Mail Removed)...
>
> > Are you using an emulator or real device? in VS 2005/2008 ensure you're
> > device, or emulator is connected to ActiveSync, is this the case when you
> > try
> > to deploy?
> > --
> > Simon Hart
> > Visual Developer - Device Application Development MVP
> >http://simonrhart.blogspot.com

>
> > "BlackMDK" wrote:

>
> >> Thanks for replay, I selected and deselected projects for deploy many
> >> times
> >> no diference and like i said created new projects in each version of VS
> >> and
> >> for difrent platform and nothing works in VS2005 or VS2008. Evrthing
> >> works
> >> in VS2003. So right now as interim solution i have script writen that
> >> copies
> >> files to device and it runs on sucessfull build but i would like
> >> solution,
> >> im thinkimg that ther is problem with windows registry but who knows.

>
> >> "Simon Hart [MVP]" <srhart...@yahoo.com> wrote in message
> >>news:8B4B55CC-36EA-4411-8865-(E-Mail Removed)...
> >> > Ensure you have selected the project for deploy. Right click your
> >> > solution
> >> > and choose "Configuration Manager" check the deploy checkbox against
> >> > your
> >> > Windows Forms app.
> >> > --
> >> > Simon Hart
> >> > Visual Developer - Device Application Development MVP
> >> >http://simonrhart.blogspot.com

>
> >> > "BlackMDK" wrote:

>
> >> >> This is one bizarre problem. Last week I was working on this project
> >> >> with
> >> >> no
> >> >> problems today I tried to deploy and it said deployed successfully
> >> >> but
> >> >> it
> >> >> was to fast, I checked device and no it did not deploy. After trying
> >> >> to
> >> >> get
> >> >> it going for many hours summary is this.

>
> >> >> In VS2005 and VS2008 it cannot deploy or debug to any emulator or
> >> >> device
> >> >> (I
> >> >> have few pocket PC available)

>
> >> >> To make thing more confusing after first try menu Deploy in VS is
> >> >> gone,
> >> >> to
> >> >> get it back you need to close solution ad open it again.

>
> >> >> Deploy does not return any error it always comes back immediately
> >> >> saying
> >> >> success.

>
> >> >> Trying to run (F5) will come up with error Unable to start program
> >> >> 'CSIDL_PROGRAM_FILES%\SmartDeviceProject1.

>
> >> >> Manually copying all files to device and then try to debug does work

>
> >> >> I tried creating new project same story.

>
> >> >> Everything works perfect in VS2003, this is just confirmation that
> >> >> nothing
> >> >> is wrong with ActiveSync or device

>
> >> >> Help







 
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
Deploy VS2005 Web Site Project =?Utf-8?B?TWFkaXNvbg==?= Microsoft Dot NET Framework 2 6th Aug 2007 04:22 AM
Deploy App with ReportViewer (VS2005) mtczx232@yahoo.com Microsoft Dot NET 3 24th Dec 2006 04:11 PM
Deploy without copying all dll's over and over (VS2005) Buju Microsoft Dot NET Compact Framework 3 1st Dec 2006 02:16 PM
deploy winCE 4.2 under VS2005 Bruno Alexandre Microsoft Dot NET Framework Forms 0 19th Apr 2006 10:27 AM
deploy winCE 4.2 under VS2005 Bruno Alexandre Microsoft Dot NET Framework 0 19th Apr 2006 10:24 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:24 AM.