Genesys CTI User Forum > Genesys-related Development

Can anyone compile WDE 8.5.x sample InteractionExtensionSample?

(1/2) > >>

abudwill:
Wondering if anyone has tried to compile WDE 8.5.x provided sample project InteractionExtensionSample.

I have been trying to add a SideBarButton to one of the vertical regions in a custom project and am having problems doing that.

This sample demonstrates exactly what I am trying to do.

Specifically in the xaml file MySampleButtonView.xaml, Visual Studio pukes when it sees:

[code]
<commonControls:SideButton Name="splitToggleButton" Margin="2,2,0,0" Style="{DynamicResource SideButtonStyle}" Content="My _Sample" Click="splitToggleButton_Click" />
[/code]

Specifically it pukes when trying to locate SideButtonStyle.

Anyone get this sample to compile yet?

Regards,
Andrew

abudwill:
For reference I am using VS2012

abudwill:
Crazy...  If the file MySampleButtonView.xaml is not open, it builds fine.

If that file is open, the project won't build.

Seems to have something to do with the XAML renderer bundled with Visual Studio.

Upon closing the xaml file, building, and running, the button that is defined in MySampleButtonView.xaml shows up as it should at runtime.

I guess no problem.  Bad luck.

PeteHoyle:
I use VS 2013 and it compiled ok even when MySampleButtonView.xaml is open.

It does give a design time error for this part of the code 'Style="{DynamicResource SideButtonStyle}' (Object Reference Not set to an instance of an object), but it does compile and run.

abudwill:
Thanks for the feedback Pete.

I wish I knew why the built in xaml renderer wouldn't display the xaml properly.  In this particular case it is no big deal as I know what the xaml will end up looking like.  But sometimes I don't, which makes designing views very difficult!

Any thoughts on that?

Regards,
Andrew

Navigation

[0] Message Index

[#] Next page

Go to full version