> > I think you'd probably have to check the redistribution license for Visual > Studio to understand what's allowable - > https://docs.microsoft.com/en-au/visualstudio/releases/2022/redistribution >
Neither Roslyn or csi are mentioned. Web searches produce nothing useful on the subject so far. > An alternative could be to use dotnet-script - > https://github.com/filipw/dotnet-script > Coincidentally I was doing some research for the same colleague who asked "which C# version does csi use?" It turns out you can use csi /langversion:? to list all available and the default (10.0 in my case). I ran a one-liner test: "0123456789"[2..6] This didn't compile and I was confused until I remembered that ranges are Framework dependent. Then I was reminded that you can dotnet tool install -g dotnet-script and run scripts against Core. I've passed this on to my colleague to mull over the choices. *GK*
