Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

Testing UWP app fails to start #137

Open
Anil86 opened this issue Mar 27, 2020 · 1 comment
Open

Testing UWP app fails to start #137

Anil86 opened this issue Mar 27, 2020 · 1 comment

Comments

@Anil86
Copy link

Anil86 commented Mar 27, 2020

I'm looking to test UWP app.
When I run the app, following error occurs:

image

Output Debug window shows following error:
The program [14520] XunitWithUWP.exe has exited with code -1073741189 (0xc000027b).
The program [14520] XunitWithUWP.exe: Program Trace has exited with code 0 (0x0).
Activation of the Windows Store app 1831907a-1fae-4a7e-8ebf-ec7ec0ecefe1_52622b6agvany!App failed with error Operation not supported. Unknown error: 0x80040905.

I've created a sample repo.

Testing Android is working.

@alariois
Copy link

alariois commented Apr 24, 2020

You are missing a SDK reference to TestPlatform.Universal

Edit XunitWithUWP.csproj file and add

<ItemGroup>
  <SDKReference Include="TestPlatform.Universal, Version=$(VisualStudioVersion)" />
</ItemGroup>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants