post build error during xcopy followed by build task getting cancelled

  • Thread starter Thread starter Anuchen
  • Start date Start date
A

Anuchen

Guest
Hello,

I am using VS 2017 to build a C++ project. Upon build i got the xcopy error on my post build event:

for %%f in ("$(OutDir)MantisXPlanePlugin_32D.xpl","$(OutDir)MantisXPlanePlugin_32D.pdb") do xcopy /Y %%f "C:\X-Plane 10\Resources\plugins"

In accordance with one suggestion, I replaced xcopy with copy but the build task itself got cancelled after that

I now get this message when i try to build:

------ Rebuild All started: Project: HelloWorld, Configuration: Debug Win32 ------
1>A task was canceled.
1>A task was canceled.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

No errors are displayed

Could you please help?

Thank you

Continue reading...
 
Back
Top