xamarin - Dotfuscator UWP 命令已退出,代码为 1

标签 xamarin uwp dotfuscator preemptive

我正在配置我的 Xamarin 解决方案以使用 Dotfuscator 使用 this 来混淆代码按照说明,我的 Android 和 iOS 项目一切顺利,但我无法使其与 UWP 一起使用。我的 UWP 项目的目标是 v10.0.15063,我尝试过使用 Dotfuscator CE v5.30.0.5167 和 v5.32.1.6167,但没有成功。

错误:

El comando ""C:\Program Files (x86)\PreEmptiveSolutions\DotfuscatorCE\dotfuscatorCLI.exe" /p:InDir="obj\x86\Release\DotfuscatorXamarin\dfin",OutDir="obj\x86\Release\DotfuscatorXamarin\dfout",ReportDir="DotfuscatorReports\x86\Release" "DotfuscatorConfig.xml"" salió con el código 1.

有人可以帮忙吗?

已更新

我已将 VS 构建的日志级别更改为正常,这就是我得到的结果:

1>  [Resultado de la compilación] Analizando el marcado...  
1>  [Resultado de la compilación] El valor no puede ser nulo.  
1>  Nombre del parámetro: key  
1>  [Resultado de la compilación] Error de compilación.

最佳答案

免责声明:我在 PreEmptive Solutions 的 Dotfuscator 团队工作,并以此身份回答这个问题。

您提到的问题似乎是我们最近修复的问题,该问题与 Dotfuscator 无法确定 DataContext 设置的类型有关。

目前,专业版 4.33.0 中提供了修复程序,available here 。目前还没有包含此修复程序的社区版版本,但您可以通过禁用标记分析来解决该问题。为此,set a project property名称为 disable_markup_analysis ,值为 true

关于xamarin - Dotfuscator UWP 命令已退出,代码为 1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47393680/

相关文章:

c# - 显示空白的 XML 元素值

java - Xamarin 绑定(bind) java 库 - 未找到包

xamarin - 当屏幕键盘出现在 Android 上时,xamarin 表单中的隐藏导航栏会出现

c# - 混淆装配和反射

c# - Xamarin C# xaml混淆数据绑定(bind)冲突

xaml - 用于自定义按钮的 ImageButton GestureRecognizers

c# - xaml c# 中的可观察集合静态资源

c# - 可用 UWP 菜单控件之间的差异

xaml - 图像正在 UWP 应用程序中缓存

c# - 是否可以使用 Dotfuscator 更改字符串?