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

javascript - Knockout pushing observable and computed data to an observable array -

Trouble making a JSON string -

sitecore - Resolve ISitecoreService using SimpleInjector -