PowerShell-FeatureFlags
PowerShell-FeatureFlags copied to clipboard
Migrate code to C# or F#
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.
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.
Another benefit of this migration could be using CoreRT to build a single binary, which would be easier to deploy.