Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Import a namespace of a DLL that is embedded in my .EXE

$
0
0

Hi I've got a WPF project that uses 2 DLL's, both are from WPFToolkit.

I can embed both files and have had success getting my program to work. However, one of them has to be referenced in my XAML file. When I do that, I get no error upon building the project, but the program will get me an error (XAML parsing error).

Everything works fine when I do not embed that second DLL, but this specific applications requires to be run off a single EXE, no choice there.

Here's how the namespace is imported in my XAML:

xmlns

:chartingToolkit="clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit"

I am not sure how I can reference that dll otherwise, and more importantly how to do it so that it's found!

Any idea?
Steve


Viewing all articles
Browse latest Browse all 18858

Trending Articles