This repository was archived by the owner on Sep 13, 2022. It is now read-only.

Description
When specifying only a filename in the DocumentationFile in the csproj, the generated xml documentation file will be outputted to both the root of the project as well as in the output path.
Given following csproj:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net47;netstandard2.0</TargetFrameworks>
<DocumentationFile>my_library.xml</DocumentationFile>
</PropertyGroup>
</Project>
And we have one class in our class libary:
namespace my_library
{
/// <summary>
/// Test
/// </summary>
public class Test
{
}
}
The documentation file is generated in following directories:
- project-root
- project-root/bin/$(Configuration)/net47
- project-root/bin/$(Configuration)/netstandard2.0
In the old csproj format, the documentation file would be only outputted to the output folder.