Click here to Skip to main content
11,492,974 members (58,096 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 9: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 Sergey Alexandrovich Kryukov 419
1 Maciej Los 286
2 F-ES Sitecore 224
3 KarstenK 210
4 CPallini 208
0 Sergey Alexandrovich Kryukov 10,132
1 OriginalGriff 8,630
2 Sascha Lefèvre 3,624
3 Maciej Los 3,392
4 Richard Deeming 2,500

Advertise | Privacy | Mobile
Web04 | 2.8.150520.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