PowerShell-FeatureFlags icon indicating copy to clipboard operation
PowerShell-FeatureFlags copied to clipboard

Migrate code to C# or F#

Open lupino3 opened this issue 6 years ago • 2 comments

The PowerShell code works, but at this point it might be better to implement the cmdlet in pure C#.

This should buy us some more advantages, as the dotnet tool seems to not support very well the PowerShell sources, treating them more as resources than as source files, and requiring us to write ad-hoc scripts to do the "build" and publishing of the code.

This would also remove the ugly part of the code where we try to find the JSON and JSON Schema DLLs and load assemblies directly from those files.

lupino3 avatar Aug 14 '19 08:08 lupino3

The other advantage of migrating to C# would be making available the core features in C# and all the .NET language, leaving the PowerShell Cmdlets as shims over a generic .NET library.

lupino3 avatar Aug 16 '19 14:08 lupino3

Another benefit of this migration could be using CoreRT to build a single binary, which would be easier to deploy.

pviotti avatar Aug 18 '19 13:08 pviotti