Open
Description
Expected Behavior
dapr init works with different kind of LanguageModes or the automatic configuration of the path environment variables can be disabled via the cli.
Actual Behavior
It crashes when the LanguageMode is set to "ConstrainedLanguage", while dapr init:
Extracting binaries and setting up components...
error moving placement binary to path: Cannot invoke method. Method invocation is supported only on core types in this language mode.
At line:1 char:1
- [System.Environment]::SetEnvironmentVariable('Path',[System.Environme ...
-
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : MethodInvocationNotSupportedInConstrainedLanguage
Steps to Reproduce the Problem
- Set Powershell LanguageMode to "ConstrainedLanguage".
- Run Dapr init
Release Note
RELEASE NOTE:
FIX Fix dapr init bug when using powershell ConstrainedLanguage