我已使用此link及其运行正常的Xamarin.Android实现了Dotfuscation。现在,我需要将其移动到TFS Build中,如果我将Output Directory设置为$(Build.BinariesDirectory)\ $(BuildConfiguration),并且Dotfuscator失败并出现错误:
C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ Enterprise \ Common7 \ IDE \ Extensions \ PreEmptiveSolutions \ DotfuscatorCE \ Common \ PreEmptive.Dotfuscator.Xamarin.targets(347,5): 错误MSB3073:命令“” C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ Enterprise \ Common7 \ IDE \ Extensions \ PreEmptiveSolutions \ DotfuscatorCE \ dotfuscatorCLI.exe” / p:InDir =“ obj \ Release \ MonoAndroid90 \ DotfuscatorXamarin \ dfin”,OutDir =“ obj \ Release \ MonoAndroid90 \ DotfuscatorXamarin \ dfout”,ReportDir =“ DotfuscatorReports \ C:\ VSAgent_work \ 2 \ b \ Release” 退出“ DotfuscatorConfig.xml”,代码为1。 [C:\ VSAgent_work \ 2 \ s \ Mobile \ Mobile.Android \ Mobile.Android.csproj]
如果我现在将“输出目录”设置为空,则混淆工作正常,那么如何使混淆与当前输出目录一起工作?