Metro build errors - Payload file does not exist

Oystein Bjorke 6 years ago 0
This discussion was imported from CodePlex

rajah wrote at 2012-10-19 05:32:

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?

objo wrote at 2012-10-19 05:54:

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

aazavvar wrote at 2013-09-26 09:07:

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.