PDF Sharp and MigraDocs Image Issue in .NET CoreConvert HTML to PDF in .NETWhat is “.NET Core”?Compiling .Net Core VS17What is the difference between .NET Core and .NET Standard Class Library project types?Build .NET Core console application to output an EXE?FileNotFoundException when referencing DLL in .NET Core ApplicationUse .net core with legacy .net framework dllsCefSharp offscreen with .net core 2.0 Runtime Error , System.IO.FileNotFoundException: 'Could not load file or assembly 'CefSharp.Core,MigraDoc and .NET Core 2.0Unable to add framework class library reference to dot net core 1.1

How did שְׁלֹמֹה (shlomo) become Solomon?

Was Wolfgang Unzicker the last Amateur GM?

Park the computer

Should you add specific garden-fresh herbs to a stew at the beginning or the end?

3D nonogram – What's in the box?

Sleepy tired vs physically tired

How might boat designs change in order to allow them to be pulled by dragons?

Can 4 Joy cons connect to the same Switch?

Is it possible that Curiosity measured its own methane or failed doing the spectrometry?

Platform Event Design when Subscribers are Apex Triggers

Do the 26 richest billionaires own as much wealth as the poorest 3.8 billion people?

What is the addition in the re-released version of Avengers: Endgame?

Chess problem: Make a crossword in 3 moves

Why would a propellor have blades of different lengths?

Show that there are infinitely more problems than we will ever be able to compute

Should I warn my boss I might take sick leave

How can I effectively map a multi-level dungeon?

Data normalization before or after train-test split?

AB5E type molecule

Machine Learning Golf: Multiplication

CPA filed late returns, stating I would get money; IRS says they were filed too late

Could you sell yourself into slavery in the USA?

Isn't "Dave's protocol" good if only the database, and not the code, is leaked?

My players like to search everything. What do they find?



PDF Sharp and MigraDocs Image Issue in .NET Core


Convert HTML to PDF in .NETWhat is “.NET Core”?Compiling .Net Core VS17What is the difference between .NET Core and .NET Standard Class Library project types?Build .NET Core console application to output an EXE?FileNotFoundException when referencing DLL in .NET Core ApplicationUse .net core with legacy .net framework dllsCefSharp offscreen with .net core 2.0 Runtime Error , System.IO.FileNotFoundException: 'Could not load file or assembly 'CefSharp.Core,MigraDoc and .NET Core 2.0Unable to add framework class library reference to dot net core 1.1






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I have an issue with PDF Sharp and Migra Docs implementation in .NET Core.



I am using all the .net core dlls for it i.e.



MigraDoc.Rendering.Core,

PdfSharpCore,
PdfSharp.Charting.Core,
MigraDoc.DocumentObjectModel.Core



The PDF is being generated fine.



The images are not being attached. I read on few articles here but it doesn't really help.



The error i am getting is not about System.Drawing issue as the other articles suggests.



The following error message shows up for all the images in the document.



System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dicitionary 2 localResourceSets, Boolean .. )



I have tried to look for this particular error and tried to add resource files but that didn't help.



The code works perfectly fine for .NET frameworks (Any). It's just not working with .NET Core DLLS.



 Section sec = document.AddSection();

Image image = new Image();

image = sec.AddImage(Tools.GetMainPageHeader());

image.Width = "190mm";
image.Height = "50mm";
image.Left = ShapePosition.Center;


The above code when executed on .NET core defines the dimensions of the image with the allocated width and height but instead of attaching the image, the error message is displayed.










share|improve this question






















  • I assume you are using a port of MigraDoc. Which one?

    – Vive la déraison
    Mar 25 at 20:08











  • Thanks for the reply. Sorry, no idea about the port. Like i mentioned ealier, i am using the following nuget packages. MigraDoc.Rendering.Core, PdfSharpCore, PdfSharp.Charting.Core, MigraDoc.DocumentObjectModel.Core

    – Usman Ashraf
    Mar 25 at 21:59











  • So you are using an inofficial port of PDFsharp and MigraDoc that was published 9 months ago. I don't know what Grovel is, but maybe a Grovel expert or a person familiar with that specific port can help you. Image handling within this port is different from the standard implementation.

    – Vive la déraison
    Mar 26 at 10:19











  • Ok. Thanks again for your help.

    – Usman Ashraf
    Mar 26 at 11:36

















