Open niveuseverto opened 10 years ago
Not sure what you mean..
I've added CsQuery.dll via NuGet package into my solution.
After build (in TargetDir) there is file CsQuery.XML. Is it possible to disable this behavior?
Oh - you just need to disable XML doc generation - Project > Properties > Build and uncheck XML Documentation.
If you do this, you won't see any method/parameter documentation in visual studio.
I have no Build properties for NuGet packages...
If you are installing from nuget, you're going to get CsQuery.XML. It provides metadata for the API documentation. There's no way to change this behavior. Most people want this since it provides interactive API documentation in Visual Studio. I can't think of any downside in a development environment, and it will not be copied to production.
If it really bothers you, it would be possible to set a Post-build event on your project using CsQuery to delete the XML file:
del "$(TargetDir)CsQuery.xml"
Or, delete all XML:
del "$(TargetDir)*.xml"
Thank you. Already organizing post-build events...
Is it possible to disable copying CsQuery.XML into build path?