Make Microsoft.PowerShell.GraphicalHost buildable

-Exclude *Button files
-Remove unnessasary namespace specifier for resources
This commit is contained in:
Sergei Vorobev
2016-06-21 18:32:20 -07:00
parent 2726a38520
commit 2ffbfe41d6
3 changed files with 8 additions and 4 deletions
@@ -1303,7 +1303,7 @@ Function PSGetSerializedShowCommandInfo
MessageBox.Show(
String.Format(
CultureInfo.CurrentUICulture,
Microsoft.Management.UI.Internal.ShowCommandResources.EndProcessingErrorMessage,
ShowCommandResources.EndProcessingErrorMessage,
errorString),
"Show-Command",
MessageBoxButton.OK,
@@ -75,12 +75,12 @@ namespace Microsoft.Management.UI.Internal
/// <summary>
/// OK Button's content.
/// </summary>
private static readonly string OKButtonContent = Microsoft.Management.UI.Internal.XamlLocalizableResources.OutGridView_Button_OK;
private static readonly string OKButtonContent = XamlLocalizableResources.OutGridView_Button_OK;
/// <summary>
/// Cancel Button's content.
/// </summary>
private static readonly string CancelButtonContent = Microsoft.Management.UI.Internal.XamlLocalizableResources.OutGridView_Button_Cancel;
private static readonly string CancelButtonContent = XamlLocalizableResources.OutGridView_Button_Cancel;
/// <summary>
/// Used to store selected items in the ok processing
@@ -30,7 +30,11 @@
"buildOptions": {
"compile": {
"exclude": [
"ManagementList/CommonControls/ExpanderButtonAutomationPeer.cs"
"ManagementList/CommonControls/ExpanderButtonAutomationPeer.cs",
"ManagementList/CommonControls/ExpanderButton.cs",
"ManagementList/CommonControls/ExpanderButton.Generated.cs",
"ManagementList/Common/PopupControlButton.cs",
"ManagementList/Common/PopupControlButton.Generated.cs"
]
}
}