Metro build errors - Payload file does not exist

Oct 19, 2012 at 3: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: http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/b20ca4a5-8293-4da7-859e-6759a2a76f9d), though I havent found a solution that fixes this issue.

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

Coordinator
Oct 19, 2012 at 3:54 AM

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

https://github.com/timheuer/callisto

Sep 26, 2013 at 7: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.