Problem with Dotfuscator
See original GitHub issueI couldn’t compile my project using Dotfuscator:
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 Xamarin.AndroidX.Migration.CecilMigrator.Migrate(String source, String destination) in D:\a\1\s\source\Xamarin.AndroidX.Migration\CecilMigrator.cs:line 85 at Xamarin.AndroidX.Migration.CecilMigrator.Migrate(IEnumerable`1 assemblies) in D:\a\1\s\source\Xamarin.AndroidX.Migration\CecilMigrator.cs:line 50 at Xamarin.AndroidX.Migration.BuildTasks.CecilfyFiles.Execute() in D:\a\1\s\source\Xamarin.AndroidX.Migration.BuildTasks\CecilfyFiles.cs:line 35 x2Apps.CheckPlaca.App.Android C:\Users\mario.nuget\packages\xamarin.androidx.migration\1.0.0-preview02\build\Xamarin.AndroidX.Migration.targets 182
Setting the DotfuscatorXamarinEnabled option to FALSE in my csproj solves the problem.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:15 (1 by maintainers)
I know. But we had to migrate because the newest instabug xamarin version dependes on these packages and wen needed to update instabug because it includes some critical bug fixes. Instabug shouldn’t release release updates depending on prerelease packages. Anyways, i fixed it. Here is the solution if anybody is interested in the future:
I commented out the following part inside the PreEmptive.Dotfuscator.Xamarin.targets file.
Then it runs fine.
Are there any news? We are having the same problem since updating to AndroidX and this is stopping us from delivering an important update to our users.