-
Notifications
You must be signed in to change notification settings - Fork 69
Latest 5.0.2 gives .net standard 2.1 not compatable with NETFrameworks & Mono.Linker.MarkException using 4.1.4 #80
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
Comments
@LeoJHarris Can you please attach a sample project |
@thudugala Yes I can get try get a sample, setting the linker to none works for the project to get it to succees the build. Any immediate ideas to get it working with linker enabled to SDK assemblies only? Ill skip linking your libary in the skip linking assemblied that will be the best work around I can think of at this stage. Although I'm pretty sure adding a certain line to the proguard.cfg will fix the issue, Ill investigate around that first since it might be an easy fix otherwise. |
also look into #72 |
@thudugala is there a reason for using .net standard 2.1? Can it not be using 2.0 in latest? Going forward it will have issues with referencing unit testing projects using .NETFramework. |
Version 5 and above is targeting Android 10 (this cannot be changed because of android dependency). |
Ill send a sample project as i am unable to get the build working unfortunately. Ill try get something this week. |
@thudugala I migrated my Unit testing project to .net core so I could use latest version of your package and no issue now. |
If your just unit testing a .net standard project i.e. the shared code then it shouldnt matter about the android 10 support with .NET Framework? |
I think Android 10 is only a issue for UITest. |
Issue below occuring in Release mode on android when building project:
Upgrading to latest on this library is causing issues with my UITest project which uses NETFramework 4.6.1 .
netstandard 2.1 is not compatable with any .NETFramework: https://docs.microsoft.com/en-us/dotnet/standard/net-standard
Error is below failing my build:
Im guessing latest version on this plugin prevents referencing projects with NETFramework
I tried a work around by dropping down to version 4.1.4 but I issues (see below) which I think is the linker stripping out some classes maybe? I dont want to set linking to none but if this is a linker issue any ideas how to fix this? Again guessing I need a line to the proguard.cfg to keep some classes?
Full exception:
The text was updated successfully, but these errors were encountered: