ICscHostObject.SetGenerateFullPaths Method

Specifies a value indicating whether to specify the absolute path to the file in the compiler output.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Tasks.Hosting
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
Function SetGenerateFullPaths ( _
    generateFullPaths As Boolean _
) As Boolean
bool SetGenerateFullPaths(
    bool generateFullPaths
)
bool SetGenerateFullPaths(
    bool generateFullPaths
)
abstract SetGenerateFullPaths : 
        generateFullPaths:bool -> bool
function SetGenerateFullPaths(
    generateFullPaths : boolean
) : boolean

Parameters

  • generateFullPaths
    Type: System.Boolean

    true specify the absolute path to the file in the compiler output; false to specify only the name of the file in the compiler output.

Return Value

Type: System.Boolean
true if the method was successful; otherwise, false.

.NET Framework Security

See Also

Reference

ICscHostObject Interface

Microsoft.Build.Tasks.Hosting Namespace