VCReferences.AddProjectReference(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a project reference to the project.
public:
System::Object ^ AddProjectReference(System::Object ^ proj);
public:
Platform::Object ^ AddProjectReference(Platform::Object ^ proj);
winrt::Windows::Foundation::IInspectable AddProjectReference(winrt::Windows::Foundation::IInspectable const & proj);
[System.Runtime.InteropServices.DispId(902)]
public object AddProjectReference (object proj);
[<System.Runtime.InteropServices.DispId(902)>]
abstract member AddProjectReference : obj -> obj
Public Function AddProjectReference (proj As Object) As Object
Parameters
- proj
- Object
The project reference to add.
Returns
An object representing the project reference.
- Attributes
Remarks
You can reference only loaded projects.