SDaniele
Joined: 18 Jun 2018 Posts: 3
|
Posted: Mon Jan 07, 2019 12:30 pm Post subject: Can't locate URI /mydll;component/subfolder/mainwindow.xaml |
|
|
I have a problem with my application. I encrypted 3 dll and i'm using the method AssemblyLoader.LoadAssemblyFromFile to decrypt and get the assembly back. So far so good, but when .Net try to launch a window from one of those dll, i get this error. Now, i know that there is a workaround that consist in adding in the App.Xaml a global dummy resource, but my problem is that i don't have an app.xaml, since this window is not inside an application, but in a class library. How can i solve my problem?
Note that of course this scenario won't happen if i use my dll not encrypted |
|