Metro build errors - Payload file does not exist

Oct 19, 2012 at 4:32 AM

Here is something odd that i am finding:

When I reference the "OxyPlot.dll" and the "OxyPlot.Metro.dll" and try and build my project, I get the following error:

Error 1 Payload file 'D:\Development\OxyPlot\Source\OxyPlot.Metro\bin\Debug\OxyPlot.Metro\Themes\Generic.xaml' does not exist. App1

The error goes away if I add the projects directly to my solution and reference the projects instead of the dlls.

It looks like multiple people are having this issue (eg:, though I havent found a solution that fixes this issue.

Anybody else out here who has figured out a solution for this?

Oct 19, 2012 at 4:54 AM

It seems to work for Callisto, but I could not find out why...

Sep 26, 2013 at 8:07 AM
I had also this problem. This occurs because "Generic.xaml" does not exist in OxyPlot.Metro. I have simply create a new directory "Themes" in OxyPlot.Metro and copy Generic.xaml from "OxyPlot.WPF\Themes" to it. The problem then solved for me.