IVsMSBuildHostObject::Init Method (IVsHierarchy^, IServiceProvider^)
Visual Studio 2015
Initializes a build host object.
Assembly: Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)
Parameters
- pHier
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^
[in] A IVsHierarchy interface to the project.
- pSP
-
Type:
Microsoft.VisualStudio.OLE.Interop::IServiceProvider^
[in] A IServiceProvider interface to the service provider.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Project systems are expected to call this method after calling MSBuild to build a target (real build or Intellisense build).
From vsshell90.idl:
HRESULT Init(
[in] IVsHierarchy* pHier,
[in] IServiceProvider* pSP
);
Show: