Compartir a través de


IVsMSBuildTaskFileManager Interface

Enables MSBuild to use memory instead of disk files for Intellisense builds.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("33372170-A08F-47F9-B1AE-CD9F2C3BB7C9")> _
Public Interface IVsMSBuildTaskFileManager
[InterfaceTypeAttribute()]
[GuidAttribute("33372170-A08F-47F9-B1AE-CD9F2C3BB7C9")]
public interface IVsMSBuildTaskFileManager
[InterfaceTypeAttribute()]
[GuidAttribute(L"33372170-A08F-47F9-B1AE-CD9F2C3BB7C9")]
public interface class IVsMSBuildTaskFileManager
[<InterfaceTypeAttribute()>]
[<GuidAttribute("33372170-A08F-47F9-B1AE-CD9F2C3BB7C9")>]
type IVsMSBuildTaskFileManager =  interface end
public interface IVsMSBuildTaskFileManager

The IVsMSBuildTaskFileManager type exposes the following members.

Methods

  Name Description
Public method Delete Deletes a file on disk and removes it from the RDT.
Public method Exists Determines if a file exists in the RDT or on disk.
Public method GetFileContents Gets the contents of a specified file.
Public method GetFileDocData Gets the DocData object for a file registered in the RDT.
Public method GetFileLastChangeTime Gets the time of the last change to a file.
Public method IsRealBuildOperation Determines if a build is real or for design-time Intellisense.
Public method PutGeneratedFileContents Puts the contents of a generated file into an in-memory buffer and registers it in the RDT.

Top

Remarks

This is an interface by which MSBuild tasks can communicate with the specific MSBuild host object VsMSBuildTaskFileManager. This provides MSBuild tasks with the ability to use in memory files instead of disk files for Intellisense builds.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace