Suppression State Error DEP0001 : Unexpected Error: -2145615869

I get that error every time I make changes to the code and then try to run it.

I have to exit VS2015 and restart to get it to work again.

Looks like it could be an issue with incremental re-deploy. Try turning off incremental deployment in the project properties. Go to project properties -> Debug and check the box that says ‘uninstall and re-install…’

You may find that you can resume incremental deployments after doing that once.

Tried that and still the same.

If I exit VS2015 and the restart it, things are fine.

This is repeatable. I open studio, load the programme, run it on the PI and then stop it and when I try to run again without doing any changes, I get this error.


No. I simply hit STOP in the debugger and then try to run it again. It is still connected as I can open the browser view.

The only fix I have found so far is to exit VS and restart it. Not very productive.