0















I have an issue with PDF Sharp and Migra Docs implementation in .NET Core.



I am using all the .net core dlls for it i.e.



MigraDoc.Rendering.Core,

PdfSharpCore,
PdfSharp.Charting.Core,
MigraDoc.DocumentObjectModel.Core



The PDF is being generated fine.



The images are not being attached. I read on few articles here but it doesn't really help.



The error i am getting is not about System.Drawing issue as the other articles suggests.



The following error message shows up for all the images in the document.



System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dicitionary 2 localResourceSets, Boolean .. )



I have tried to look for this particular error and tried to add resource files but that didn't help.



The code works perfectly fine for .NET frameworks (Any). It's just not working with .NET Core DLLS.



 Section sec = document.AddSection();

Image image = new Image();

image = sec.AddImage(Tools.GetMainPageHeader());

image.Width = "190mm";
image.Height = "50mm";
image.Left = ShapePosition.Center;


The above code when executed on .NET core defines the dimensions of the image with the allocated width and height but instead of attaching the image, the error message is displayed.










share|improve this question






















  • I assume you are using a port of MigraDoc. Which one?

    – Vive la déraison
    Mar 25 at 20:08











  • Thanks for the reply. Sorry, no idea about the port. Like i mentioned ealier, i am using the following nuget packages. MigraDoc.Rendering.Core, PdfSharpCore, PdfSharp.Charting.Core, MigraDoc.DocumentObjectModel.Core

    – Usman Ashraf
    Mar 25 at 21:59











  • So you are using an inofficial port of PDFsharp and MigraDoc that was published 9 months ago. I don't know what Grovel is, but maybe a Grovel expert or a person familiar with that specific port can help you. Image handling within this port is different from the standard implementation.

    – Vive la déraison
    Mar 26 at 10:19











  • Ok. Thanks again for your help.

    – Usman Ashraf
    Mar 26 at 11:36













0












0








0








I have an issue with PDF Sharp and Migra Docs implementation in .NET Core.



I am using all the .net core dlls for it i.e.



MigraDoc.Rendering.Core,

PdfSharpCore,
PdfSharp.Charting.Core,
MigraDoc.DocumentObjectModel.Core



The PDF is being generated fine.



The images are not being attached. I read on few articles here but it doesn't really help.



The error i am getting is not about System.Drawing issue as the other articles suggests.



The following error message shows up for all the images in the document.



System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dicitionary 2 localResourceSets, Boolean .. )



I have tried to look for this particular error and tried to add resource files but that didn't help.



The code works perfectly fine for .NET frameworks (Any). It's just not working with .NET Core DLLS.



 Section sec = document.AddSection();

Image image = new Image();

image = sec.AddImage(Tools.GetMainPageHeader());

image.Width = "190mm";
image.Height = "50mm";
image.Left = ShapePosition.Center;


The above code when executed on .NET core defines the dimensions of the image with the allocated width and height but instead of attaching the image, the error message is displayed.










share|improve this question














I have an issue with PDF Sharp and Migra Docs implementation in .NET Core.



I am using all the .net core dlls for it i.e.



MigraDoc.Rendering.Core,

PdfSharpCore,
PdfSharp.Charting.Core,
MigraDoc.DocumentObjectModel.Core



The PDF is being generated fine.



The images are not being attached. I read on few articles here but it doesn't really help.



The error i am getting is not about System.Drawing issue as the other articles suggests.



The following error message shows up for all the images in the document.



System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dicitionary 2 localResourceSets, Boolean .. )



I have tried to look for this particular error and tried to add resource files but that didn't help.



