autogen/dotnet/website/tutorial/Create-agent-with-tools.md
Install AutoGen and AutoGen.SourceGenerator First, install the AutoGen and AutoGen.SourceGenerator package using the following command:  ```bash dotnet add package AutoGen dotnet add package AutoGen.SourceGenerator ```  Also, you might need to enable structural xml document support by setting `GenerateDocumentationFile` property to true in your project file. This allows source generator to leverage the documentation of the function when generating the function definition.  ```xml <PropertyGroup>     <!-- This enables structural xml document support -->     <GenerateDocumentationFile>true</GenerateDocumentationFile> </PropertyGroup> ``` 