error no xml documentation using swagger & webapi @ azure RRS feed

  • Question

  • User-83134340 posted


    I've a webapi project integrated with swagger (for webapi documentation) & deployed @ azure website.

    Now, i can see the generated xml documentation locally (either release or debug mode) by the swagger but when i deploy @ azure i got:

    Could not find file 'D:\home\site\wwwroot\bin\AccountsSystem.XML'.


    Given the document path i'm using:  var documentFilePath = Path.Combine(HttpRuntime.AppDomainAppPath, "bin\\AccountsSystem.XML");

    do you have any idea why?

    thanks in advance,


    Tuesday, May 5, 2015 9:24 AM


  • User-83134340 posted

    well, the solution was in the publish profile: remove additional files at destination. Also, i've included the xml file once in the project! although it's in the bin!!

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, May 5, 2015 11:21 AM