tag:help.appveyor.com,2012-11-13:/discussions/problems/25023-builds-fail-with-net-core-3-dependenciesAppVeyor: Discussion 2020-04-03T18:45:15Ztag:help.appveyor.com,2012-11-13:Comment/476635522019-09-26T14:39:36Z2019-09-26T14:40:03ZBuilds fail with .NET Core 3 dependencies<div><p>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</p>
<p><a href="https://ci.appveyor.com/project/rockfordlhotka/csla/builds/27690230/messages">https://ci.appveyor.com/project/rockfordlhotka/csla/builds/27690230...</a></p>
<p>I've even added a step in appveyor.yml to install the dotnetcore-sdk explicitly.</p>
<p>The code, as you'd expect, "builds fine on my machine".</p></div>rockytag:help.appveyor.com,2012-11-13:Comment/476635522019-09-26T21:58:37Z2019-09-26T21:58:37ZBuilds fail with .NET Core 3 dependencies<div><p>Please use the image called <code>Visual Studio 2019</code>, not <code>Visual Studio 2019 Preview</code>. Sorry for confusion.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/476635522019-09-26T22:16:52Z2019-09-26T22:16:52ZBuilds fail with .NET Core 3 dependencies<div><p>Thank you, that got things a lot closer to working again.</p>
<p>Though now there’s a new issue that also wasn’t there prior to the .NET Core 3 release.</p>
<p><a href="https://ci.appveyor.com/project/rockfordlhotka/csla/builds/27701310/messages">https://ci.appveyor.com/project/rockfordlhotka/csla/builds/27701310...</a></p>
<p>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?</p>
<p>[cid:<a href="mailto:image002.png@01D5748E.1F284AD0">image002.png@01D5748E.1F284AD0</a>]</p></div>rockytag:help.appveyor.com,2012-11-13:Comment/476635522019-09-26T22:49:18Z2019-09-26T22:49:18ZBuilds fail with .NET Core 3 dependencies<div><p>Our build image scripts are open source, <a href="https://github.com/appveyor/build-images/blob/master/scripts/Windows/install_vs2019.ps1#L114-L115">here</a> is Android SDK we install now. Please let us know which one you need (check <a href="https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-community?vs-2019&view=vs-2019">here</a>) so we include it into the next image update.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/476635522019-09-26T23:17:24Z2019-09-26T23:17:24ZBuilds fail with .NET Core 3 dependencies<div><p>I appreciate your help, though now I’m confused.</p>
<p>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.</p>
<p>My project:</p>
<p>[cid:<a href="mailto:image002.png@01D57496.956C0B20">image002.png@01D57496.956C0B20</a>]</p>
<p>Build agent/image:</p>
<p>[cid:<a href="mailto:image006.png@01D57496.956C0B20">image006.png@01D57496.956C0B20</a>]</p>
<p>This project did build prior to this week, so I wonder what’s changed?</p>
<p>Rocky</p>
<hr></div>rockytag:help.appveyor.com,2012-11-13:Comment/476635522019-09-26T23:25:25Z2019-09-26T23:25:25ZBuilds fail with .NET Core 3 dependencies<div><p>I've been googling the "The "ResolveSdks" task failed unexpectedly" issue.</p>
<p>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.</p></div>rockytag:help.appveyor.com,2012-11-13:Comment/476635522019-09-27T00:49:34Z2019-09-27T00:49:34ZBuilds fail with .NET Core 3 dependencies<div><p>You can log into build VM via RDP and see around what's going on: <a href="https://www.appveyor.com/docs/how-to/rdp-to-build-worker/">https://www.appveyor.com/docs/how-to/rdp-to-build-worker/</a></p>
<p>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.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/476635522019-09-30T23:56:23Z2019-09-30T23:56:23ZBuilds fail with .NET Core 3 dependencies<div><p><strong>@rocky</strong> please watch <a href="https://github.com/appveyor/ci/issues/3112">https://github.com/appveyor/ci/issues/3112</a>, we plan to do the change asap, hopefully in a week or two.</p></div>Ilya Finkelshteyn