System.IO.Packaging

Drake picture Drake · Aug 31, 2011 · Viewed 81.8k times · Source

I have my project set to .NET Framework 4.0. When I add System.IO.Packaging, it says that it doesn't exist. It also doesn't show up when I try to add it as a reference to the project.

How can I add System.IO.Packaging to my C# project?

Answer

Pedro picture Pedro · Aug 31, 2011

According to a user comment on this MSDN page, you have to add a reference to the WindowsBase .Net library.