Closed it19862 closed 7 months ago
Well, you indeed can use can run cs-script script with app config files. You can find the Config sample in the samples folder folder of legacy releases.
But I would strongly advise you to avoid using app.config as in the modern .net it is rather anti-pattern. you are better off using JSON config files.
And another reason is that the latest CS-Script is targeting .NET 5 (CS-Script NPP plugin will support it; planned to be done very soon). But .NET 5 has dropped support for app.config for dynamically loaded assemblies.
Question.