Compartilhar via


VSLangProj Namespaces

The VSLangProj100 namespace represents the most recently updated types and members of the project-specific automation model objects for Visual Basic and Visual C#. VSLangProj, VSLangProj2, VSLangProj80, and VSLangProj90 contain the earlier versions of the types and members.

Remarks

While Visual Studio offers a core project automation model, it is, by its nature, somewhat generic and language-agnostic so as to accommodate all languages in Visual Studio. The VSLangProj assemblies, however, offer a richer project automation model, allowing programmatic access to language-specific features not offered in the core project model.

There are currently five versions of VSLangProj:

VSLangProj2 and VSLangProj80 are evolutions of the original VSLangProj namespace. VSLangProj2 was introduced in Visual Studio 2003, VSLangProj80 was introduced in Visual Studio 2005, VSLangProj90 was introduced in Visual Studio 2008.

Rather than changing the original VSLangProj assembly and risk breaking code written in previous versions of Visual Studio, the changes were instead placed into new versions of the assemblies. The types and members they contain derive from the original VSLangProj assembly.

For example, VSLangProj has a Reference object. An updated version of Reference that includes additions and changes is in the VSLangProj2 assembly and is named Reference2. Updates to Reference2 are in the Reference3 object in the VSLangProj80 assembly.

See Also

Reference

Projects

Project

VSLangProj Hierarchy Chart