Sep 16, 2019 11:20 AM|PatriceSc|LINK
You are not using VS? With the proper verbose flag in "tools", "options" you should be able to see which command line is launched by VS and start from that.
Seems you are looking for https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/response-file-compiler-option.
It's been a while but if I remember I had once a reference.rsp file with one -reference by line and thn use csc @reference.rsp.