Allow the use of C# script (.csx) using .NET Core
ScriptCS will no longer be supported under .NET Core.
Please enable support for dotnet-script (https://github.com/filipw/dotnet-script) so that C# scripts can be executed under .NET Core
Kathryn Marks commented
Our latest Request for Comments (RFC) proposes removing support for scriptcs in favor of dotnet-script.
Shape the proposal with your feedback. We'd love to hear from you!
Thomas B commented
Just wanted to write a custom c# script which uses an HttpClient.
But I am stuck with SendAsync() method and scriptcs which does not supports async/await invocation.
Sad to see that c# scripts are still stuck on windows full .net framework. dotnet-script should be the way to go.
Aaron Roydhouse commented
Octopus Cloud should introduce .Net 5.0 Windows and Ubuntu workers that use dotnet-script and deprecate ScriptCS.
1) ScriptCS is an outdated Windows-only solution that has long since been superseded by donet-script
2) C# scripts do not currently work on Octopus Cloud Ubuntu workers, using dotnet-script would fix that
3) With unification of the .Net Framework and .Net Core as .Net 5.0 dotnet-script is the (only?) compatible solution for the future