Bagikan melalui


IProjectConfigurationService2 Antarmuka

Definisi

Ekstensi untuk antarmuka IProjectConfigurationService

public interface class IProjectConfigurationService2 : Microsoft::VisualStudio::Workspace::Debug::IProjectConfigurationService
public interface class IProjectConfigurationService2 : Microsoft::VisualStudio::Workspace::Debug::IProjectConfigurationService
__interface IProjectConfigurationService2 : Microsoft::VisualStudio::Workspace::Debug::IProjectConfigurationService
public interface IProjectConfigurationService2 : Microsoft.VisualStudio.Workspace.Debug.IProjectConfigurationService
type IProjectConfigurationService2 = interface
    interface IProjectConfigurationService
Public Interface IProjectConfigurationService2
Implements IProjectConfigurationService
Penerapan

Properti

AllProjectFileConfigurations

Semua konfigurasi file proyek dari berbagai sumber

(Diperoleh dari IProjectConfigurationService)
CurrentProject

Dapatkan Proyek Saat Ini

(Diperoleh dari IProjectConfigurationService)
OnBuildConfigurationChanged

Konfigurasi build berubah

(Diperoleh dari IProjectConfigurationService)
OnPropertyChanged

Untuk menerima pemberitahuan ketika properti dalam ini diubah

(Diperoleh dari IProjectConfigurationService)

Metode

CreateBuildProjectIncrementalAction(ProjectTargetFileContext, IBuildConfigurationContext, IFileContextAction)

Mengembalikan tindakan build berdasarkan konteks tindakan build yang ada

(Diperoleh dari IProjectConfigurationService)
CreateCompositeLaunchSettings(ProjectTargetFileContext, DebugLaunchActionContext, IPropertySettings[])

Create Pengaturan peluncuran debug untuk file proyek

(Diperoleh dari IProjectConfigurationService)
CreateCompositeLaunchSettingsAsync(ProjectTargetFileContext, DebugLaunchActionContext, IPropertySettings[])

Create instans pengaturan komposit

CreateContextSettings(IPropertySettings, IConfiguredPropertyEvaluator)

Membuat pengaturan properti dengan evaluator terlampir. Objek yang dikembalikan akan mengimplementasikan IPropertyEvaluatorHost.

CustomizeLaunchSettings(ProjectTargetFileContext, Boolean, Boolean)

Mengkustomisasi pengaturan peluncuran ke file proyek

(Diperoleh dari IProjectConfigurationService)
CustomizeLaunchSettingsAsync(String, IWorkspaceSettings, ProjectTargetFileContext, Boolean, Boolean)

Mengkustomisasi pengaturan peluncuran ke file proyek

GetActiveProjectBuildConfiguration(ProjectTargetFileContext)

Mendapatkan konfigurasi build aktif

(Diperoleh dari IProjectConfigurationService)
GetBuildConfigurations(ProjectTargetFileContext)

Mengembalikan semua konfigurasi build untuk file proyek

(Diperoleh dari IProjectConfigurationService)
GetProjectFileConfiguration(ProjectTargetFileContext, String, String)

Mengambil konfigurasi proyek untuk File Proyek

(Diperoleh dari IProjectConfigurationService)
RefreshIndexedProjectsAsync()

Refresh semua proyek terindeks yang kami lacak

SetCurrentProject(ProjectTargetFileContext, String)

Mengatur Proyek Aktif Saat Ini

(Diperoleh dari IProjectConfigurationService)
SetStartupProject(ProjectTargetFileContext, Boolean)

Menambahkan atau Menghapus File proyek Startup

(Diperoleh dari IProjectConfigurationService)
UpdateCurrentProjectActions()

Memperbarui tindakan proyek saat ini

(Diperoleh dari IProjectConfigurationService)
ValidateLaunchSettingsAsync(String)

Memvalidasi konten JSON dari launch.vs.json

Berlaku untuk