[Mono-dev] problem with mkbundle on Windows

Rakshas rakshas2000 at inbox.ru
Mon Mar 2 12:09:43 EST 2009


Thanks for reply :)

Yes, dlls have native dependencies. I thought that it could be a problem.
But how to mkbundle only system-level assemblies? I thought it would be ok,
if dlls will be just placed in the same folder, because I call mkbundle only
for .exe file.

Though I used --deps. And as I understand, mkbundle tried to include all
necessary dlls? But in --nodeps mode result is the same. And I also should
copy all dlls from Mono/2.0/ to folder with my program (mb not all; at
least, some of them. I haven't checked, which dlls are necessary)

So. Is there any way to mkbunlde only system assemblies? And can be there
any other problem?

--
Best Regards,
Andrej Efimov


Rafael Teixeira wrote:
> 
> Does the third-party dlls, have native dependencies (P/Invokes) or use
> reflection to load other dlls? Both things will work against what mkbundle
> tries to do. Nevertheless you can mkbundle just your main app and
> system-level assemblies and have all yours and third=party dlls installed
> in
> the same directory instead of being inside the bundle and it should work.
> 
> :)
> 
> -- 
> Rafael "Monoman" Teixeira
> ---------------------------------------
> "I myself am made entirely of flaws, stitched together with good
> intentions."
> Augusten Burroughs
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
> 

-- 
View this message in context: http://www.nabble.com/problem-with-mkbundle-on-Windows-tp22246733p22292162.html
Sent from the Mono - Dev mailing list archive at Nabble.com.



More information about the Mono-devel-list mailing list