Click here to Skip to main content
11,702,467 members (70,826 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C# PDF
Hey Guys, i have just downloaded the latest version of PDF Sharp and Migra Doc, I am trying to get it to build but I can't for the life of me find which classes are causing the problem. I get the error: Project file must include the .Net Framework assembly ' WindowBase, PresentationCore, PresentationFramework in the reference list. I know this is caused by WPF projects but I have deleted all these from the code but I still get this error. Any help is very much apreciated thanks.
Posted 31-Oct-12 8:31am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

If you had deleted all references to the PresentationFramework, you wouldn't have this issue. Smile | :) You must have missed something somewhere that still references it. It may be as simple as a using statement at the top of a file.
Mickt1985 at 31-Oct-12 16:17pm
:) yeah il have a good look through it and try find out where it is, thank you.
Mickt1985 at 11-Nov-12 12:07pm
Hey sorry it took so long to accept your answer, you were right, the wpf was referenced in most of the files so I just deleted all the references and it worked like a treat.
Marcus Kramer at 13-Nov-12 8:53am
No worries. It was just very nice of you to do so. Cheers.
Sergey Alexandrovich Kryukov at 31-Oct-12 20:18pm
Nice humorous pointing out the root of the problem. My 5. :-)
(And it helped OP, apparently :-)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Maciej Los 515
1 Sergey Alexandrovich Kryukov 355
2 OriginalGriff 299
3 CHill60 145
4 Mika Wendelius 115
0 OriginalGriff 8,369
1 Sergey Alexandrovich Kryukov 7,547
2 CPallini 4,922
3 Maciej Los 4,411
4 Mika Wendelius 3,556

Advertise | Privacy | Mobile
Web01 | 2.8.150819.1 | Last Updated 31 Oct 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100