tl;dr version:
I get the error mentioned in the headline, developing for Windows 8 in VS.NET 2012, even when my license is fine. It seems to have more to do with file deployment conflicts. Restarting fixes it.
Full version:
So here’s a head scratcher that I have encountered, doing Windows 8 development. I have some MSTest integration tests set up to interact with Sqlite. They are contained in a standard Unit Test Library for Windows 8 store apps. Every time a test fails, (which was often, since it is a standard part of my workflow), one of two things will happen:
- The screen goes blank and does nothing until I navigate somewhere
- When I restart the tests (or app), any test data in the Sqlite file will be blown out; a new database file will be written
- Or, trying to run tests again throws the following error:
In looking for a fix, I paid attention to what the text of the error was telling me; that there was a problem with the developer license. That wasn’t the case; I rely on Visual Studio to manage my developer license, and it seemed to think everything was just fine.
Notice from the error’s graphic, I was given three error codes to chase down:
- DEP0700
- 0x80073D05
- 0x80073CF6
#1 and #3 are Windows 8 specific – reading the documentation on them didn’t lead to any breakthroughs.
0x80073D05 seems to the richer source of information. This looks like a native code error, dealing with an inability to delete files. In fact, I’ve had sporadic luck when I go into the folder C:\Users\<username>\AppData\Local\Packages and delete files associated with my unit test project (the folder is generally named with a guid).
But the problem does get fixed 100% of the time when I restart the machine. Kind of a pain; I find myself writing tests that don’t initially fail. The main message I’m trying to convey – don’t necessarily believe the information about the developer license when you get this error.