Lot of errors while compiling release build
See original GitHub issueHi,
I’m using the latest version of this library. While compiling the release build of my App, I can see those errors in the output:
System.InvalidOperationException: Operation is not valid due to the current state of the object.
at Mono.Cecil.ModuleDefinition.ReadSymbols(ISymbolReader reader)
at Mono.Cecil.ModuleReader.ReadSymbols(ModuleDefinition module, ReaderParameters parameters)
at Mono.Cecil.ModuleReader.CreateModule(Image image, ReaderParameters parameters)
at Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters)
at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.ReadAssembly(String file)
Failed to read 'C:\VisualStudioProjects\Projects\comune\Comune\Comune.Android\obj\Release\linksrc\FFImageLoading.Platform.dll' with debugging symbols. Retrying to load it without it. Error details are logged below.
System.InvalidOperationException: Operation is not valid due to the current state of the object.
at Mono.Cecil.ModuleDefinition.ReadSymbols(ISymbolReader reader)
at Mono.Cecil.ModuleReader.ReadSymbols(ModuleDefinition module, ReaderParameters parameters)
at Mono.Cecil.ModuleReader.CreateModule(Image image, ReaderParameters parameters)
at Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters)
at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.ReadAssembly(String file)
Failed to read 'C:\VisualStudioProjects\Projects\comune\Comune\Comune.Android\obj\Release\linksrc\FFImageLoading.Transformations.dll' with debugging symbols. Retrying to load it without it. Error details are logged below.
System.InvalidOperationException: Operation is not valid due to the current state of the object.
at Mono.Cecil.ModuleDefinition.ReadSymbols(ISymbolReader reader)
at Mono.Cecil.ModuleReader.ReadSymbols(ModuleDefinition module, ReaderParameters parameters)
at Mono.Cecil.ModuleReader.CreateModule(Image image, ReaderParameters parameters)
at Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters)
at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.ReadAssembly(String file)
Failed to read 'C:\VisualStudioProjects\Projects\comune\Comune\Comune.Android\obj\Release\android\assets\FFImageLoading.Forms.Droid.dll' with debugging symbols. Retrying to load it without it. Error details are logged below.
System.InvalidOperationException: Operation is not valid due to the current state of the object.
at Mono.Cecil.ModuleDefinition.ReadSymbols(ISymbolReader reader)
at Mono.Cecil.ModuleReader.ReadSymbols(ModuleDefinition module, ReaderParameters parameters)
at Mono.Cecil.ModuleReader.CreateModule(Image image, ReaderParameters parameters)
at Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters)
at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.ReadAssembly(String file)
Failed to read 'C:\VisualStudioProjects\Projects\comune\Comune\Comune.Android\obj\Release\android\assets\FFImageLoading.Platform.dll' with debugging symbols. Retrying to load it without it. Error details are logged below.
System.InvalidOperationException: Operation is not valid due to the current state of the object.
at Mono.Cecil.ModuleDefinition.ReadSymbols(ISymbolReader reader)
at Mono.Cecil.ModuleReader.ReadSymbols(ModuleDefinition module, ReaderParameters parameters)
at Mono.Cecil.ModuleReader.CreateModule(Image image, ReaderParameters parameters)
at Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters)
at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.ReadAssembly(String file)
Failed to read 'C:\VisualStudioProjects\Projects\comune\Comune\Comune.Android\obj\Release\android\assets\FFImageLoading.Transformations.dll' with debugging symbols. Retrying to load it without it. Error details are logged below.
System.InvalidOperationException: Operation is not valid due to the current state of the object.
at Mono.Cecil.ModuleDefinition.ReadSymbols(ISymbolReader reader)
at Mono.Cecil.ModuleReader.ReadSymbols(ModuleDefinition module, ReaderParameters parameters)
at Mono.Cecil.ModuleReader.CreateModule(Image image, ReaderParameters parameters)
at Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters)
at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.ReadAssembly(String file)
Is it a problem with your library? Let me know, thanks.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
When changing build target to release in Visual Studio ...
c++ - When changing build target to release in Visual Studio, thousands of errors appear - Stack Overflow.
Read more >Common Problems When Creating a Release Build
Common Problems When Creating a Release Build · In this article · Heap Layout · Compilation · Pointer Support · Optimizations · See...
Read more >Fixing Release Build Problems
In this article ... If your code generates compile errors after switching from debug build to release build, there are some areas you...
Read more >Errors when compiling in release mode of Visual Studio but ...
Errors when compiling in release mode of Visual Studio but Debug mode is fine. We wanted to see if the Telerik controls like...
Read more >[Solved] I can't compile in release mode
My first guess is that you have some preprocessor settings missed or different in release build. Some more details as the complete error...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I switched to Mac. Thank you man for your work.
Newest code compiles just fine on Windows and Mac, we use AppVeyor and all build are compiled on Windows. I don’t think those errors are related to FFImageLoading at all (rather Visual studio issue)