Click here to Skip to main content
Rate this: bad
good
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
frostcox2.3K

1 solution

Rate this: bad
good
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.
  Permalink  
Comments
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 :-)
--SA

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

  Print Answers RSS
0 Kornfeld Eliyahu Peter 275
1 Maciej Los 214
2 Sergey Alexandrovich Kryukov 200
3 King Fisher 185
4 OriginalGriff 163
0 OriginalGriff 6,223
1 DamithSL 4,724
2 Maciej Los 4,196
3 Kornfeld Eliyahu Peter 3,894
4 Sergey Alexandrovich Kryukov 3,496


Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 31 Oct 2012
Copyright © CodeProject, 1999-2014
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