I have just upgrade my windows phone 8 to windows phone 8.1. When I connect my phone to pc and run my project it gives me
@Ajay, I have ran into exactly the similar problem after upgrading my device to phone 8.1
I have two different machines, Machine1 runs VS2012 Premium with update 3, it prompted for update 4, but some unknown reason I cannot get this update installed on that machine. Machine2 runs VS2013 Professional with Update 1. After deploying an app to 8.1 device, Machine2 can run the debugger successfully, but Machine1 pops the aforementioned error window. I tried @LukkhaCoder approach, but it didn't help.
Edit: You have to run your code in VS2012 update 4 or VS2013 to debug in a 8.1 device.