简体   繁体   中英

How to reference embedded dll from single Costura Fody dll

I installed Costura Fody via Nuget and embedded the appropriate dll's into one single dll. From the output window I can see that this is a success

在此处输入图片说明

I reference the created dll in the project I want to use it

在此处输入图片说明

and remove the references to the individual dll's that is now embedded. How do I access the namespaces of the embedded dll's? The only namespace available is Costura, so I can do a

using Costura;

but all my types are now unrecognised. Is thre something else that I have to do?

Just add the using references as per normal. You should not remove namespace references to the libraries embedded by Costura.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM