Dongbo Wang

Results 459 comments of Dongbo Wang

> could have in the default assembly reference list all assemblies from PowerShell home directory as "SDK". It's not clear to me what you mean by this. Do you mean...

@fMichaleczek Thanks! Please also take into account the application-hosting-powershell scenario, where `Microsoft.PowerShell.SDK` is referenced and `pwsh` is not available. Today, the `ref` folder is shipped with the `Microsoft.PowerShell.SDK` nuget package.

I think there are 2 problems worth discussing here: 1. `[ordered]` is treated as a special attribute solely for the syntax `[ordered] + `. Is that something we want to...

> I think the second part answers the first part here 🙁. We can't actually know if a type will never be resolvable. But can we know if a type...

WG-Engine discussed this one today (5/12/2022). > 1. `[ordered]` is treated as a special attribute solely for the syntax `[ordered] + `. Is that something we want to change? >...

#17328 was merged to mitigate the perf issue regarding `[ordered]` specifically: > This alone cuts the wallclock time for parsing `[ordered]@{}` compared to `[nonexisting]@{}` by 45-50%:

Build failure: > /home/vsts/work/1/s/src/System.Management.Automation/utils/Telemetry.cs(146,17): error CS0618: 'TelemetryConfiguration.InstrumentationKey.set' is obsolete: 'InstrumentationKey based global ingestion is being deprecated. Use TelemetryConfiguration.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.' [/home/vsts/work/1/s/src/System.Management.Automation/System.Management.Automation.csproj] @JamesWTruher It looks we need to...

@teknoraver An issue should be created before submitting a PR for evaluating whether a fix is really needed. Can you please first open an issue for discussion? Here is the...

The Engine WG discussed this issue today, and we believe this is a by-design behavior. `pwsh -noninteractive` actually gives you an interactive shell, despite the `-noninteractive` flag being specified. Within...

Just FYI, the issue about `Update-Help PSReadLine` is a known issue due to the in-box PSReadLine module folder name, which has been fixed in newer versions of Windows. Please see...