dotnet / docs

This repository contains .NET Documentation.
https://learn.microsoft.com/dotnet
Creative Commons Attribution 4.0 International
4.24k stars 5.89k forks source link

Please document GenerateDocumentationFile property #23455

Open jnm2 opened 3 years ago

jnm2 commented 3 years ago

<GenerateDocumentationFile>true</GenerateDocumentationFile> replaces the need to put <DocumentationFile>something</DocumentationFile> in your project.

(See https://docs.microsoft.com/en-us/dotnet/csharp/codedoc)


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Youssef1313 commented 3 years ago

Also whatever property for writing source generated files on disk. (can't recall the exact name now :smile:)

jnm2 commented 3 years ago

GeneratedFilesOutputPath, apparently: https://github.com/dotnet/roslyn/blob/main/src/Compilers/Core/MSBuildTask/Csc.cs#L212

Missing from https://docs.microsoft.com/en-us/visualstudio/msbuild/csc-task.