diff --git a/build.psm1 b/build.psm1 index 2a109da28e..d5af6b1d35 100644 --- a/build.psm1 +++ b/build.psm1 @@ -145,7 +145,8 @@ function Start-PSBuild { } # handle ResGen - if ($ResGen -or -not (Test-Path "$($Options.Top)/gen")) + # Heuristic to run ResGen on the fresh machine + if ($ResGen -or -not (Test-Path "$PSScriptRoot/src/Microsoft.PowerShell.ConsoleHost/gen")) { log "Run ResGen (generating C# bindings for resx files)" Start-ResGen diff --git a/src/Microsoft.PowerShell.Commands.Management/map.json b/src/Microsoft.PowerShell.Commands.Management/map.json index 98ea88c235..7d4e51d0e0 100644 --- a/src/Microsoft.PowerShell.Commands.Management/map.json +++ b/src/Microsoft.PowerShell.Commands.Management/map.json @@ -17,6 +17,7 @@ "monad/src/commands/management/ClearContentCommand.cs": "commands/management/ClearContentCommand.cs", "monad/src/commands/management/resources/ProcessCommandHelpResources.resx": "resources/ProcessCommandHelpResources.resx", "monad/src/commands/management/resources/ComputerResources.resx": "resources/ComputerResources.resx", + "monad/src/commands/management/resources/ComputerInfoResources.resx": "resources/ComputerInfoResources.resx", "monad/src/commands/management/SetClipboardCommand.cs": "commands/management/SetClipboardCommand.cs", "monad/src/commands/management/ResolvePathCommand.cs": "commands/management/ResolvePathCommand.cs", "monad/src/commands/management/resources/ProcessResources.resx": "resources/ProcessResources.resx", diff --git a/src/Microsoft.PowerShell.Commands.Management/resources/ComputerInfoResources.resx b/src/Microsoft.PowerShell.Commands.Management/resources/ComputerInfoResources.resx new file mode 100644 index 0000000000..ebcfddb5bf --- /dev/null +++ b/src/Microsoft.PowerShell.Commands.Management/resources/ComputerInfoResources.resx @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Loading operating system information + + + Loading hot-patch information + + + Loading registry information + + + Loading BIOS information + + + Loading motherboard information + + + Loading Computer information + + + Loading processor information + + + Loading network adapter information + + \ No newline at end of file