Click here to Skip to main content
11,928,754 members (41,275 online)
Rate this:
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 31-Oct-12 16:17pm
:) yeah il have a good look through it and try find out where it is, thank you.
Mickt1985 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 13-Nov-12 8:53am
No worries. It was just very nice of you to do so. Cheers.
Sergey Alexandrovich Kryukov 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
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web03 | 2.8.151126.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