Closed masojus closed 6 years ago
This could also be an option:
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
But this seems to indicate maybe that's not even necessary anymore: https://github.com/dotnet/sdk/pull/349
Fixed in PR #139 with commit d0b7b8d
One thing we seem to have lost in the new multi-targetted .nupkg is the XML file with doc comments. We used to include it via the
<DocumentationFile>
option, but we'll need to see how to define that path such that it makes sense for all target frameworks:https://stackoverflow.com/questions/41862019/how-to-properly-specify-documentationfile-in-msbuild-15-csproj-with-multitarget?rq=1
Maybe we need to include that property in the conditional property groups based on framework:
Or should it be
<GenerateDocumentationFile>true</GenerateDocumentationFile>
instead?