Link to home
Start Free TrialLog in
Avatar of Dominic34
Dominic34Flag for Canada

asked on

"unable to start debugging" for Pocket PC project in VB 2008

Hi,

When launching an application in VB 2008 (XP Pro Sp2, VS 2008 SP1), I get the error "unable to start debugging". Visual Studio says the project has been successfully deployed (although nothing have been copied on the device) and then, the error pop up. Device is running Mobile 6.0. My project uses Windows Mobile 5.0 Pocket PC Device. Visual Studio connect successfully with the pocket pc (active sync is also fine).

any idea?

thanks for your time and help
Avatar of alexey_gusev
alexey_gusev
Flag of United Kingdom of Great Britain and Northern Ireland image

it might be due to many reasons, like dlls or wrong folders, and also you could check this:

http://www.keyongtech.com/5173199-unable-to-start-debugging

does it happen with all project, wm6 and wm5?

Avatar of Nasir Razzaq
In the devices tab of the Project Properties, there is an option which states: "Deploy the latest version of the .NET Compact Framework (including Service Packs). Is it ticked?
Avatar of Dominic34

ASKER

CodeCruiser, yes it's ticked.

alexey: thanks for the links but I already seen it and it didn't help me.

this is happening since I upgraded the project from VS 2005 to VS 2008. don't know if it's related. anyway, since then, breakpoints, which used to work fine, no longer works at all. it's becoming really frustrating
hmm, cf.net SPs, VS2008 SPs etc are installed?
yes, everything is installed. If I start a new smart device project from scratch in VS 2008, it works fine. And I check the differences between both projects and I can't find any. Both configuration is identicals...
you mean you've binary compared ALL files between 2 projects? project file, solution, user settings etc etc?
it might be just Guid of the platform is wrong somewhere
I mean I compared all the settings and configuration. everything is identical.

We had the problem on 3 different computers since we upgraded the project, nothing was working. So, I started a new project from scratch, added all the objects, rebuild and redeploy and it works fine now.

is it to say that upgrading a smart device project from VS 2005 is not good??!
ASKER CERTIFIED SOLUTION
Avatar of alexey_gusev
alexey_gusev
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
well ok then!! thanks for the help!! :-)