Udostępnij za pośrednictwem


VsMSBuildTaskFileManagerClass Class

Definition

This is the standard implementation of the IVsMSBuildTaskFileManager interface, which provides IntelliSense and build-time support to MSBuild tasks.

public ref class VsMSBuildTaskFileManagerClass : Microsoft::VisualStudio::Shell::Interop::IVsMSBuildTaskFileManager, Microsoft::VisualStudio::Shell::Interop::VsMSBuildTaskFileManager
[Windows::Foundation::Metadata::WebHostHidden]
class VsMSBuildTaskFileManagerClass : Microsoft::VisualStudio::Shell::Interop::IVsMSBuildTaskFileManager, Microsoft::VisualStudio::Shell::Interop::VsMSBuildTaskFileManager
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.Guid("E2905C7C-4435-4212-9148-BE9614BD377B")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class VsMSBuildTaskFileManagerClass : Microsoft.VisualStudio.Shell.Interop.IVsMSBuildTaskFileManager, Microsoft.VisualStudio.Shell.Interop.VsMSBuildTaskFileManager
[System.Runtime.InteropServices.Guid("E2905C7C-4435-4212-9148-BE9614BD377B")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
public class VsMSBuildTaskFileManagerClass : Microsoft.VisualStudio.Shell.Interop.IVsMSBuildTaskFileManager, Microsoft.VisualStudio.Shell.Interop.VsMSBuildTaskFileManager
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.Guid("E2905C7C-4435-4212-9148-BE9614BD377B")>]
[<System.Runtime.InteropServices.TypeLibType(2)>]
type VsMSBuildTaskFileManagerClass = class
    interface IVsMSBuildHostObject
    interface VsMSBuildTaskFileManager
    interface IVsMSBuildTaskFileManager
[<System.Runtime.InteropServices.Guid("E2905C7C-4435-4212-9148-BE9614BD377B")>]
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
type VsMSBuildTaskFileManagerClass = class
    interface VsMSBuildTaskFileManager
    interface IVsMSBuildHostObject
    interface IVsMSBuildTaskFileManager
Public Class VsMSBuildTaskFileManagerClass
Implements IVsMSBuildTaskFileManager, VsMSBuildTaskFileManager
Inheritance
VsMSBuildTaskFileManagerClass
Attributes
Implements

Constructors

VsMSBuildTaskFileManagerClass()

Creates a new instance of the class.

Methods

BeginBuild()

Begins a build.

Close()

Closes a build host object.

Delete(String)

Deletes the specified file on disk and removes it from the running document table (RDT).

EndBuild()

Ends a build.

Exists(String, Int32, Int32)

Determines if the specified file exists in the running document table (RDT) or on disk.

GetFileContents(String, String)

Gets the contents of the specified file, based on what is in memory or if not in memory, what is on disk.

GetFileDocData(String, IntPtr)

Retrieves the live punkDocData object for the specified file if the file is registered in the running document table (RDT).

GetFileLastChangeTime(String, FILETIME[])

Retrieves the time of the last change to the specified file.

Init(IVsHierarchy, IServiceProvider)

Initializes a build host object.

IsRealBuildOperation(Int32)

Determines whether this is an actual build operation, or is a design-time-only generation for IntelliSense purposes.

PutGeneratedFileContents(String, String)

Puts the contents for the generated file into an in-memory TextBuffer and registers it in the running document table (RDT) with an RDT_ReadLock. This holds the file open in memory until the project is closed (when the project calls IVsMSBuildHostObject::Close).

Applies to