Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

XML documentation is in package but never copied to output directory

$
0
0

The generated package indeed includes the XML file next to the DLL file, however, when using the package from another project, the documentation is never copied to output directory.

Here are the relevant bits on how the package is generated:

<PropertyGroup><TargetFramework>net6.0</TargetFramework><GeneratePackageOnBuild>True</GeneratePackageOnBuild><GenerateDocumentationFile>True</GenerateDocumentationFile>    ...</PropertyGroup>

Tried the suggested answers in the following questions but without success:

Also tried to clear the packages cache and restarting Visual Studio but that didn't have any effect.

Question:

How does one get the XML documentation to be copied to output directory for a .NET 6 package?


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>