Hey, i need some help please.
I dont get this error away:
Severity Code Description Project File Line Suppression State
Error The command "xcopy "D:\Cloud\Projekte\AMP_CubeCoders\SampleAMPModule\bin\Debug\RustModule.dll" "D:\Cloud\Projekte\AMP_CubeCoders\SampleAMPModule\SampleAMPModule\bin\Debug\Plugins\RustModule\RustModule.dll" /Y
IF NOT EXIST "D:\Cloud\Projekte\AMP_CubeCoders\SampleAMPModule\bin\Debug\WebRoot\" GOTO NOWEB
xcopy "D:\Cloud\Projekte\AMP_CubeCoders\SampleAMPModule\bin\Debug\WebRoot\*.*" "$D:\Cloud\Projekte\AMP_CubeCoders\SampleAMPModule\bin\Debug\Plugins\RustModule\WebRoot\" /Y /E
:NOWEB" exited with code 4. RustModule
What did i do wrong? [1]
Which path isnt correct?
Every Path of above is existing. And why do i need this paths? I never used Post-build event commands before.
That is my Post-build event command line:
xcopy "$(TargetPath)" "$(SolutionDir)SampleAMPModule\bin\$(ConfigurationName)\Plugins\$(ProjectName)\RustModule.dll" /Y
IF NOT EXIST "$(TargetDir)WebRoot\" GOTO NOWEB
xcopy "$(TargetDir)WebRoot\*.*" "$D:\Cloud\Projekte\AMP_CubeCoders\SampleAMPModule\bin\$(ConfigurationName)\Plugins\$(ProjectName)\WebRoot\" /Y /E
:NOWEB
[1] Common macros for MSBuild commands and properties | Microsoft Docs