Where to put Intellisense xml file?

Topics: General
Jun 15, 2012 at 12:00 PM

Where should I put the Intellisense .xml file so that developers can get Intellisense support when using my library? Should it be in the "lib" folder or "content" folder? I've spent hours searching for some tutorial or examples but this isn't covered anywhere.

Jun 15, 2012 at 3:43 PM

It should go along side the assembly, so lib/net35/ for example. Visual Studio looks for the file in the same place where it finds the dll being referenced.

If you enable "XML documentation file" in your c# project and generate it into bin\Debug or bin\Release, nuget pack should automatically include it in the right place.