question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The "GetMGCBTask" task failed unexpectedly.

See original GitHub issue
  • Following the tutorial Create a new SadConsole .NET Core project
  • Installed MonoGame 3.7.1
  • Created a new directory for a game
  • Ran dotnet new --install MonoGame.Template.CSharp
  • Ran dotnet new mgdesktopgl
  • Ran dotnet run

Expected: A MonoGame window with the default background

Actual: error MSB4018: The "GetMGCBTask" task failed unexpectedly.

I know this isn’t strictly a SadConsole issue, but I’m following the tutorial on the SadConsole website

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
harry-cppcommented, Jun 9, 2020

Also love your console, I’m writing something similar myself, for my own game.

0reactions
harry-cppcommented, Jun 10, 2020

~2 weeks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The "GetMGCBTask" task failed unexpectedly · Issue #7189
The "GetMGCBTask " task failed unexpectedly. What version of MonoGame does the bug occur on: MonoGame 3.7.1. What operating system are you using:....
Read more >
The CreateAppHost task failed unexpectedly. MSB4018
I was running the code inside shared directory, moving the folder out of shared directory and running the dotnet again solved the error....
Read more >
MSB4018: The task failed unexpectedly - Microsoft Q&A
Hello I have a problem in VS 2022 .net 6. The problem is: MSB4018: The task failed unexpectedly in Microsoft.Net.Sdk.targets line 554
Read more >
MSB4018 The "XamlCTask" task failed unexpectedly
VS2019 latest version crashes the XamlCTask when defining somewhere in a XAML file the following glyph icon within a Xamarin.Froms 4.1 App.xaml file:...
Read more >
MSB4018: The task failed unexpectedly
Hi, after reinstalling Visual Studio, I get the error in question by recompiling a program that I had previously written and that worked ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found