Forum Xamarin.Android

Problem packaging Android app: Could not resolve: Mono.Security

We have quite an old codebase that used to build fine on VS2010 and Xamarin 3.X until I moved to a new dev machine.

The project builds fine but when I try to to run it, it stops with:

The "LinkAssemblies" task failed unexpectedly.
System.IO.FileNotFoundException: Could not resolve: Mono.Security, Version=0.0, Culture=neutral, PublicKeyToken=null
at Mono.Cecil.BaseAssemblyResolver.Resolve(AssemblyNameReference name, ReaderParameters parameters)
at Mono.Linker.AssemblyResolver.Resolve(AssemblyNameReference name, ReaderParameters parameters)
at Mono.Linker.LinkContext.Resolve(IMetadataScope scope)
at Mono.Linker.LinkContext.Resolve(String name)
at Mono.Tuner.PreserveHttps.EndProcess()
at Mono.Linker.Steps.BaseStep.Process(LinkContext context)
at Mono.Linker.Pipeline.Process(LinkContext context)
at MonoDroid.Tuner.Linker.Process(LinkerOptions options, LinkContext& context)
at Xamarin.Android.Tasks.LinkAssemblies.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext()

I'm guessing I'm missing a dependency somewhere - has anyone else seen this problem?



  • PeterHenshawPeterHenshaw AUMember

    Might also want to add that the old dev machine used to run Windows 7 and the new one is running Windows 10.

Sign In or Register to comment.