Condividi tramite


VCProjectReference Interface

Definition

Represents a reference to a project in the same solution.

public interface class VCProjectReference : Microsoft::VisualStudio::VCProjectEngine::VCReference
public interface class VCProjectReference : Microsoft::VisualStudio::VCProjectEngine::VCReference
__interface VCProjectReference : Microsoft::VisualStudio::VCProjectEngine::VCReference
[System.Runtime.InteropServices.Guid("5F6F17FB-DBB8-4456-A153-48E862723A68")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface VCProjectReference : Microsoft.VisualStudio.VCProjectEngine.VCReference
[<System.Runtime.InteropServices.Guid("5F6F17FB-DBB8-4456-A153-48E862723A68")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type VCProjectReference = interface
    interface VCReference
Public Interface VCProjectReference
Implements VCReference
Attributes
Implements

Remarks

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.

Properties

AssemblyName

Gets the assembly name for this project.

BuildNumber

The build number of the referenced assembly.

CopyLocal

Gets or sets a value indicating whether to automatically copy the reference to the target directory.

CopyLocalDependencies

Microsoft Internal Use Only.

CopyLocalSatelliteAssemblies

Microsoft Internal Use Only.

Culture

Gets the culture for the selected reference.

Description

Gets or sets a string that represents the description for the object or the use of the output group.

FullPath

Gets the full path to the referenced assembly.

Identity

The identity of the referenced assembly.

IsProjectLoaded

Gets whether a project is loaded.

ItemName

Gets the name of the current item in the collection.

Kind

Gets an enumeration indicating the type of object.

Label

Gets the display name of the referenced assembly.

LinkLibraryDependency

Gets or sets whether there are link library dependencies.

majorVersion

Gets the major version of the referenced assembly.

MinFrameworkVersion

Gets the minimum version of the .NET Framework required by the project.

minorVersion

Gets the minor version of the referenced assembly.

Name

Gets or sets the name of the object.

Parent

Gets the immediate parent object of a given object.

project

Gets the VCProject associated with the object.

PublicKeyToken

Gets the public key token for the referenced assembly.

Reference

Displays the reference associated with this configuration.

ReferencedProject

Gets or sets the pointer to the project for the selected project reference.

ReferencedProjectIdentifier

Microsoft internal use only.

RevisionNumber

Gets the revision number of the selected reference.

StrongName

Gets a value indicating whether or not the selected reference has a strong name.

SubType

Microsoft use only. Do not use.

UseDependenciesInBuild

Sets or gets whether to use addemblies in abuild.

UseInBuild

Sets or gets whether referenced assemblies should be used in the build.

UseLibraryDependencyInputs

Gets or sets whether independent linking of libraries is enabled.

VCProjectEngine

Gets a pointer to the project engine.

VCReferences

Gets the collection of references for the selected project.

VCReferenceType
Version

Gets the version of the selected reference.

Methods

MatchName(String, Boolean)

Matches a specified name to the name of a collection item.

Remove()

Removes the specified project from the solution.

Applies to