Markus

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: OpenXML SDK 2.6 with WindowsBase #2533

    Markus
    Participant

    Hi Eric,

    that would be the solution for my problem I think.

    Right now we are trying out the Hotfix https://support.microsoft.com/en-us/kb/2996568 since it says it fixes exactly that bug. I’m hoping this will help since I’m not sure if I’m able to build another ‘WindowsBase’ assembly that contains everything except System.IO.Packaging.

    Regards, Markus

    in reply to: OpenXML SDK 2.6 with WindowsBase #2513

    Markus
    Participant

    I’ll try checking the reference source for a solution and let you know what I find, thanks for that suggestion.

    For the second question: if I understood correctly… I removed the WindowsBase assembly and checked what’s missing. System.Windows.DependencyObject Seems to be necessary for the Ribbon in Word and overall the context menu. We have 3 projects and it doesn’t let me remove the WindowsBase from the project responsible for the User Interface. So I’d say it’s a pretty hard dependency. But I’m not sure if that’s what you meant.

    Regards, Markus

    in reply to: OpenXML SDK 2.6 with WindowsBase #2508

    Markus
    Participant

    Hi Eric,

    we are building an VSTO Add-In for Word 2010. We were using .NET 4.0 until now, but we upgraded to 4.5 so we can use OpenXML SDK 2.6.

    There are 2 namespaces which are missing in WindowsBase.
    System.Windows.Freezable: We are using System.Windows.Media.Brush to highlight
    System.Windows.DependencyObject: We are using System.Windows.Controls.ContextMenu

    I was hoping there is a possibility to add references to those specific namespaces and tell them to not look in WindowsBase.

    Regards, Markus

Viewing 3 posts - 1 through 3 (of 3 total)