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.
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.
Nice..Thanks for the post
ReplyDeleteThanks, Worked for me..
ReplyDeleteThanks. It is really helpful for me
ReplyDeleteThanks..It was really helpful..
ReplyDelete