Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

ResolveReferencesFiles Property

Visual Studio .NET 2003

Sets or returns one or more assemblies to search for reference resolution in a semi-colon delimited list. Exposes the functionality of the /reference option.

[Visual Basic .NET]
Public Property ResolveReferencesFiles() As String
[Visual Basic 6]
Property Get ResolveReferencesFiles() As String
Property Let ResolveReferencesFiles( _
   ByVal NewValue As String _
HRESULT __stdcall get_ResolveReferencesFiles(
   /* [out, retval] */ BSTR* retVal
HRESULT __stdcall put_ResolveReferencesFiles(
   /* [in] */ BSTR NewValue
public string ResolveReferencesFiles {get; set;}
[JScript .NET]
public function get ResolveReferencesFiles() : String
public function set ResolveReferencesFiles(
   NewValue : String


A string value specifying one or more assemblies to search.

Return Value

Returns one or more assemblies to search for reference resolution in a semi-colon delimited list.


You will most likely set this property more often than return a value from it. If the project references an item that the project cannot find, it returns a blank string value.


' Add a reference to Microsoft.VisualStudio.VCProjectEngine and have a 
' Visual C++ .NET project loaded before running this example.
Imports EnvDTE
Imports Microsoft.VisualStudio.VCProjectEngine
Public Module Module1
    Sub Test()
        Dim prj As VCProject
        Dim cfgs, tools As IVCCollection
        Dim cfg As VCConfiguration
        Dim tool As VCManagedWrapperGeneratorTool
        prj = DTE.Solution.Projects.Item(1).Object
        cfgs = prj.Configurations
        cfg = cfgs.Item(1)
        tool = cfg.Tools("VCManagedWrapperGeneratorTool")
        MsgBox("Assemblies to search: " & tool.ResolveReferencesFiles)
    End Sub
End Module

See Samples for Project Model Extensibility for information on how to compile and run this sample.

See Also

Applies To: VCManagedWrapperGeneratorTool Object

© 2015 Microsoft