How to generate c# document XML file without successfully compiling C# project

  • Thread starter Thread starter pyang
  • Start date Start date
P

pyang

Hi,

I converted a java project to C# project. My goal is to genrate C# API
doc from this converted project. I don't necessary need to build the C#
project.

However, in VS studio, in order to genrate the XML for documentation,
it requires a successful build of the C# project. If the build fails,
VS studio does not genrate the documentation XML file.

I wonder if there is a way to genrate the API XML file without building
the soulution successfully. Since it takes time to solve the
compliation issues, and the compilation is not what I want.


Any advice is appreciated.

Thanks

Paul
 
Paul,

Unfortunately, no, there is not. The XML documentation is based on the
project being compiled successfully because the XML documentation depends on
the metadata that is compiled into the assembly.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top