android - Dotfuscasor Xamarin Dotfocused assembles 与反编译 apk 中的不同
问题描述
我正在使用 ILSpy 来确认 Dotfuscated 文件夹并且工作正常,但是在完成存档并获取签名的 apk 文件之后,我反编译了 apk 并使用 ILSpy 而没有应用 Dotfuscator。
我正在使用 VS 2019,Xamarin 表单。
解决方案
此问题已解决,移至 Dotfuscator Pro 评估
从 csproj 文件中删除我当前的配置。
在文件末尾添加以下配置(转到 </project> 标记和标记复制之前:)
<Import Project="$([System.Environment]::GetFolderPath(SpecialFolder.UserProfile))\.dotfuscator.user.props" Condition="Exists('$([System.Environment]::GetFolderPath(SpecialFolder.UserProfile))\.dotfuscator.user.props')" /> <!-- Set build properties for Dotfuscator. --> <PropertyGroup> <!-- Specify the location of the MSBuild targets, if not already provided. --> <DotfuscatorMSBuildDir Condition="'$(DotfuscatorMSBuildDir)' == ''">$(MSBuildProgramFiles32)\MSBuild\PreEmptive\Dotfuscator\6</DotfuscatorMSBuildDir> <!-- Generate a default Dotfuscator config file (DotfuscatorConfig.xml) if it doesn't exist. --> <!-- TODO: Set this to false after the file is generated by the first local build. --> <DotfuscatorGenerateConfigFileIfMissing>true</DotfuscatorGenerateConfigFileIfMissing> <!-- Enable Dotfuscator for Release builds. --> <DotfuscatorEnabled Condition="'$(Configuration)' == 'Release'">true</DotfuscatorEnabled> <!-- Only needed when using Tamper Checks for Android. --> <!-- TODO: If using Tamper Checks for Android, set this to the SHA-1 fingerprint of the certificate used to sign the app. --> <DotfuscatorAndroidSigningCertFingerprint></DotfuscatorAndroidSigningCertFingerprint> </PropertyGroup> <!-- Import the Dotfuscator MSBuild targets. Must be done last. --> <Import Project="$(DotfuscatorMSBuildDir)\PreEmptive.Dotfuscator.Common.targets" />
感谢支持团队
推荐阅读
- python - 为什么我会得到 IndexError: string index out of range?
- excel - Excel计算文本值中包含数字1的列数
- python - Python exe 文件由于 ModuleNotFoundError: Numpy 而失败。这很令人困惑,因为 numpy 已经安装并且程序在 Pycharm 中运行
- angular - 如何从另一个 Angular 项目加载模块?
- git - Jenkins 多分支管道在项目存储库中使用变量
- linux - 错误:Ubuntu 中 Qemu 上的虚拟 Raspbian
- c# - 无法将 x 类型的对象转换为 y 类型
- c++ - 如何从 malloc 编辑的 std::string 创建一个 std::string?
- python - 如何将视频流从一个 Python 传递到另一个?
- javascript - 如何在 vueJS 中滚动查看新添加的列表项