Builds fail with .NET Core 3 dependencies

rocky's Avatar

rocky

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

https://ci.appveyor.com/project/rockfordlhotka/csla/builds/27690230/messages

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.

    https://ci.appveyor.com/project/rockfordlhotka/csla/builds/27701310/messages

    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?

    Rocky

    ________________________________

  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: https://www.appveyor.com/docs/how-to/rdp-to-build-worker/

    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 https://github.com/appveyor/ci/issues/3112, we plan to do the change asap, hopefully in a week or two.

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

Generic

? 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