XCOPY /Y “$(BuiltOuputPath)” “\\LOCALHOST\_INSTALL” - 什么是 \\LOCALHOST?
我正在尝试构建一个因 PostBuildEvent 而失败的解决方案:
XCOPY /Y“$(BuiltOuputPath)”“\LOCALHOST_INSTALL”
它给出错误:
开始构建后事件...
驱动器规格无效
已复制 0 个文件
我可以访问 \LOCALHOST,但它是空的,并且无法创建文件夹 _INSTALL。 \LOCALHOST 是某种本地网络文件夹吗?或者它是如何使用的?
I am trying to build a solution that fails with the PostBuildEvent:
XCOPY /Y "$(BuiltOuputPath)" "\LOCALHOST_INSTALL"
It gives the error:
Starting post-build events...
Invalid drive specification
0 File(s) copied
I can access \LOCALHOST but it's empty and I can't create the folder _INSTALL. Is \LOCALHOST some kind of local network folder or how is it used?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
\\Localhost
是您的计算机的名称。_INSTALL
将是位于您计算机上的共享。您需要共享一个文件夹并为其指定共享名称
_INSTALL
,确保您对共享应用了相关权限。\\Localhost
is the name of your machine._INSTALL
would be a share located on your machine.You would need to share a folder out and give it the share name of
_INSTALL
ensuring you apply the relevant permissions to the share.localhost 是您本地计算机的网络名称:)
Localhost is the network name of your local machine :)
localhost
是您本地 PC 的名称。\\localhost\_install
指本地 PC 上名为_install
的共享。localhost
is the name of your local PC.\\localhost\_install
refers to a share on your local PC called_install
.