QuestPDF / QuestPDF

QuestPDF is a modern open-source .NET library for PDF document generation. Offering comprehensive layout engine powered by concise and discoverable C# Fluent API. Easily generate PDF reports, invoices, exports, etc.
https://www.questpdf.com
Other
12.02k stars 629 forks source link

Create sample project for Unity3d #420

Open nextechar-hardik opened 1 year ago

nextechar-hardik commented 1 year ago

Unity3D is platform where user build app and game (Cross platform).

I am trying to build dll from your source and working on demo simple PDF creation for Android and iOS using QuestPDF but getting lots of issue, If you can provide sample or way to do that this will give you bump in your community.

girlpunk commented 1 year ago

Hi, QuestPDF can be built by opening the solution in Visual Studio and selecting the QuestPDF project from the solution explorer pane, and clicking build. A similar process is available using Visual Studio Code, or the dotnet command line tools (dotnet build from the QuestPDF project folder).

It may be easier for you to use prebuild binaries from the nuget packages provided by Marcin, which are available from nuget.org. If Unity cannot accept Nuget packages, it's possible to extract the DLLs from them, however note that dependency management won't be available, so you will have to manually ensure suitable versions of everything QuestPDF requires (and what those requirements require, etc) are available.

If none of these are suitable, please provide more information about the issues you are encountering, including full error messages/logs/tracebacks as appropriate.

nextechar-hardik commented 1 year ago

I Know we can build but after success build while import in Unity3D i am getting errors like Missing dll , I have add as possible dll but still not working... If any one can Provide Sample project for Unity3D (Android and iOS).

Or i can provide sample project just handle dependency and create Sample PDF using C# demo will be appreciate

nextechar-hardik commented 1 year ago

I had tried lot to manage dependency for Unity3d, For Mac OS , Window OS , Android and iOS... but not able to create sample project.. I am getting lot dependency warning.

Any one can. help me to manage dependency ?

I am using .net standard 2.1