@Scott-Sumner said:
Perhaps the best way to explain it so that it is understood is that instead of doing
cmd /k csc.exe “$(C:\Users\user1\Documents\MyFiles\sample.cs)”
You should do
cmd /k csc.exe “C:\Users\user1\Documents\MyFiles\sample.cs”
Make sure that works, then change it to how you really should do it, and that is, have your file – C:\Users\user1\Documents\MyFiles\sample.cs – active in an editor tab, and then invoke exactly this:
cmd /k csc.exe “$(FULL_CURRENT_PATH)”
TY guys I’m up and running.