1
Vote

RibbonUI/FluentUI Add-UIModule Fails

description

After Importing the ShowUI Module, Attempting to use Ribbon Control fails looking for Modules\Ribbon.dll

Attempted to Use the System.Windows.Controls.Ribbon -> .NET 4.5
and Fluent UI 2.1 Release D from codeplex also fails.

Can we get an Update for .NET4.5 that will work with the ribbon? Would love to script this into my PowerShell script.

I am using powershell 4 on Windows 7.

comments

flyboarder wrote Sep 27, 2013 at 6:12 PM

Also attempted the following script: http://jaykul.com/229

flyboarder wrote Sep 27, 2013 at 7:23 PM

Solved issue by making the following changes

region Assembly Loading

$Assemblies =
[Reflection.Assembly]::Load("WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"),
[Reflection.Assembly]::Load("PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"),
[Reflection.Assembly]::Load("PresentationCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"),
[Reflection.Assembly]::Load("WindowsFormsIntegration, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"),

Following Line added

[Reflection.Assembly]::Load("System.Windows.Controls.Ribbon, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")
if ($PSVersionTable.ClrVersion.Major -ge 4) {
$Assemblies += [Reflection.Assembly]::Load("System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")
}

endregion

Jaykul wrote Sep 30, 2013 at 3:04 PM

Thanks for that -- I'll make sure that the ribbon stuff is included out of the box in 1.5 (which is way overdue: I got a little distracted by another project).

gwojan wrote Dec 4, 2013 at 1:21 AM

Joel,

Is ShowUI on CodePlex now officially forked from that on Start-Automating.com? I noticed recently that James has released version 1.5 as part of ISEPackV2.

flyboarder wrote Apr 5 at 6:46 PM

I had this working before and now it's broken.... can we please get an update :) Cheers