Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xcopy exited with code 2 in 07-Modules - Directory sample #47

Closed
jebissey opened this issue Jun 4, 2018 · 4 comments
Closed

xcopy exited with code 2 in 07-Modules - Directory sample #47

jebissey opened this issue Jun 4, 2018 · 4 comments

Comments

@jebissey
Copy link
Contributor

jebissey commented Jun 4, 2018

Hi,

There is a little mistake in Post-build event command line

Original line is :
xcopy "$(TargetDir)$(TargetName)*$(TargetExt)" "$(SolutionDir)$(SolutionName)$(OutDir)Modules" /Y /S

The fix is :
xcopy "$(TargetDir)$(TargetName)*$(TargetExt)" "$(SolutionDir)$(SolutionName)$(OutDir)Modules" /Y /S

Regards

@brianlagunas
Copy link
Member

What' the difference? Can you bold the change? Also we accept PR's

@jebissey
Copy link
Contributor Author

jebissey commented Jun 5, 2018

Sorry, this is the corrected line

xcopy "$(TargetDir)$(TargetName)*$(TargetExt)" "$(SolutionDir)$(SolutionName)$(OutDir)Modules" /Y /S

There are missing \ after "$(SolutionName)".
I also add another one after "Modules".

@jebissey
Copy link
Contributor Author

jebissey commented Jun 5, 2018

My \ are deleted ...
A try with \

xcopy "$(TargetDir)$(TargetName)*$(TargetExt)" "$(SolutionDir)$(SolutionName)\$(OutDir)Modules\" /Y /S

@jebissey
Copy link
Contributor Author

jebissey commented Jun 5, 2018

Yes it ok with double \

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants