<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -->
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
thrownewArgumentException("Must not be null or empty",nameof(accessKey));
}
this.Moniker=moniker;
this.ToolTip=toolTip;
this.AccessKey=accessKey;
this.AutomationText=automationText;
this.IsChecked=initialIsChecked;
this.IsEnabled=initialIsEnabled;
}
/// <summary>
/// The icon shown on the filter's button.
/// </summary>
publicImageMonikerMoniker{get;}
/// <summary>
/// The tooltip shown when the mouse hovers over the button.
/// </summary>
publicstringToolTip{get;}
/// <summary>
/// The key used to toggle the filter's state.
/// </summary>
publicstringAccessKey{get;}
/// <summary>
/// String used to represent the button for automation.
/// </summary>
publicstringAutomationText{get;}
/// <summary>
/// Has the user turned the filter on?
/// </summary>
/// <remarks>
/// The setter will be called when the user toggles the corresponding filter button.
/// </remarks>
publicvirtualboolIsChecked{get;set;}
/// <summary>
/// Is the filter enabled?
/// </summary>
/// <remarks>
/// <para>Disabled filters are shown but are grayed out.</para>
/// <para>Intellisense will never call the setter but the <see cref="CompletionSet"/> owner may and the Intellisense popup will respect the changes.</para>
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
logger.Log($"\n{message} Roslyn binaries to VS folder.");
var devenvFolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86), @"Microsoft Visual Studio 14.0\Common7\IDE");
var vsVersion = Environment.GetEnvironmentVariable("VisualStudioVersion") ?? "14.0";
var devenvFolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86), Invariant($@"Microsoft Visual Studio {vsVersion}\Common7\IDE"));
var destinationFolder = Path.Combine(devenvFolder, "PrivateAssemblies");
var destinationFolder64 = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86), Invariant($@"MSBuild\14.0\{vsVersion}\amd64"));
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.