Remove Microsoft.PowerShell.Diagnostics from default Snapins on LINUX

This commit is contained in:
Sergei Vorobev
2016-06-10 07:16:33 +00:00
parent 7170bc681b
commit 32b90c048a
@@ -1408,9 +1408,10 @@ namespace System.Management.Automation
{
defaultMshSnapins = new List<DefaultPSSnapInInformation>()
{
#if !LINUX // Microsoft.PowerShell.Commands.Diagnostics.dll needs to be ported
new DefaultPSSnapInInformation("Microsoft.PowerShell.Diagnostics", "Microsoft.PowerShell.Commands.Diagnostics", null,
"GetEventResources,Description", "GetEventResources,Vendor"),
#endif
new DefaultPSSnapInInformation("Microsoft.PowerShell.Host", "Microsoft.PowerShell.ConsoleHost", null,
"HostMshSnapInResources,Description","HostMshSnapInResources,Vendor"),