I'm trying to draw some graphs in a windows 8 app.
So I downloaded this:
http://modernuitoolkit.codeplex.com/
I then right clicked my project, clicked add reference and navigated to the .dll file.
But when I try and build the project I get loads of these type of errors:
Error 18 Payload file 'c:\users\mark\Desktop\ChartingTest\ChartingTest\ModernUI.Toolkit.Data.Charting\Charts\Series\LineSeries.xaml' does not exist. App1
Error 15 Payload file 'c:\users\mark\Desktop\ChartingTest\ChartingTest\ModernUI.Toolkit.Data.Charting\Charts\Series\DataPointSeries.xaml' does not exist. App1
Error 16 Payload file 'c:\users\mark\Desktop\ChartingTest\ChartingTest\ModernUI.Toolkit.Data.Charting\Charts\Series\DefinitionSeries.xaml' does not exist. App1
Error 17 Payload file 'c:\users\mark\Desktop\ChartingTest\ChartingTest\ModernUI.Toolkit.Data.Charting\Charts\Series\LegendItem.xaml' does not exist. App1
That is just a few of them. They seem to be releated to Xaml.
Thanks.
As the other answers suggest, creating the appropriate directory and moving the generated .xr.xml
file does work, however,
The correct solution for this is to,
Open the Project Properties (via right clicking the project within the Solution Explorer, or focusing on the project and pressing Alt + Enter.
Navigate to the Build section (as of VS 2017, via the sidebar)
Check the Generate Library Layout checkbox under the Output group.
...upon doing which Visual Studio will generate the necessary directory and file structure for you.
To workaround this, go to the DLL output folder (e.g. bin\Release), create a new folder named like your DLL-Name (e.g. MyUserControlLibrary) and move the XAML files down to this folder.
bin\Release\
MyUserControlLibrary.dll
MyUserControlLibrary.pri
MyUserControlLibrary\ [folder] <-- create
UserControl1.xaml <-- move here
UserControl2.xaml <-- move here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With