Hi, I’ve managed to track this down and it turned out to be nothing to do with mono.
In the process of creating a test case, I found I had a reference to an old version of Npgsql (this is not provided via a yocto recipe). The old version I was referencing included an old version of Mono.Security.dll. My application found this version rather than the version delivered by Mono as it was in the application directory. Later versions of Npgsql have now dropped the inclusion of Mono.Security.dll. Robin From: Alex J Lennon [mailto:ajlen...@dynamicdevices.co.uk] Sent: 02 October 2017 16:03 To: MUGRIDGE Robin Cc: yocto@yoctoproject.org Subject: -|EXT|- Re: [yocto] mono 5.0.1.1 TypeLoadException Hi Robin, If you supply a test case I’ll take a look. Regards, Alex On 2 Oct 2017, at 15:02, MUGRIDGE Robin <robin.mugri...@oxinst.com<mailto:robin.mugri...@oxinst.com>> wrote: Hi, I am using mono with Krogoth. The current version of mono we are building with is 4.2.2.30. I am trying to move mono forward to 5.0.1.1 to avoid an issue in the HttpListener class, but now get a TypeLoadException which I assume is a missing assembly or a build configuration error, but I’m struggling to work out what’s wrong… System.TypeLoadException: Could not load type of field 'System.Net.HttpListener:tlsSettings' (9) due to: Could not resolve type with token 01000034 (from typeref, class/assembly Mono.Security.Inteace.MonoTlsSettings, Mono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756) assembly:Mono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756 typMono.Security.Interface.MonoTlsSettings member:<none> Has anyone else come across this and know what the root cause is? Thanks, Robin ___________________________________________________________________________ This e-mail is confidential and is for the addressee only. Please refer to www.oxinst.com/email-statement<http://www.oxinst.com/email-statement> for regulatory information. -- _______________________________________________ yocto mailing list yocto@yoctoproject.org<mailto:yocto@yoctoproject.org> https://lists.yoctoproject.org/listinfo/yocto Click here<https://www.mailcontrol.com/sr/2ZsRA7Ssu2bGX2PQPOmvUhe0y89+yNqhzi4kKcgbI2w74Qr6u8VDhtHBjwBmikGHQyO0qF!Ova7NfN+NdwfdFw==> to report this email as spam.
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto