Build failed with new version of VS 2019

Magnus's Avatar

Magnus

02 Oct, 2020 09:17 AM

Since the latest update xamarin build is failing on both the previous and current version of VS 2019 Image. The problem we have is this https://developercommunity.visualstudio.com/content/problem/1145758/bug-on-release-1670-android-bindings-library.html so this is supposed to be fixed in 16.8 preview 2 and in your latest update you state that you have "Visual Studio 2019 version 16.8 Preview 3" although in my build log it says that the msbuild version is 16.7.0.37604.. shouldn't it say 16.8xxx?
Can you shed some light on this?

  1. Support Staff 1 Posted by Feodor Fitsner on 02 Oct, 2020 05:15 PM

    Feodor Fitsner's Avatar

    Hi Magnus,

    Please use Visual Studio 2019 Preview image to get Visual Studio 2019 version 16.8 Preview 3.

  2. 2 Posted by Magnus Eklöf on 05 Oct, 2020 09:48 AM

    Magnus Eklöf's Avatar

    Thanks, now I get 16.8 as the msbuild version. I do still get problems though, are you familiar with this error?
    "C:\projects\shopndrop-client\IFact.SND3S.Client.Jars\IFact.SND3S.Client.Jars.csproj(220,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Bindings.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk."

  3. 3 Posted by Magnus Eklöf on 05 Oct, 2020 02:32 PM

    Magnus Eklöf's Avatar

    I actually managed to fix the build problems by messing around in the xamarin projects and going back to the standard 2019 image.. so so far it looks good again.

  4. Support Staff 4 Posted by Feodor Fitsner on 05 Oct, 2020 05:17 PM

    Feodor Fitsner's Avatar

    Great, thanks for the update!

  5. Feodor Fitsner closed this discussion on 05 Dec, 2020 09:03 PM.

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

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