error while deploying application on emulator

M

Murtuza

initially every thing was working fine but not when I try run my application
on emulator I am getting the below error. It works fine on the square
emulator. I tried restarting the application but did't work.

Error 1 Deployment and/or registration failed with error: 0x8973190e. Error
writing file
'%csidl_program_files%\testui\microsoft.windowsmobile.samples.location.dll'.
Error 0x80070020: The process cannot access the file because it is being used
by another process.
Device Connectivity Component
 
V

Viral

Hello Chris,

I am also sometime facing the same problem (sometime only). I have used this
sample microsoft.windowsmobile.samples.location.dll in my project and
sometime it gives problem. I have observed that even if application is not
running, VS gives this error. I suspect that this dll opens some threads and
those are not stopped properly when application is closed.

Please suggest.

Thanks,
Viral
 
C

Chris Tacke, eMVP

That is exactly what happens, so that means te app *is* still running. Just
becasue it's not in the "running programs" list doesn't mean it's not
running. Use the Remote Process Viewer and you'll see it (and can kill it).


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
 

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