VCProjectReference Interface

Represents a reference to a project in the same solution.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

[GuidAttribute("F3881D52-F078-40C6-9806-ACB82F46B7CA")]
public interface VCProjectReference : VCReference

The VCProjectReference type exposes the following members.

  NameDescription
Public propertyAssemblyNameGets the assembly name for this project.
Public propertyBuildNumberThe build number of the referenced assembly.
Public propertyCopyLocalGets or sets a value indicating whether to automatically copy the reference to the target directory.
Public propertyCopyLocalDependenciesInfrastructure. Microsoft Internal Use Only.
Public propertyCopyLocalSatelliteAssembliesInfrastructure. Microsoft Internal Use Only.
Public propertyCultureGets the culture for the selected reference.
Public propertyDescriptionGets or sets a string that represents the description for the object or the use of the output group.
Public propertyFullPathGets the full path to the referenced assembly.
Public propertyIdentityThe identity of the referenced assembly.
Public propertyIsProjectLoadedGets whether a project is loaded.
Public propertyItemNameGets the name of the current item in the collection.
Public propertyKindGets an enumeration indicating the type of object.
Public propertyLabelGets the display name of the referenced assembly.
Public propertyLinkLibraryDependencyGets or sets whether there are link library dependencies.
Public propertymajorVersionGets the major version of the referenced assembly.
Public propertyMinFrameworkVersionGets the minimum version of the .NET Framework required by the project.
Public propertyminorVersionGets the minor version of the referenced assembly.
Public propertyNameGets or sets the name of the object.
Public propertyParentGets the immediate parent object of a given object.
Public propertyprojectGets the VCProject associated with the object.
Public propertyPublicKeyTokenGets the public key token for the referenced assembly.
Public propertyReferenceDisplays the reference associated with this configuration.
Public propertyReferencedProjectGets or sets the pointer to the project for the selected project reference.
Public propertyReferencedProjectIdentifierInfrastructure. Microsoft internal use only.
Public propertyRevisionNumberGets the revision number of the selected reference.
Public propertyStrongNameGets a value indicating whether or not the selected reference has a strong name.
Public propertySubTypeInfrastructure. Microsoft use only. Do not use.
Public propertyUseDependenciesInBuildSets or gets whether to use addemblies in abuild.
Public propertyUseInBuildSets or gets whether referenced assemblies should be used in the build.
Public propertyUseLibraryDependencyInputsGets or sets whether independent linking of libraries is enabled.
Public propertyVCProjectEngineGets a pointer to the project engine.
Public propertyVCReferencesGets the collection of references for the selected project.
Public propertyVersionGets the version of the selected reference.
Top

  NameDescription
Public methodMatchNameMatches a specified name to the name of a collection item.
Public methodRemoveRemoves the specified project from the solution.
Top

At minimum, VCProjectReference is a build-order dependency. If it is a .NET assembly, it is included in the DLL. If it is not a .NET assembly and it searches a .lib file, it is linked into your EXE.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft