IProjectConfigurationService.SetStartupProject 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.
Add or Remove a Startup project File
public:
System::Threading::Tasks::Task ^ SetStartupProject(Microsoft::VisualStudio::Workspace::ProjectTargetFileContext ^ projectFileContext, bool add);
public System.Threading.Tasks.Task SetStartupProject (Microsoft.VisualStudio.Workspace.ProjectTargetFileContext projectFileContext, bool add);
abstract member SetStartupProject : Microsoft.VisualStudio.Workspace.ProjectTargetFileContext * bool -> System.Threading.Tasks.Task
Public Function SetStartupProject (projectFileContext As ProjectTargetFileContext, add As Boolean) As Task
Parameters
- projectFileContext
- ProjectTargetFileContext
The project file context
- add
- Boolean
if add or remove is desired
Returns
Task to monitor completion