IVsProjectFlavorReferences2.QueryCheckIsProjectReferenceOutputValid Method (Object, String, UInt32)
Visual Studio 2015
Called before adding a project reference. Allows the flavor to accept or reject a project reference based on the referenced project output path.
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
int QueryCheckIsProjectReferenceOutputValid( object pReferencedProject, string pszReferencedProjectOutput, out uint pOutputValidity )
Parameters
- pReferencedProject
-
Type:
System.Object
The referenced project.
- pszReferencedProjectOutput
-
Type:
System.String
The output of the referenced project
- pOutputValidity
-
Type:
System.UInt32
The validity, which is one of the __ProjectReferenceOutputValidity values.
Return Value
Type: System.Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
This function allows the flavored project to override the reference validity check performed by the base project, and occurs prior to QueryAddProjectReference call.
Show: