当我构建项目时出现此错误
/Library/Frameworks/Mono.framework/Versions/5.0.1/lib/mono/msbuild/15.0/bin/Microsoft.Common.CurrentVersion.targets(5,5):错误MSB3073:命令“xcopy”/ Users / max / core / ExternalInterfaces / Betinaction.ExtTransactions / Betinaction.ExtTransactions / bin / Debug / * .dll“”/ Users / max / core//../packages/BetInAction.Core.1.0.0/"/Y“退出代码127.(MSB3073)(Betinaction.ExtTransactions)
并且此错误将我移至此行代码(此行在代码中的Exec标记中): WorkingDirectory =“$(OutDir)”Command =“$(PostBuildEvent)”
这是该行所在的文件: /Library/Frameworks/Mono.framework/Versions/5.0.1/lib/mono/msbuild/15.0/bin/Microsoft.Common.CurrentVersion.targets
答案 0 :(得分:0)
您应该仔细选择在非Windows平台上使用的命令。可以在这里找到一个例子,
https://github.com/lextm/obfuscar/blob/master/Console/Obfuscar.Console.csproj#L104
## This code only gets half of the job done...
## 95% Confidence Intervals for Error Bars:
p <- ggplot(df_cal, aes(x=ref.co.mean, y=aa34.co.mean)) +
theme_bw() +
geom_errorbar(aes(ymin=aa34.co.mean-aa34.co.ci,
ymax=aa34.co.mean+aa34.co.ci), width =.05) +
xlab("Reference CO (ppm)") +
ylab("AA34 CO (ppm)") +
geom_smooth(method='lm', formula = y~x, se = FALSE) +
geom_point(size=2, shape = 21, fill="White") +
geom_abline(intercept = 0, slope = 1, color, linetype=2, color = "firebrick") +
ggtitle("CO Calibration @ 0% RH") +
theme(plot.title = element_text(hjust = 0.5)) +
annotate("rect", xmin = 4.80, xmax = 5.70, ymin = 0.70, ymax = 1.70,
fill="white", colour="red") +
annotate("text", x=5.25, y=1.50, label= "R^2 == 0.994", parse=T) +
annotate("text", x=5.25, y=1.20, label= "alpha == -0.9490", parse=T) +
annotate("text", x=5.25, y=0.90, label= "beta == 0.849", parse=T)
p
- &gt; rename
mv
- &gt; del
在您的情况下,rm
- &gt; xcopy
有关如何使用cp
的信息,请点击此处
https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man1/cp.1.html