UWP Windows 10 desktop bridge issue: Win 32 application has runtime issue when trying to import dll.

  • Thread starter Thread starter SandeepNagaraj1000
  • Start date Start date
S

SandeepNagaraj1000

Guest
Hi,

I want to use a dll in my UWP app. I have created a bridge (followed the example AppServiceBridgeSample, Microsoft/DesktopBridgeToUWP-Samples ). It contains a BackgroundProcess which is c# console application. UWP uses the bridge to communicate with console application.
Issue:


  1. If I reference a dll in BackgroundProcess , I get the error "System.IO.FileException, Could not load assembly or File", when I am running the UWP app.
    Please let me know what is the right way to add a dll in BackgroundProcess so that we can use it the UWP app.
    PS: The Background process with the dll works fine when run as standlone application. But when communicating via the Bridge, the above exception is thrown ( "System.IO.FileException, Could not load assembly or File") .

Continue reading...
 
Back
Top