Share via


IProjectConfigurationService.CustomizeLaunchSettings Method

Definition

Customize a launch settings to a project file

public System.Threading.Tasks.Task<Tuple<string,Microsoft.VisualStudio.Workspace.IPropertySettings,string,Tuple<int,int>>> CustomizeLaunchSettings (Microsoft.VisualStudio.Workspace.ProjectTargetFileContext projectFileContext, bool allowDuplicate = false, bool updateContent = false);
abstract member CustomizeLaunchSettings : Microsoft.VisualStudio.Workspace.ProjectTargetFileContext * bool * bool -> System.Threading.Tasks.Task<string * Microsoft.VisualStudio.Workspace.IPropertySettings * string * int * int>
Public Function CustomizeLaunchSettings (projectFileContext As ProjectTargetFileContext, Optional allowDuplicate As Boolean = false, Optional updateContent As Boolean = false) As Task(Of Tuple(Of String, IPropertySettings, String, Tuple(Of Integer, Integer)))

Parameters

projectFileContext
ProjectTargetFileContext

The project file context

allowDuplicate
Boolean

If duplication is allowed for project names

updateContent
Boolean

if the launch.json content will be updated on disk

Returns

Context position where the launch configuration section is being placed

Applies to