Replies: 1 comment
-
For background The package structure is described at #2796 (comment) With the old Does the
MS are likely the best qualified to diagnose/fix the issue. At best this would be something we'd have to workaround. The project provides a |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I use CefSharp (V114.2.100) to create an ChromiumWebBrowser instance in the XAML code. The execution of the application has no errors, but the XAML Designer (VS 17.6.4) is rising an exception:
Parameter "parameter" (object) cannot be of type Microsoft.VisualStudio.XSurface.Wpf.Window, as the command type requires an argument of type System.Windows.Window. (Parameter 'parameter')
I contacted Microsoft Support but without proper response yet!
The XAML code causing this exception is part of a Button binding command:
CommandParameter="{Binding Mode=OneWay, RelativeSource={RelativeSource AncestorType={x:Type local:MainWindow}}}"
During my investigation, I found the following hint from VS: Cannot load a reference assembly for execution
Any idea why the XAML Designer cannot find the proper assembly, while the execution (Debug and Release mode) is running without any problems?
You can find the demo application here with only few lines of XAML and VB code.
Regards,
Christoph
Beta Was this translation helpful? Give feedback.
All reactions