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)
Syntax
'Dichiarazione
<GuidAttribute("7B82A656-6A95-41A9-BD30-5EA1BFF7B381")> _
Public Interface VCProjectReference _
Inherits VCReference
[GuidAttribute("7B82A656-6A95-41A9-BD30-5EA1BFF7B381")]
public interface VCProjectReference : VCReference
[GuidAttribute(L"7B82A656-6A95-41A9-BD30-5EA1BFF7B381")]
public interface class VCProjectReference : VCReference
[<GuidAttribute("7B82A656-6A95-41A9-BD30-5EA1BFF7B381")>]
type VCProjectReference =
interface
interface VCReference
end
public interface VCProjectReference extends VCReference
The VCProjectReference type exposes the following members.
Properties
Name | Description | |
---|---|---|
AssemblyName | Gets the assembly name for this project. | |
AssemblyName | Gets the assembly name for this project. (Inherited from VCReference.) | |
BuildNumber | The build number of the referenced assembly. | |
BuildNumber | The build number of the referenced assembly. (Inherited from VCReference.) | |
CopyLocal | Gets or sets a value indicating whether to automatically copy the reference to the target directory. | |
CopyLocal | Gets or sets a value indicating whether to automatically copy the reference to the target directory. (Inherited from VCReference.) | |
CopyLocalDependencies | Infrastructure. Microsoft Internal Use Only. | |
CopyLocalDependencies | Infrastructure. Microsoft Internal Use Only. (Inherited from VCReference.) | |
CopyLocalSatelliteAssemblies | Infrastructure. Microsoft Internal Use Only. | |
CopyLocalSatelliteAssemblies | Infrastructure. Microsoft Internal Use Only. (Inherited from VCReference.) | |
Culture | Gets the culture for the selected reference. | |
Culture | Gets the culture for the selected reference. (Inherited from VCReference.) | |
Description | Gets or sets a string that represents the description for the object or the use of the output group. | |
Description | Gets or sets a string that represents the description for the object. (Inherited from VCReference.) | |
FullPath | Gets the full path to the referenced assembly. | |
FullPath | Gets the full path to the referenced assembly. (Inherited from VCReference.) | |
Identity | The identity of the referenced assembly. | |
Identity | The identity of the referenced assembly. (Inherited from VCReference.) | |
IsProjectLoaded | Gets whether a project is loaded. | |
ItemName | Gets the name of the current item in the collection. | |
ItemName | Gets the name of the current item in the collection. (Inherited from VCReference.) | |
Kind | Gets an enumeration indicating the type of object. | |
Kind | Gets an enumeration indicating the type of object. (Inherited from VCReference.) | |
Label | Gets the display name of the referenced assembly. | |
Label | Gets the display name of the referenced assembly. (Inherited from VCReference.) | |
LinkLibraryDependency | Gets or sets whether there are link library dependencies. | |
majorVersion | Gets the major version of the referenced assembly. | |
majorVersion | Gets the major version of the referenced assembly. (Inherited from VCReference.) | |
MinFrameworkVersion | Gets the minimum version of the .NET Framework required by the project. | |
MinFrameworkVersion | Gets the minimum version of the .NET Framework required by the project. (Inherited from VCReference.) | |
minorVersion | Gets the minor version of the referenced assembly. | |
minorVersion | Gets the minor version of the referenced assembly. (Inherited from VCReference.) | |
Name | Gets or sets the name of the object. | |
Name | Gets or sets the name of the object. (Inherited from VCReference.) | |
Parent | Gets the immediate parent object of a given object. | |
Parent | Gets the immediate parent object of a given object. (Inherited from VCReference.) | |
project | Gets the VCProject associated with the object. | |
project | Gets the VCProject associated with the object. (Inherited from VCReference.) | |
PublicKeyToken | Gets the public key token for the referenced assembly. | |
PublicKeyToken | Gets the public key token for the referenced assembly. (Inherited from VCReference.) | |
Reference | Displays the reference associated with this configuration. | |
Reference | Gets the reference associated with this configuration. (Inherited from VCReference.) | |
ReferencedProject | Gets or sets the pointer to the project for the selected project reference. | |
ReferencedProjectIdentifier | Infrastructure. Microsoft internal use only. | |
RevisionNumber | Gets the revision number of the selected reference. | |
RevisionNumber | Gets the revision number of the selected reference. (Inherited from VCReference.) | |
StrongName | Gets a value indicating whether or not the selected reference has a strong name. | |
StrongName | Gets a value indicating whether or not the selected reference has a strong name. (Inherited from VCReference.) | |
SubType | Infrastructure. Microsoft use only. Do not use. | |
SubType | Infrastructure. Microsoft use only. Do not use. (Inherited from VCReference.) | |
UseDependenciesInBuild | Sets or gets whether to use addemblies in abuild. | |
UseDependenciesInBuild | Sets or gets whether to use addemblies in abuild. (Inherited from VCReference.) | |
UseInBuild | Sets or gets whether referenced assemblies should be used in the build. | |
UseInBuild | Sets or gets whether referenced assemblies should be used in the build. (Inherited from VCReference.) | |
UseLibraryDependencyInputs | Gets or sets whether independent linking of libraries is enabled. | |
VCProjectEngine | Gets a pointer to the project engine. | |
VCProjectEngine | Gets a pointer to the project engine. (Inherited from VCReference.) | |
VCReferences | Gets the collection of references for the selected project. | |
VCReferences | Gets the collection of references for the selected project. (Inherited from VCReference.) | |
Version | Gets the version of the selected reference. | |
Version | Gets the version of the selected reference. (Inherited from VCReference.) |
Top
Methods
Name | Description | |
---|---|---|
MatchName(String, Boolean) | Matches a specified name to the name of a collection item. | |
MatchName(String, Boolean) | Matches a specified name to the name of a collection item. (Inherited from VCReference.) | |
Remove() | Removes the specified project from the solution. | |
Remove() | Removes the specified project from the solution. (Inherited from VCReference.) |
Top
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.