Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can't locate URI /mydll;component/subfolder/mainwindow.xaml

 
Post new topic   Reply to topic    Infralution Support Forum Index -> .NET Encryptor Support
View previous topic :: View next topic  
Author Message
SDaniele



Joined: 18 Jun 2018
Posts: 3

PostPosted: Mon Jan 07, 2019 12:30 pm    Post subject: Can't locate URI /mydll;component/subfolder/mainwindow.xaml Reply with quote

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
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Sat Jan 12, 2019 5:08 am    Post subject: Reply with quote

Unfortunately I don't know the answer to this question. The following thread on stack overflow discusses the issue:

https://stackoverflow.com/questions/3823504/how-to-execute-wpf-assembly-from-memory
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> .NET Encryptor Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group