I always thought, that the linker only removes complete unused classes. didn't know, that the linker removes single properties. thanks for this info.
Due to a large apk-size (30mb without linking / 8mb with full linking) I always used link sdk + user to get the smallest possible size. When I use "Link SDK only" I get the following compiler-error: Fehler 13 Unerwarteter Fehler bei der LinkAssemblies-Aufgabe. (error 13 unexpected error at linkassemblies-task) Mono.Cecil.ResolutionException: Failed to resolve System.Void System.Console::set_ForegroundColor(System.ConsoleColor) bei Mono.Linker.Steps.MarkStep.MarkMethod(MethodReference reference) bei Mono.Linker.Steps.MarkStep.MarkInstruction(Instruction instruction) bei Mono.Linker.Steps.MarkStep.MarkMethodBody(MethodBody body) bei Mono.Linker.Steps.MarkStep.ProcessMethod(MethodDefinition method) bei Mono.Linker.Steps.MarkStep.ProcessQueue() bei Mono.Linker.Steps.MarkStep.Process() bei Mono.Linker.Steps.MarkStep.Process(LinkContext context) bei Mono.Linker.Pipeline.Process(LinkContext context) bei MonoDroid.Tuner.Linker.Process(LinkerOptions options, LinkContext& context) bei Xamarin.Android.Tasks.LinkAssemblies.Execute() bei Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() bei Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext() regards Lee -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Problem-with-reflection-tp5713582p5713584.html Sent from the Mono for Android mailing list archive at Nabble.com. _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid