Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DevCom] No way to resolve conflict with mscorlib #2700

Closed
grendello opened this issue Feb 6, 2019 · 1 comment
Closed

[DevCom] No way to resolve conflict with mscorlib #2700

grendello opened this issue Feb 6, 2019 · 1 comment
Assignees
Labels
Area: App+Library Build Issues when building Library projects or Application projects.

Comments

@grendello
Copy link
Contributor

Developer Community issue: https://developercommunity.visualstudio.com/content/problem/356750/no-way-to-resolve-conflict-with-mscorlib.html

Original post:

Installed VS 15.8.7 and tried to compile my existing Xamarin Forms app after updating it to 3.3.0-pre3, but I'm having issues with Android compilation. Looks like there is some kind of version conflict with mscorlib.

1>------ Rebuild All started: Project: TestClient, Configuration: Debug Any CPU ------
1> Fody: Fody (version 3.2.9.0) Executing
1> Fody: Searched for 'PropertyChanged'. Found: C:\Users\xyz.nuget\packages\propertychanged.fody\2.5.13\build..\netclassicweaver\PropertyChanged.Fody.dll
1> Fody: Finished Fody 172ms.
1>TestClient -> C:\s\Test\TestClient\TestClient\TestClient\bin\Debug\netstandard2.0\TestClient.dll
1> Fody: Skipped Verifying assembly since it is disabled in configuration
2>------ Rebuild All started: Project: TestClient.Android, Configuration: Debug Any CPU ------
2>C:\s\Test\TestClient\TestClient\TestClient.Android\FodyWeavers.xml : warning XA0101: @(Content) build action is not supported
2> Fody: Fody (version 3.2.9.0) Executing
2> Fody: Searched for 'PropertyChanged'. Found: C:\Users\xyz.nuget\packages\propertychanged.fody\2.5.13\build..\netclassicweaver\PropertyChanged.Fody.dll
2> Fody: Finished Fody 173ms.
2> TestClient.Android -> C:\s\Test\TestClient\TestClient\TestClient.Android\bin\Debug\TestClient.Android.dll
2> Fody: Skipped Verifying assembly since it is disabled in configuration
2> No way to resolve conflict between "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" and "mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e". Choosing "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" arbitrarily.
2>COMPILETODALVIK : PARSE error :
2>COMPILETODALVIK : PARSE error :
2>COMPILETODALVIK : PARSE error :
2>COMPILETODALVIK : PARSE error :
2>COMPILETODALVIK : PARSE error : 
@grendello grendello added the Area: App+Library Build Issues when building Library projects or Application projects. label Feb 6, 2019
@grendello grendello added this to the Under Consideration milestone Feb 6, 2019
@jonathanpeppers
Copy link
Member

So the real error here was:

COMPILETODALVIK : PARSE error :

The ExoPlayer library has Java 8 bytecode.

Closing, since they also appear to solve the problem here by using d8 in Visual Studio 2019 Preview 2.

@ghost ghost locked as resolved and limited conversation to collaborators Jun 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Area: App+Library Build Issues when building Library projects or Application projects.
Projects
None yet
Development

No branches or pull requests

3 participants