3

I am interested how can I create XML documentation file in VS2015 with ASP.NET MVC6 project? In older project types there was a checkbox called XML documentation file when you do right click on Properties -> Build.

1 Answer 1

2

You don't need to do anything special, it generates it by default and puts it inside the NuGet package for you.

Refer to here if you want to see where exactly this happens.

Sign up to request clarification or add additional context in comments.

6 Comments

Did we just post the answers at the same time? :)
@VictorHurdugaci I have beaten you by 1 min :D
Ok, then your answer stays. I'll remove mine which said "XML documentation should be emitted by default. The documentation should be in <assembly name>.xml in the same folder as the output. The code is here
So is there a way that I can get the XML path while I am running the application on IIS Express?
When I do publish and if I don't select Precompile during publishing I will not get that .xml file. Same thing when I do build, if I do not select Produce outputs on build I will not get that XML. I would like to access that file from the code and use it for Swashbuckle.
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.