I am experimenting with creating a .Net Core Project, which is a NETStandard.Library version 1.6.0.
I wanted to experiment with a post build command, but I noticed now that in our project.json file, there is a "postcompile" script that can be created.
Here is the documentation.
I have created a .cmd file, that I am calling from the json file like so:
In my cmd file I can have a simple copy command, which works:
xcopy /y "C:\Playground\test.txt" "C:\Playground\test\"
What I am stuck on, is what variables are now available to me at this point, to give me access to things like the build output directory? I can't find a reference to this anywhere.
Thanks in advance.