准备发布应用程序的问题-集成dotfuscater保护Xamarin,Visual Studio 2017,Android [英] Problems with prepare application to release - integrate dotfuscater protection Xamarin, Visual Studio 2017, android
问题描述
在执行集成dotfuscator期间,我准备发布应用程序(android),如
I prepare my application to release ( android ) , during perform integration dotfuscator , described in
https://www.preemptive.com/dotfuscator/pro/userguide/zh-CN/getting_started_xamarin.html 在构建android项目时收到以下错误
https://www.preemptive.com/dotfuscator/pro/userguide/en/getting_started_xamarin.html On build of android project receive following error
PreEmptive.Dotfuscator.Xamarin.targets(251,9):错误MSB4184: 表达式"".TargetName"无法求值.方法 找不到"System.String.TargetName".
PreEmptive.Dotfuscator.Xamarin.targets(251,9): error MSB4184: The expression """.TargetName" cannot be evaluated. Method 'System.String.TargetName' not found.
我按原样获取文件PreEmptive.Dotfuscator.Xamarin.targets.下载后是否应该更改?
I get the file PreEmptive.Dotfuscator.Xamarin.targets as is. Should it be changed after download ?
我在Visual Studio 2017中使用Xamarin.
I use Xamarin in Visual Studio 2017.
谢谢, 安娜
推荐答案
免责声明:我为Dotfuscator团队的PreEmptive Solutions工作,并以此身份回答.
Disclaimer: I work for PreEmptive Solutions on the Dotfuscator team, and am answering in that capacity.
Update: This issue has been corrected in version 1.3.0 of the file, available here. The original answer follows.
这是PreEmptive.Dotfuscator.Xamarin.targets
文件中的错误.
我们已经在内部提交了一个问题,但作为今天的解决方法,您可以编辑该文件的第251行以替换此问题:
This is an error in the PreEmptive.Dotfuscator.Xamarin.targets
file.
We've filed an issue internally, but as a workaround for today, you can edit line 251 of that file to replace this:
<Destination>%(IntermediateSatelliteAssembliesWithTargetPath.Culture)\$(IntermediateSatelliteAssembliesWithTargetPath.TargetName).resources.dll</Destination>
与此:
<Destination>%(IntermediateSatelliteAssembliesWithTargetPath.Culture)\$(TargetName).resources.dll</Destination>
感谢您引起我们的注意.
Thanks for bringing this to our attention.
这篇关于准备发布应用程序的问题-集成dotfuscater保护Xamarin,Visual Studio 2017,Android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!