xUnit test Uwp project get 'Unsupported MRT profile type' exception -


i trying test uwp project xunit.
on create instance of windows.applicationmodel.resources.resourceloader(), exception: unsupported mrt profile type. (exception hresult: 0x80073b20)
example method test:

public int sum(int a, int b) {     var loader = new windows.applicationmodel.resources.resourceloader();     return + b; } 

with mstest test passed.


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

'hasOwnProperty' in javascript -