60 строки
2.2 KiB
C#
60 строки
2.2 KiB
C#
/* ****************************************************************************
|
|
*
|
|
* Copyright (c) Microsoft Corporation.
|
|
*
|
|
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
|
|
* copy of the license can be found in the License.html file at the root of this distribution. If
|
|
* you cannot locate the Apache License, Version 2.0, please send an email to
|
|
* vspython@microsoft.com. By using this source code in any fashion, you are agreeing to be bound
|
|
* by the terms of the Apache License, Version 2.0.
|
|
*
|
|
* You must not remove this notice, or any other, from this software.
|
|
*
|
|
* ***************************************************************************/
|
|
|
|
using System;
|
|
using System.Reflection;
|
|
using System.Resources;
|
|
using System.Runtime.InteropServices;
|
|
using Microsoft.VisualStudio.Shell;
|
|
|
|
// General Information about an assembly is controlled through the following
|
|
// set of attributes. Change these attribute values to modify the information
|
|
// associated with an assembly.
|
|
[assembly: AssemblyTitle("VS Test Host")]
|
|
[assembly: AssemblyDescription("Test host adapter for Visual Studio UI tests.")]
|
|
[assembly: AssemblyCompany("Microsoft Corporation")]
|
|
[assembly: AssemblyProduct("VS Test Host")]
|
|
[assembly: AssemblyCopyright("(c) Microsoft Corporation")]
|
|
[assembly: ComVisible(false)]
|
|
[assembly: CLSCompliant(false)]
|
|
[assembly: NeutralResourcesLanguage("en-US")]
|
|
|
|
[assembly: AssemblyVersion(AssemblyVersionInfo.VSVersion + ".0.5.0")]
|
|
[assembly: AssemblyFileVersion(AssemblyVersionInfo.VSVersion + ".0.5.0")]
|
|
|
|
[assembly: ProvideCodeBase(
|
|
AssemblyName = "Microsoft.VisualStudioTools.VSTestHost." + AssemblyVersionInfo.VSVersion + ".0",
|
|
CodeBase = "Microsoft.VisualStudioTools.VSTestHost." + AssemblyVersionInfo.VSVersion + ".0.dll",
|
|
Version = AssemblyVersionInfo.VSVersion + ".0.5.0"
|
|
)]
|
|
|
|
class AssemblyVersionInfo {
|
|
#if DEV10
|
|
public const string VSVersion = "10";
|
|
#elif DEV11
|
|
public const string VSVersion = "11";
|
|
#elif DEV12
|
|
public const string VSVersion = "12";
|
|
#elif DEV14
|
|
public const string VSVersion = "14";
|
|
#elif DEV15
|
|
public const string VSVersion = "15";
|
|
#elif DEV16
|
|
public const string VSVersion = "16";
|
|
#else
|
|
#error Unrecognized VS version
|
|
#endif
|
|
}
|
|
|