Reputation: 4637
I'm running into an issue in running unit tests in a Universal Windows Platform unit test library. Specifically, I'm getting the following error message:
Test adapter sent back a result for an unknown test case. Ignoring result for [unit test method name]
Here are the things I've tried, but to no avail:
Are there other things I can check for?
Edit: Some more environment-specific items that hopefully will shed more light on the issue:
Upvotes: 1
Views: 601
Reputation: 4637
I figured out my issue. It turns out I had at one point removed the following, critical attribute from the unit test project's AssemblyInfo
file:
[assembly: AssemblyMetadata("TargetPlatform", "UAP")]
Once I added it back in, the unit tests executed.
d'oh!
Upvotes: 1