Sunday 15 June 2014

c# - Visual Studio calls post build events before building is done -



c# - Visual Studio calls post build events before building is done -

thus can not actual output of build process, e.g. i'm getting "file not found" everything. thought how can create vs wait until binaries created ?

edit: calling:

echo on re-create /y $(outdir)$(targetfilename) $(outdir)plugins\$(targetfilename)

getting:

d:\coding\wip\kspflightplanner\kspflightplanner\bin\release\kspflightplanner.dll 1> das scheme kann den angegebenen pfad nicht finden.

(file not found)

file there, path , name correct.

edit2: tried xcopy "$(outdir)$(targetfilename)" "$(outdir)plugins\" , xcopy "$(outdir)$(targetfilename)" "$(outdir)plugins\$(targetfilename)", still same error.

1> kspflightplanner -> d:\coding\wip\kspflightplanner\kspflightplanner\bin\release\kspflightplanner.dll 1> 0 datei(en) kopiert 1> datei kspflightplanner.dll nicht gefunden

error 3 command "echo on xcopy "bin\release\kspflightplanner.dll" "bin\release\plugins\" " exited code 4. kspflightplanner

use this:

copy /y "$(targetdir)$(targetfilename)" "$(targetdir)plugins\$(targetfilename)"

c# visual-studio-2013

No comments:

Post a Comment