Cannot Build Samples in VS2012

Oct 3, 2013 at 1:20 AM
Edited Oct 3, 2013 at 2:55 AM
Hello All,

I am trying to build one of the sample WPF applications in VS2012, .NET 4.5 and when I try to build it I get the following errors.

"The Tag Plot does not exist in the xml namespace"

I am also getting errors when trying to build the OxyPlot solutuion in the source folder as well.

Can someone help me with the steps to use these libraries? I am very confused at this point.

Has anyone else had any issue with this or am I doing something wrong? I downloaded the source code and I am trying o open one of the sample WPF projects, is there something more that I need to do?

Thanks!
Jan 10, 2014 at 12:49 AM
Edited Jan 10, 2014 at 12:50 AM
Hello,

I have had the very same problem. The error description I get is:

"The tag 'Plot' does not exist in XML namespace 'clr-namespace:OxyPlot.Wpf;assembly=OxyPlot.Wpf'

I can see the example correctly in the preview window, but am not able to build it because of this error. Any help would be greatly appreciated!

Thank you

Edit: Note that I am using VS2010 C# Express version.
Coordinator
Jan 10, 2014 at 8:30 AM
I don't think VS Express supports building the Portable class libraries.
Standard Visual Studio should work, make sure you have the latest update installed.
Jan 31, 2014 at 4:40 PM
I had this issue when my project target framework was set to .NET 4.0 and the OxyPlot.Wpf dll was for .NET 4.5. This could be the issue.