.NET Core - CS0656 error

Einar Ingebrigtsen's Avatar

Einar Ingebrigtsen

01 Apr, 2017 04:11 PM

having trouble building after I upgraded to .NET Core 1.1.1 / SDK 1.0.1
Get this weird compiler error - CS0656: Missing compiler required member

I've set the global.json to 1.0.1

I've also forced the appveyor.yml file to use the VS2017 image:

My FAKE build script spawns the "dotnet" process manually - assuming it is in path.
I can see it picks the same version that I have running locally for the MSBuild engine: 15.1.548.43366


  1. 1 Posted by Einar Ingebrigt... on 08 Apr, 2017 02:23 PM

    Einar Ingebrigtsen's Avatar

    I've managed to fix it - turns out running the FAKE step for doing NuGet restore from a Solution does not work properly - or as expected. It spawns the NuGet.exe and it does not really restore the packages on all projects like I was expecting it to do.

    After putting in a task that explicitly restores for each project manually, it builds.

    Sorry for any time wasted chasing down this.

  2. Support Staff 2 Posted by Ilya Finkelshte... on 10 Apr, 2017 10:35 PM

    Ilya Finkelshteyn's Avatar

    Hi Einar,

    Thanks a lot for that update because your question was still in our investigation queue. For me nuget was first suspect as well and I also tried to restore explicitly in my fork, but apparently not thoroughly enough...

    P.S. I removed your another subsequent post which probably came from OOF message :)


Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac