如何更改汇编目录? VS无法在文件夹中找到程序集

问题描述 投票:1回答:1

我正在尝试为热敏打印机创建程序。

我从Intermec网站下载了一个Hello World示例。

但是,当我尝试运行时说:

/Library/Frameworks/Mono.framework/Versions/5.20.1/lib/mono/msbuild/15.0/bin/Microsoft.Common.CurrentVersion.targets(5,5):错误MSB3073:命令“mono c:/ Intermec / SmartPrintingRK /Utils/FtpPut.exe HelloWorld.exe ftp://10.203.33.124/apps/HelloWorld.exe用户传递“停止代码2.(MSB3073)(HelloWorld)

我尝试删除并再次添加程序集但没有任何成功。

PostBuildEvent cible:mono c:/Intermec/SmartPrintingRK/Utils/FtpPut.exe HelloWorld.exe ftp://10.203.33.124/apps/HelloWorld.exe用户传递无法打开程序集'c:/Intermec/SmartPrintingRK/Utils/FtpPut.exe':没有这样的文件或目录。 /Library/Frameworks/Mono.framework/Versions/5.20.1/lib/mono/msbuild/15.0/bin/Microsoft.Common.CurrentVersion.targets(5167,5):错误MSB3073:命令“mono c:/ Intermec / SmartPrintingRK /Utils/FtpPut.exe HelloWorld.exe ftp://10.203.33.124/apps/HelloWorld.exe用户传递“停止代码2.Générationdela cible”PostBuildEvent“结束于项目”HelloWorld.csproj“ - 失败

'c:/Intermec/SmartPrintingRK/Utils/FtpPut.exe':没有这样的文件或目录。

但我在Mac上,所以你肯定找不到文件...如何更改它?

macos visual-studio mono post-build-event
1个回答
1
投票

好的,找到一种解决方法。右键单击树中的项目名称,然后选择“工具”,然后编辑文件。在脚本的末尾,应该通过FtpPut.exe的实际目录更改目录名称

© www.soinside.com 2019 - 2024. All rights reserved.