Export (0) Print
Expand All

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("7B82A656-6A95-41A9-BD30-5EA1BFF7B381")]
public interface VCProjectReference : VCReference

The VCProjectReference type exposes the following members.

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

  NameDescription
Public methodMatchName(String, Boolean)Matches a specified name to the name of a collection item.
Public methodMatchName(String, Boolean)Matches a specified name to the name of a collection item. (Inherited from VCReference.)
Public methodRemove()Removes the specified project from the solution.
Public methodRemove()Removes the specified project from the solution. (Inherited from VCReference.)
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.

Community Additions

ADD
Show:
© 2014 Microsoft