Поделиться через


Project Differences (Macros IDE)

The following table lists differences in the Project Object and the ProjectItem Object between Visual Studio Macros and Visual Studio.

Operation

Behavior in Visual Studio Macros

Kind, Kind

Returns the vsaProjectKind GUID

FullName

Returns an error

UniqueName

Returns the project's moniker

ConfigurationManager, ConfigurationManager

Returns an error

SaveAs, SaveAs

Returns an error

Save, Save

The FileName parameter is ignored and should not be passed

Delete, Delete

Returns an error

Extender, Extender

Returns an error

ExtenderNames, ExtenderNames

Returns an error

ExtenderCATID, ExtenderCATID

Returns an error

AddFolder

The Visual Basic AddFolder method does not accept vsProjectItemKindVirtualFolder, so Kind should be vsProjectItemKindPhysicalFile

AddFromDirectory

Returns an error

AddFromFile

Returns an error

AddFromFileCopy

Equivalent to the Add Existing Item Command.

AddFromTemplate

Adds an item to the project. When items are added, they are created using the installed templates in the VBProjectItems directory. Returns an error if the template specified is not supported by Visual Studio Macros

CopyProject

Returns an error

WorkOffline, WorkOffline

Returns false, setting the value does nothing.

See Also

Concepts

Extensibility Model Differences (Macros IDE)

Document Object and Documents Object Differences (Macros IDE)

Property Differences (Macros IDE)

Item Operation Differences (Macros IDE)

Find2 Method Differences (Macros IDE)

Options Differences (Macros IDE)