3rd Party Control in PB not working for me

Reference to WPFToolKit and WPFToolkit.Extended (from
codeplex.com) is set in solution also using statement is set
and xaml has the code below:

<pbwpf:Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:pbwpf="clr-namespace:Sybase.PowerBuilder.WPF.Controls;assembly=Sybase.PowerBuilder.WPF.Controls"
x:Class="w_pleasewait" BackColor="77971394"
Background="#ffd4d0c8" PBHeight="264" PBTitle="11589|Please
Wait..." PBWidth="1189" X="1198" Y="928" Uid="54"
xmlns:my="clr-namespace:Microsoft.Windows.Controls;assembly=WPFToolkit.Extended"
WindowType="popup" ControlMenu="true" MaxBox="true"
MinBox="true" Resizable="true" TitleBar="true">
    <Canvas Name="PBClientArea" >
        <my:BusyIndicator Height="18" Name="busyindicator1"
TabIndex="10" Width="177" IsBusy="True"/>
    </Canvas>
</pbwpf:Window>

And I get these errors:
-'The located assembly's manifest definition does not match
the assembly reference. (Exception from HRESULT: 0x80131040)
Line 3 Position 27.'

-'The located assembly's manifest definition does not match
the assembly reference. (Exception from HRESULT: 0x80131040)
Line 3 Position 27.'
0
Richard
1/13/2011 6:43:46 PM
sybase.powerbuilder.net 284 articles. 0 followers. Follow

2 Replies
719 Views

Similar Articles

[PageSpeed] 42

Seems like this is a known issue. See CR#626856 at
http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc33822.1210/doc/pdf/pb1210rb.pdf.
Unfortunately, there is no workaround.

> Reference to WPFToolKit and WPFToolkit.Extended (from
> codeplex.com) is set in solution also using statement is
> set and xaml has the code below:
>
> <pbwpf:Window
> xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presen
> tation"
> xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
> xmlns:pbwpf="clr-namespace:Sybase.PowerBuilder.WPF.Control
> s;assembly=Sybase.PowerBuilder.WPF.Controls"
> x:Class="w_pleasewait" BackColor="77971394"
> Background="#ffd4d0c8" PBHeight="264"
> PBTitle="11589|Please Wait..." PBWidth="1189" X="1198"
> Y="928" Uid="54"
> xmlns:my="clr-namespace:Microsoft.Windows.Controls
> ;assembly=WPFToolkit.Extended" WindowType="popup"
> ControlMenu="true" MaxBox="true" MinBox="true"
> Resizable="true" TitleBar="true">
>     <Canvas Name="PBClientArea" >
>         <my:BusyIndicator Height="18"
> Name="busyindicator1" TabIndex="10" Width="177"
> IsBusy="True"/>
>     </Canvas>
> </pbwpf:Window>
>
> And I get these errors:
> -'The located assembly's manifest definition does not
> match the assembly reference. (Exception from HRESULT:
> 0x80131040) Line 3 Position 27.'
>
> -'The located assembly's manifest definition does not
> match the assembly reference. (Exception from HRESULT:
> 0x80131040) Line 3 Position 27.'
0
Richard
1/13/2011 9:26:25 PM
I think you can get around this by adding the dll as a
resource to the assembly deployment folder and to the
project as a win32 dll (this will grab it and move it to the
deployment folder for you when you compile)

Currently PB.NET compiler ignores the reference to the
wpftoolkit.dll that
is manually added, because in the generated .csproj file, a
reference to a
different version of the dll is already pre-defined as
follows.


$(PBNET_HOME)\bin\WPFToolkit.dll


> Reference to WPFToolKit and WPFToolkit.Extended (from
> codeplex.com) is set in solution also using statement is
> set and xaml has the code below:
>
> <pbwpf:Window
> xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presen
> tation"
> xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
> xmlns:pbwpf="clr-namespace:Sybase.PowerBuilder.WPF.Control
> s;assembly=Sybase.PowerBuilder.WPF.Controls"
> x:Class="w_pleasewait" BackColor="77971394"
> Background="#ffd4d0c8" PBHeight="264"
> PBTitle="11589|Please Wait..." PBWidth="1189" X="1198"
> Y="928" Uid="54"
> xmlns:my="clr-namespace:Microsoft.Windows.Controls
> ;assembly=WPFToolkit.Extended" WindowType="popup"
> ControlMenu="true" MaxBox="true" MinBox="true"
> Resizable="true" TitleBar="true">
>     <Canvas Name="PBClientArea" >
>         <my:BusyIndicator Height="18"
> Name="busyindicator1" TabIndex="10" Width="177"
> IsBusy="True"/>
>     </Canvas>
> </pbwpf:Window>
>
> And I get these errors:
> -'The located assembly's manifest definition does not
> match the assembly reference. (Exception from HRESULT:
> 0x80131040) Line 3 Position 27.'
>
> -'The located assembly's manifest definition does not
> match the assembly reference. (Exception from HRESULT:
> 0x80131040) Line 3 Position 27.'
0
Peter
1/13/2011 10:18:07 PM
Reply: