Hy, I'm developing an UWP application in xamarin pcl. But when I want to build the application in release mode it gives an error that doesn't show in debug mode.
When I go back to debug mode and enable the debug setting "Common language runtime exceptions" I get the following error:
System.IO.FileNotFoundException occurred HResult=0x80070002 Message=Could not load file or assembly 'clrcompression, Culture=neutral, PublicKeyToken=null'. Het systeem kan het opgegeven bestand niet vinden. Source= StackTrace: at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
But the dll is located in the release and in the debug folders.
How to fix?
UPDATE: details:
System.IO.FileNotFoundException occurred HResult=0x80070002 Message=Could not load file or assembly 'clrcompression, Culture=neutral, PublicKeyToken=null'.
Het systeem kan het opgegeven bestand niet vinden. Source=System.Private.CoreLib StackTrace: at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
User contributions licensed under CC BY-SA 3.0