Saturday, 28 April 2012

The type 'System.IO.Packaging.Package' is defined in an assembly that is not referenced. You must add a reference to assembly 'WindowsBase'.

While i was working with the Open XML SDK 2.0, after i added the reference of  DocumentFormat.OpemXml  assembly and i build the Application I ran into this Error Message.


The type 'System.IO.Packaging.Package' is defined in an assembly that is not referenced. You must add a reference to assembly 'WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'


Just add another reference to WindowsBase assembly that is found in the .NET Tab.


4 comments: