formulahendry / formulahendry/CodeRunnerVS

Error 0x80070057 running a simple powershell script

Open
#9 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
C#
Stars
16
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Hi,
I have simple ps1 file like this :
`Copy-Item -Path ./Debug/* -Destination ./DebugCopy -Recurse -Force`

The ps1 file is added to a solution like this :
![image](https://user-images.githubusercontent.com/10657031/200768860-efc8db9b-0b63-4a4f-b236-ea9e0cc21d50.png)

When I "Run Code" on that file a get this error :
![image](https://user-images.githubusercontent.com/10657031/200768315-3786cad4-ee02-4871-9acd-4a6e5fe3e3c2.png)
0x80070057
E_INVALIDARG

Windows 11 Pro 22H2
Microsoft Visual Studio Enterprise 2022 (64-bit) - Current
Version 17.4.0

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.