我正在使用ILSpy来确认Dotfuscated文件夹并完美工作,但在完成存档并获得签名的apk文件后,我对apk进行了反编译并使用了ILSpy,而不是应用了Dotfus迎合。
我正在使用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)MSBuildPreEmptiveDotfuscator6</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" />
感谢支持团队