PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Cannot Compile PDFsharp Project
https://forum.pdfsharp.net/viewtopic.php?f=2&t=3473
Page 1 of 1

Author:  carlchan1994 [ Thu Oct 13, 2016 10:17 am ]
Post subject:  Cannot Compile PDFsharp Project

Hello Everyone~ I'm CARL and I come from Hong Kong.

I have the iref stream problem when I use the 1.32 version of PDFsharp.

The latest version 1.50beta3 do not have the dll, and I have to compile the source code by myself.
https://pdfsharp.codeplex.com/releases/view/618773

However, I cannot build the project. :(
The .cs Files are not in UTF-8 Encoding and I do not know what encoding it is.
Therefore, some special characters are not able to be shown in Visual Studio.
For example, SoftHyphen and Currency in PdfSharp.Pdf.IO.Chars. (see attachment)

I will be very happy if I could download the dll directly... :D

Attachments:
Chars.cs.png
Chars.cs.png [ 8.02 KiB | Viewed 4889 times ]

Author:  Thomas Hoevel [ Thu Oct 13, 2016 12:04 pm ]
Post subject:  Re: Cannot Compile PDFsharp Project

Hi!
Sorry for the inconvenience. The files compile with the default encoding set for Western Europe.

carlchan1994 wrote:
I will be very happy if I could download the dll directly... :D
Use NuGet.
https://www.nuget.org/profiles/PDFsharp-Team
You can get 1.50 also from NuGet (include Pre-Releases in filter).

Or change the source code as shown here:
viewtopic.php?p=9616#p9616

Author:  carlchan1994 [ Fri Oct 14, 2016 1:56 am ]
Post subject:  Re: Cannot Compile PDFsharp Project

Thomas Hoevel wrote:
Hi!
Sorry for the inconvenience. The files compile with the default encoding set for Western Europe.

carlchan1994 wrote:
I will be very happy if I could download the dll directly... :D
Use NuGet.
https://www.nuget.org/profiles/PDFsharp-Team
You can get 1.50 also from NuGet (include Pre-Releases in filter).

Or change the source code as shown here:
viewtopic.php?p=9616#p9616


Thank you for you helping! :wink: using Nuget was much more convenient than I expected.
Everything works well now!

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/