IProjectConfigurationService.SetCurrentProject Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set an Active Current Project
public:
System::Threading::Tasks::Task ^ SetCurrentProject(Microsoft::VisualStudio::Workspace::ProjectTargetFileContext ^ projectFileContext, System::String ^ name);
public System.Threading.Tasks.Task SetCurrentProject (Microsoft.VisualStudio.Workspace.ProjectTargetFileContext projectFileContext, string name);
public System.Threading.Tasks.Task SetCurrentProject (Microsoft.VisualStudio.Workspace.ProjectTargetFileContext? projectFileContext, string? name);
abstract member SetCurrentProject : Microsoft.VisualStudio.Workspace.ProjectTargetFileContext * string -> System.Threading.Tasks.Task
Public Function SetCurrentProject (projectFileContext As ProjectTargetFileContext, name As String) As Task
Parameters
- projectFileContext
- ProjectTargetFileContext
The project file context
- name
- String
Optional project configuration name
Returns
Task completion