Compartilhar via


Como: Gerar documentação XML para um projeto.

The Generate XML documentation file property determines whether an XML file will be generated during compilation. You set this property on the Compile page (for Visual Basic) or Build page (for Visual C#) of the Project Designer. When this option is selected, XML documentation is automatically emitted into an XML file, which will have the same name as your project and the .xml extension.

For more information about XML documentation in Visual Basic projects, see Como: criar documentação XML no Visual Basic. For Visual C#, see XML Documentation Comments (C# Programming Guide).

Dica

In most cases, you do not have to generate XML documentation every time that you compile your project; you may want to wait until the application is completed. For large projects, turning this option off may help speed up compilation.

To generate an XML documentation file for a Visual Basic project

  1. Com um projeto selecionado no Solution Explorerdiante do projeto menu, clique em Propriedades.

  2. Click the Compile tab.

  3. On the Compile page, select Generate XML documentation file. By default, the file is created under the specified output path, for example, "bin\Debug\Projectname.XML".

To generate an XML documentation file for a Visual C# project

  1. Com um projeto selecionado no Solution Explorerdiante do projeto menu, clique em Propriedades.

  2. Click the Build tab.

  3. On the Build page, select XML documentation file. By default, the file is created under the specified output path, for example, "bin\Debug\Projectname.XML".

Consulte também

Tarefas

Como: criar documentação XML no Visual Basic

Referência

XML Documentation Comments (C# Programming Guide)

Avançado, C#, Editor de texto, caixa de diálogo de opções

Outros recursos

Gerenciando as Propriedades de Compilação