King Chan
King Chan

Reputation: 4302

Publish class library Generated Document XML?

I have a class library Portable Area, an ASP.NET project that has the reference to the class library.

The class library has a build configuration from Visual Studio 2012 that will output XML Dcoumentation file.

I setted the Output path to:

bin\

XML documentation file: bin\DocumentFile.XML

When I do the debugging, it generates fine.

I have also ensure that the configuration for Debug and Release have same output path.

But when I publish this ASP.NET project, the XML documentation from the class library is not also published to the publish folder.

How can make the XML file generated even when I do the publish?

Upvotes: 1

Views: 1689

Answers (1)

Naresh Pansuriya
Naresh Pansuriya

Reputation: 2045

Go to Property of XML file and change Build action to content option, might be resolved your problem

Upvotes: 3

Related Questions