Hey Guys,
I want to make usage of the Ionic.Zip dll in my Stub. I have added the dll as reference and as resource to my project, also I have referred to it in the compiling sub of the builder :
This code stands at the beginning in the Stub.txt, after the assembly declaration :
When I try to build the file I get the error : "Ionic_Zip" is no member of "My.Resources". Any help is appreciated, thanks.
I want to make usage of the Ionic.Zip dll in my Stub. I have added the dll as reference and as resource to my project, also I have referred to it in the compiling sub of the builder :
Code
objCompilerParameters.ReferencedAssemblies.Add("Ionic.Zip.dll")Code
Namespace My
Partial Friend Class MyApplication
Private WithEvents Domaene As AppDomain = AppDomain.CurrentDomain
Private Function Domaene_AssemblyResolve(ByVal sender As Object, ByVal args As System.ResolveEventArgs) As System.Reflection.Assembly Handles Domaene.AssemblyResolve
If args.Name.Contains("Ionic.Zip") Then
Return System.Reflection.Assembly.Load(Resources.Ionic_Zip)
Else
Return Nothing
End If
End Function
End Class
End NamespaceWhen I try to build the file I get the error : "Ionic_Zip" is no member of "My.Resources". Any help is appreciated, thanks.


