Builds fail with .NET Core 3 dependencies

rocky's Avatar


26 Sep, 2019 02:39 PM

As of the Microsoft release of .NET Core 3 I updated my projects/dependencies to use the 3.0.0 versions. Now my build is failing, where it was working against the preview9 versions. For example

I've even added a step in appveyor.yml to install the dotnetcore-sdk explicitly.

The code, as you'd expect, "builds fine on my machine".

  1. 1 Posted by Ilya Finkelshte... on 26 Sep, 2019 09:58 PM

    Ilya Finkelshteyn's Avatar

    Please use the image called Visual Studio 2019, not Visual Studio 2019 Preview. Sorry for confusion.

  2. 2 Posted by rocky on 26 Sep, 2019 10:16 PM

    rocky's Avatar

    Thank you, that got things a lot closer to working again.

    Though now there’s a new issue that also wasn’t there prior to the .NET Core 3 release.

    I’m guessing this is due to a missing Android SDK on the build image? Is there a list of Android versions that are acceptable to target?

    [cid:[email blocked]]

  3. 3 Posted by Ilya Finkelshte... on 26 Sep, 2019 10:49 PM

    Ilya Finkelshteyn's Avatar

    Our build image scripts are open source, here is Android SDK we install now. Please let us know which one you need (check here) so we include it into the next image update.

  4. 4 Posted by rocky on 26 Sep, 2019 11:17 PM

    rocky's Avatar

    I appreciate your help, though now I’m confused.

    I didn’t think I’d changed the Android version in my project, and I didn’t – it is still Oreo 8.1 (sdk 27), which is what’s on the build image.

    My project:

    [cid:[email blocked]]

    Build agent/image:

    [cid:[email blocked]]

    This project did build prior to this week, so I wonder what’s changed?



  5. 5 Posted by rocky on 26 Sep, 2019 11:25 PM

    rocky's Avatar

    I've been googling the "The "ResolveSdks" task failed unexpectedly" issue.

    It seems like something that has occurred to people over several years. The common solutions revolve around fixing a registry key, reinstalling VS, or clearing some old content in the user's AppData folder.

  6. Support Staff 6 Posted by Feodor Fitsner on 27 Sep, 2019 12:49 AM

    Feodor Fitsner's Avatar

    You can log into build VM via RDP and see around what's going on:

    Try building from VS IDE, command-line, see what's installed. If you can tell us what's wrong/missing on the image that would be very helpful to us and other users.

  7. 7 Posted by Ilya Finkelshte... on 30 Sep, 2019 11:56 PM

    Ilya Finkelshteyn's Avatar

    @rocky please watch, we plan to do the change asap, hopefully in a week or two.

  8. Feodor Fitsner closed this discussion on 03 Apr, 2020 06:45 PM.

Comments are currently closed for this discussion. You can start a new one.

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