C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
System.Windows.Xps.Packaging Reference Missing
WhatsApp
Mahesh Chand
5y
103.1k
0
6
100
Article
Introduction
If you need to use the XpsDocument class in your WPF project, you must add a reference to System.Windows.Xps.Packaging namespace. However, the assembly in which this namespace is defined is not a part of a WPF application by default. It is defined in the ReachFramework.
To add a reference to ReachFramework, you right-click on Add Reference on the project name in Solution Explorer. On the .NET Framework, select ReachFramework and other assemblies from the list and click OK button. Figure 1 shows ReachFramework in Add Reference dialog.
Figure 1
After adding this reference, you should be able to use XpsDocument in your WPF applications.
Error Zone
System.Windows.Xps.Packaging Reference Missing
Wpf
XpsDocument
Up Next
Ebook Download
View all
Programming Errors & Solutions
Read by 10.1k people
Download Now!
Learn
View all
Mindcracker
Founded in 2003, Mindcracker is the authority in custom software development and innovation. We put best practices into action. We deliver solutions based on consumer and industry analysis.
Membership not found