Genesys CTI User Forum > Genesys-related Development

Can anyone compile WDE 8.5.x sample InteractionExtensionSample?

<< < (2/2)

daniel_san:
I have the same code as you, and it´s working well.

I´m using VS 2013.

Can you paste the entire xaml and cs? What is exactly the problem?

PD: I had some problems working with xaml. Sometimes i had to finish manually process XDESCPROC.exe (similar name...) to compile.

Regards.

cavagnaro:
Which VS version? Pro?

Enviado de meu E6633 usando Tapatalk

abudwill:
VS2012 Pro, also tried with VS2015 Community Edition

XAML code is:

[code]
<UserControl x:Class="Genesyslab.Desktop.Modules.InteractionExtensionSample.MySample.MySampleButtonView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:common="clr-namespace:Genesyslab.Desktop.WPFCommon;assembly=Genesyslab.Desktop.WPFCommon"
xmlns:commonControls="clr-namespace:Genesyslab.Desktop.WPFCommon.Controls;assembly=Genesyslab.Desktop.WPFCommon"
Height="300" Width="300">

<UserControl.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<common:DesignTimeResourceDictionary Source="/Genesyslab.Desktop.WPFCommon;component/themes/generic.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</UserControl.Resources>

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

Error is "Object reference not set to an instance of an object" while highlighting DynamicResource SideButtonStyle

I consider the issue closed/done now.  The project still builds, the XAML renderer in VS simply can't display the XAML properly.  Support suggested I reference 8.1 DLL (WPFCommon) during development which will allow me to properly see the view in VS, then switch out to the proper 8.5 DLL when delivering - works for me.



[img][/img]

germanjuarez:
Thank you abudwill for share this! I was working blind with some forms and now I can edit and see the results!.. thank you.

Navigation

[0] Message Index

[*] Previous page

Go to full version