Build errors OxyPlot in VS2012

Milan 4 years ago in Build 0

Hi guys,

I have succesfully used the OxyPlot packages from NuGet and now wanted to try my hand on building the source (so I could check out the example browser).

I downloaded the 'stable' version from GitHub, but when I try to build (VS2012 Professional Update 4 on Windows 7) I get a lot of errors. Below are the ones I think are the root cause of all this:

  • CSC : error CS0006: Metadata file 'C:\MyProjects\oxyplot-release-v1.0.0\Source\OxyPlot\bin\x64\Debug\OxyPlot.dll' could not be found
  • C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETPortable,Version=v4.5,Profile=Profile259" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.
  • C:\MyProjects\oxyplot-release-v1.0.0\Source\OxyPlot\Reporting\Report\ItemsTableField.cs(69,46,69,64): error CS1061: 'System.Type' does not contain a definition for 'GetRuntimeProperty' and no extension method 'GetRuntimeProperty' accepting a first argument of type 'System.Type' could be found (are you missing a using directive or an assembly reference?)

I have done my Googling, but no luck so far, Help is much appreciated.