Compiling with .NET Core

I tried to compile a simple WinForms project with .NET Core compilation enabled and got:

Processing resource file ‘C:\source\repos\WindowsApplication1\WindowsApplication1\Properties\Resources.resx’ failed with exception: Could not find the resource “System.Resources.NetStandard.SR.resources” among the resources “metadata.fx” embedded in the assembly “RemObjects.EBuild.Elements”, nor among the resources in any satellite assemblies for the specified culture. Perhaps the resources were embedded with an incorrect name…

   Project 'WindowsApplication1' failed to build.

It seems that problem is when bitmap resources were included as:

<data name="Image1" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>Resources\Image1.png;System.Drawing.Bitmap, System.Drawing, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>