MarkupCompilePass1.IsRunningInVisualStudio Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets or sets a value that indicates whether the task is running in Visual Studio.

Namespace:   Microsoft.Build.Tasks.Windows
Assembly:  PresentationBuildTasks (in PresentationBuildTasks.dll)

public bool IsRunningInVisualStudio { get; set; }

Property Value

Type: System.Boolean

true if the task is running in Visual Studio; otherwise, false.

.NET Framework
Available since 4.5
Return to top