【问题标题】:Dotfuscasor Xamarin Dotfocused assembles are not the same one in decompiled apkDotfuscasor Xamarin Dotfocused assembles 与反编译 apk 中的不同
【发布时间】:2020-07-10 06:29:22
【问题描述】:

我正在使用 ILSpy 来确认 Dotfuscated 文件夹并且工作正常,但是在完成存档并获得签名的 apk 文件之后,我反编译了 apk 并使用 ILSpy 而没有应用 Dotfuscate。

我正在使用 VS 2019,Xamarin 表单。

【问题讨论】:

  • 我在 Dotfuscator 团队工作。您使用的是 Dotfuscator Community(Visual Studio 免费)还是 Dotfuscator Professional?什么版本?
  • 我无法重现此问题;您能否编辑您的问题以包含更多细节?
  • 我的 VS 配置文件:Microsoft Visual Studio Professional 2019 版本 16.6.2 Microsoft .NET Framework 版本 4.8.03752 已安装版本:Professional Dotfuscator Community Edition 5.44.0.10087-6530a8d80a PreEmptive Protection - Dotfuscator CE
  • 我正在后期构建中移动 dotfuscated 程序集,但我已经使用 ILSpy 确认 bin\release 文件夹中的内容,但是当我执行存档并反编译 apk 并查看解压缩应用程序时>unknow>组装文件夹的内容没有被混淆。
  • 听起来您正在使用带有某种手动集成的 Dotfuscator。你试过the recommended integration method吗?

标签: android xamarin apk dotfuscator


【解决方案1】:

这个问题已解决,转移到 Dotfuscator Pro 评估

  1. 从 csproj 文件中删除我当前的配置。

  2. 在文件末尾添加如下配置(去 标记和标记复制之前:)

      <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" />
    

感谢支持团队

【讨论】:

    猜你喜欢
    • 2017-10-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-12-17
    • 1970-01-01
    • 2014-07-19
    • 2017-08-02
    • 2014-02-07
    相关资源
    最近更新 更多