question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Duplicate ExperimentalFeatures entries in powershell.config.json

See original GitHub issue

Steps to reproduce

Download powershell-7.1.0-preview.6-linux-x64.tar.gz Open powershell.config.json in text editor

Expected behavior

Each ExperimentalFeature is mentioned once.

Actual behavior

There are duplicate entries for: “Microsoft.PowerShell.Utility.PSManageBreakpointsInRunspace”, and “PSDesiredStateConfiguration.InvokeDscResource”

ExpFeatureDupEntries

Environment data

Name                           Value
----                           -----
PSVersion                      7.1.0-preview.6
PSEdition                      Core
GitCommitId                    7.1.0-preview.6
OS                             Linux 5.4.0-42-generic #46~18.04.1-Ubuntu SMP Fri Jul 10 07:21:24 UTC 2020
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
daxian-dbwcommented, Aug 20, 2020

@rjmholt It’s an artifact generated at build time, at the end of Start-PSBuild.

@MaximoTrinidad I guess duplicates are tolerated.

1reaction
TravisEz13commented, Aug 20, 2020

If duplicates are tolerated, this seems like a superficial bug. I’ve moved to future.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Enable-ExperimentalFeature (Microsoft.PowerShell.Core)
The Enable-ExperimentalFeature cmdlet enables experimental features by adding the named experimental features to the powershell.config.json settings file ...
Read more >
about PowerShell Config
The powershell.config.json file contains configuration settings for PowerShell. PowerShell loads this configuration at startup.
Read more >
about Experimental Features - PowerShell
Enabled experimental features are listed in the powershell.config.json file in $PSHOME for all users or the user-specific configuration file ...
Read more >
Inplace upgrade without replacing PowerShell.config.json file
On new upgrades of PowerShell, my settings in this file should not be lost and should be combined with any additional new settings...
Read more >
Edit a json file with case-sensitive duplicate keys using ...
I'm stuck using version 5 of PowerShell. I'm running into issues parsing the file, because the content contains case-sensitive duplicate key ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found