There was a conflict between "Mono.CSharp, Version=2.0.5.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" and "Mono.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756"
See original GitHub issueok, I see this entry about a Mono.Sharp conflict in error list as warning when I try to compile an the android app of xamarin.forms project which uses old packages.config
:
There was a conflict between "Mono.CSharp, Version=2.0.5.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" and "Mono.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756".
1> "Mono.CSharp, Version=2.0.5.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" was chosen because it was primary and "Mono.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" was not.
1> References which depend on "Mono.CSharp, Version=2.0.5.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" [C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ReferenceAssemblies\Microsoft\Framework\MonoAndroid\v1.0\Mono.CSharp.dll].
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ReferenceAssemblies\Microsoft\Framework\MonoAndroid\v1.0\Mono.CSharp.dll
1> Project file item includes which caused reference "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ReferenceAssemblies\Microsoft\Framework\MonoAndroid\v1.0\Mono.CSharp.dll".
1> Mono.CSharp
1> References which depend on "Mono.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" [].
1> D:\Foo.App\packages\Xamarin.HotReload.1.4.19\lib
1>etstandard2.0\Xamarin.Forms.HotReload.Reloader.dll
1> Project file item includes which caused reference "D:\Foo.App\packages\Xamarin.HotReload.1.4.19\lib
1>etstandard2.0\Xamarin.Forms.HotReload.Reloader.dll".
1> Xamarin.Forms.HotReload.Reloader, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL
1> D:\Foo.App\Foo.App\Foo.App\bin\Debug\Foo.App.dll
1>Found conflicts between different versions of "Mono.CSharp" that could not be resolved.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:16 (15 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
no sorry, this git shit annoys me all time.
then it causes compile errors or even errors during installation