- Home /
Build itextsharp dll Lite
Hi all,
I use iTextSharp in my projet to generate pdf. Yet, when I read the editor log, I see that it use 1Mb on my initial Scene.
With iTextSharp dll : Level 0 'Assets/Scenes/Boot.unity' uses 1.5 MB compressed / 7.3 MB uncompressed.
without iTextSharp dll : Level 0 'Assets/Scenes/Boot.unity' uses 477.0 KB compressed / 3.3 MB uncompressed.
But, I don't know how to build custom dll with classes I want. I do that class in a empty monodevelop project :
using System;
namespace Application
{
public class MyClass
{
public static void main() {
// Only classes I want
iTextSharp.text.Document test;
iTextSharp.text.pdf.PdfWriter tt ;
iTextSharp.text.pdf.codec.PngImage ss ;
iTextSharp.text.Image ee ;
iTextSharp.text.pdf.ColumnText cc ;
iTextSharp.text.Phrase pp ;
iTextSharp.text.Font ff ;
iTextSharp.text.pdf.BaseFont bb ;
iTextSharp.text.BaseColor bc ;
iTextSharp.text.FontFactory fd ;
iTextSharp.text.Chunk cd ;
}
}
}
I suppose that building a dll with MyClass will include all classes needed.
Now, I don't know build my dll. Someone ?
What's the problem of having an extra 1$$anonymous$$ of data in your project?
Answer by Jamora · Jul 31, 2013 at 09:28 PM
I search before post. I have tried some solutions that I found. But, my dll don't contains all classes needed.
$$anonymous$$aybe I do something bad.
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Equality and Inequality operators not found in DLL ??? 1 Answer
Why is the 'Run' button in Monodevelop is grayed out? 1 Answer
Does a DLL work in an iOS build? 1 Answer
NLog and unity3d 1 Answer