Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug] Updating to latest packages breaks the VS 2017 build #7638

Closed
omghb opened this issue Sep 23, 2019 · 2 comments
Closed

[Bug] Updating to latest packages breaks the VS 2017 build #7638

omghb opened this issue Sep 23, 2019 · 2 comments
Labels
s/unverified New report that has yet to be verified t/bug 🐛

Comments

@omghb
Copy link

omghb commented Sep 23, 2019

Description

After updating the following packages of my Xamarin Forms App resulted in a broken build:

  • Xamarin.Android.Support.* from 28.0.0.1 to 28.0.0.3
  • Xamarin.Forms from 4.2.0.709249 to 4.2.0.815419
  • Xamarin.Essentials from 1.3.0 to 1.3.1

The build worked in VS 2017 with the previous versions on all platforms.

VS 2019

Build is ok

VS 2017

UWP:

Build is ok

iOS:

MTOUCH : error MT2002: Failed to resolve "System.Collections.Generic.Stack`1" reference from "mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" 

Android

##[error]C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2129,5): Error MSB4018: The "LinkAssemblies" task failed unexpectedly.
Java.Interop.Tools.Diagnostics.XamarinAndroidException: error XA2006: Could not resolve reference to 'System.Collections.Generic.Stack`1' (defined in assembly 'Xamarin.Forms.Platform.Android, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null') with scope 'mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'. When the scope is different from the defining assembly, it usually means that the type is forwarded. ---> Mono.Cecil.ResolutionException: Failed to resolve System.Collections.Generic.Stack`1
@omghb omghb added s/unverified New report that has yet to be verified t/bug 🐛 labels Sep 23, 2019
@pauldipietro pauldipietro added this to New in Triage Sep 23, 2019
@MagicAndre1981
Copy link
Contributor

it was already reported

@StephaneDelcroix
Copy link
Member

thanks @MagicAndre1981 . indeed, it's a dupe of #7602

Triage automation moved this from New to Closed Sep 24, 2019
@samhouts samhouts removed this from Closed in Triage Nov 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
s/unverified New report that has yet to be verified t/bug 🐛
Projects
None yet
Development

No branches or pull requests

3 participants