I'm trying to access the StoreRequestHelper
class from with a WPF application via desktop-bridge. I've followed the instuctions here: https://blogs.windows.com/buildingapps/2017/01/25/calling-windows-10-apis-desktop-application/#JP6H2BjHQoLxE5GS.97 and I am able to successfully call other UWP methods such as Windows.System.Launcher.LaunchUriAsync(uri)
. I've also downloaded the sample project here which uses the assembly I'm looking for. As far as i can tell, I have all the correct references but I'm still getting this error. Would anyone be able to assist?
I was wrong about the instuctions I followed. I followed the instructions here: https://learn.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-enhance which seems to somehow cause an issue. I removed all references and re-added them from the other article (https://blogs.windows.com/buildingapps/2017/01/25/calling-windows-10-apis-desktop-application/#JP6H2BjHQoLxE5GS.97) and that seemed to sort everything.