Cannot deploy or debug with VS2005 or VS2005

B

BlackMDK

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
 
S

Simon Hart [MVP]

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.
 
B

BlackMDK

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.
 
S

Simon Hart [MVP]

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
 
B

BlackMDK

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.
 
V

vt

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
 
V

vt

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
 
V

veena.thankachan

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
 
V

veena.thankachan

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
 

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