The code works perfectly fine for .NET frameworks (Any). It's just not working with .NET Core DLLS.



 Section sec = document.AddSection();

Image image = new Image();

image = sec.AddImage(Tools.GetMainPageHeader());

image.Width = "190mm";
image.Height = "50mm";
image.Left = ShapePosition.Center;


The above code when executed on .NET core defines the dimensions of the image with the allocated width and height but instead of attaching the image, the error message is displayed.







c# .net-core pdfsharp migradoc .net-core-2.2






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 25 at 18:40









Usman AshrafUsman Ashraf

96 bronze badges




96 bronze badges












  • I assume you are using a port of MigraDoc. Which one?

    – Vive la déraison
    Mar 25 at 20:08











  • Thanks for the reply. Sorry, no idea about the port. Like i mentioned ealier, i am using the following nuget packages. MigraDoc.Rendering.Core, PdfSharpCore, PdfSharp.Charting.Core, MigraDoc.DocumentObjectModel.Core

    – Usman Ashraf
    Mar 25 at 21:59











  • So you are using an inofficial port of PDFsharp and MigraDoc that was published 9 months ago. I don't know what Grovel is, but maybe a Grovel expert or a person familiar with that specific port can help you. Image handling within this port is different from the standard implementation.

    – Vive la déraison
    Mar 26 at 10:19











  • Ok. Thanks again for your help.

    – Usman Ashraf
    Mar 26 at 11:36

















  • I assume you are using a port of MigraDoc. Which one?

    – Vive la déraison
    Mar 25 at 20:08











  • Thanks for the reply. Sorry, no idea about the port. Like i mentioned ealier, i am using the following nuget packages. MigraDoc.Rendering.Core, PdfSharpCore, PdfSharp.Charting.Core, MigraDoc.DocumentObjectModel.Core

    – Usman Ashraf
    Mar 25 at 21:59











  • So you are using an inofficial port of PDFsharp and MigraDoc that was published 9 months ago. I don't know what Grovel is, but maybe a Grovel expert or a person familiar with that specific port can help you. Image handling within this port is different from the standard implementation.

    – Vive la déraison
    Mar 26 at 10:19











  • Ok. Thanks again for your help.

    – Usman Ashraf
    Mar 26 at 11:36
















I assume you are using a port of MigraDoc. Which one?

– Vive la déraison
Mar 25 at 20:08





I assume you are using a port of MigraDoc. Which one?

– Vive la déraison
Mar 25 at 20:08













Thanks for the reply. Sorry, no idea about the port. Like i mentioned ealier, i am using the following nuget packages. MigraDoc.Rendering.Core, PdfSharpCore, PdfSharp.Charting.Core, MigraDoc.DocumentObjectModel.Core

– Usman Ashraf
Mar 25 at 21:59





Thanks for the reply. Sorry, no idea about the port. Like i mentioned ealier, i am using the following nuget packages. MigraDoc.Rendering.Core, PdfSharpCore, PdfSharp.Charting.Core, MigraDoc.DocumentObjectModel.Core

– Usman Ashraf
Mar 25 at 21:59













So you are using an inofficial port of PDFsharp and MigraDoc that was published 9 months ago. I don't know what Grovel is, but maybe a Grovel expert or a person familiar with that specific port can help you. Image handling within this port is different from the standard implementation.

– Vive la déraison
Mar 26 at 10:19





So you are using an inofficial port of PDFsharp and MigraDoc that was published 9 months ago. I don't know what Grovel is, but maybe a Grovel expert or a person familiar with that specific port can help you. Image handling within this port is different from the standard implementation.

– Vive la déraison
Mar 26 at 10:19













Ok. Thanks again for your help.

– Usman Ashraf
Mar 26 at 11:36





Ok. Thanks again for your help.

– Usman Ashraf
Mar 26 at 11:36












0






active

oldest

votes










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55344475%2fpdf-sharp-and-migradocs-image-issue-in-net-core%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes




Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55344475%2fpdf-sharp-and-migradocs-image-issue-in-net-core%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현