Skip to content

Tons of errors on Resource.Designer.cs after adding OxyPlot to the project #43

Closed
@rbasniak

Description

@rbasniak

These the steps to reproduce it:

1 - Create a new Blank App (Xamarin.Forms.Portable) on VS 2015 Update 3 (Xamarin 4.2.0.703 and Xamarin.Android 7.0.1.3)

2 - On Nuget Package Manager update Xamarin.Forms to latest version (currently v2.3.3.152-pre2)

3 - Run the application to confirm that everything is working.

4 - Back to Nuget, add a referente of OxyPlot.Xamarin.Forms to both my projects (portable and droid). It installs OxyPlot.Xamarin.Forms and OxyPlot.Xamarin.Android version 1.0.0-unstable1983 and 'OxyPlot.Coreversion2015.1.708-alpha`)

5 - On my Droid project, in MainActivity.cs I add OxyPlot.Xamarin.Forms.Platform.Android.PlotViewRenderer.Init(); after the call to Forms.Init()

6 - Now if I try to compile my application again I have ~150 errors on Resource.Designer.cs:

image

If I remove OxyPlot from the project, the errors go away and the application compiles again.

My target SDK versions are the following:

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions