I need a simple postcompile
script to work, but i cant seem to get any script to work..
in my project.json
i have the following:
"scripts": {
"postcompile": "echo before building",
"precompile": "echo after building"
}
but when i build, instead of the echo
i get an error: No executable found matching command "echo"
it is the same for any other basic command like cd
, dir
, even cmd
.
though dotnet pack
works
what am i doing wrong?