Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SymbolsNotMatchingException - Mono.Cecil crashes when mismatching symbols are found #48

Closed
MikeStacey-Gee opened this issue Jul 10, 2018 · 3 comments
Assignees

Comments

@MikeStacey-Gee
Copy link

MikeStacey-Gee commented Jul 10, 2018

I keep seeing this in the log file:

2018-07-10T14:50:58.5818167+01:00 Assembly being Injected C:\Development\CMSi\CMSi-Full\ams\AMS-MDI\bin\Debug\CMSI-MDI.exe
2018-07-10T14:50:59.0958376+01:00 Error Executing MSBuild Task SInjectionBuildTask -
SymbolsNotMatchingException: Symbols were found but are not matching the assembly
at Mono.Cecil.ModuleDefinition.ReadSymbols(ISymbolReader reader, Boolean throwIfSymbolsAreNotMaching)
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 BridgeVs.Build.SInjection..ctor(String assemblyLocation, String snkCertificatePath, PatchMode mode)
at BridgeVs.Build.Tasks.SInjectionBuildTask.Execute()

No visualizers are output

@codingadventures codingadventures changed the title Reproducible error SymbolsNotMatchingException - Mono.Cecil crashes with when mismatching symbols are found Jul 11, 2018
@codingadventures codingadventures changed the title SymbolsNotMatchingException - Mono.Cecil crashes with when mismatching symbols are found SymbolsNotMatchingException - Mono.Cecil crashes when mismatching symbols are found Jul 11, 2018
@codingadventures
Copy link
Owner

codingadventures commented Jul 11, 2018

Hi Mike,

I've seen that error coming through a lot in Sentry, it happened to me as well during development and testing, I am still not sure why it's firing it. Does it happen only with a specific assembly? Could you try to clear manually the content of the debug folder and do a rebuild?

That error also blocks the compilation process, so if that error occurs it stops from creating the assembly, I should change that

@MikeStacey-Gee
Copy link
Author

MikeStacey-Gee commented Jul 11, 2018 via email

@codingadventures
Copy link
Owner

fixed in the next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants