37 lines
1.5 KiB
C#
Raw Normal View History

/* ****************************************************************************
*
* 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 Microsoft.VisualStudio.Shell.Interop;
using System.Collections.Generic;
namespace Microsoft.VisualStudio.Project {
/// <summary>
/// Defines an interface for launching a project or a file with or without debugging.
/// </summary>
public interface IProjectLauncher {
/// <summary>
/// Starts a project with or without debugging.
///
/// Returns an HRESULT indicating success or failure.
/// </summary>
int LaunchProject(uint options, Config config, IVsOutputWindowPane pane);
/// <summary>
/// Starts a file in a project with or without debugging.
///
/// Returns an HRESULT indicating success or failure.
/// </summary>
int LaunchFiles(IEnumerable<string> files, uint options, Config config, IVsOutputWindowPane pane);
}
}