MyApp.xml file generated at compile time

We are evaluating moving from VS2002 to VS2005 and have come across something. I installed VBExpress and let it convert our application. I noticed that when the app is compiled an xml file is generated that is named the same as the executable. For example MyApp.exe and MyApp.xml. This presents a small problem for us; we already deploy a MyApp.xml file with our application that contains settings for our application, and when I compile it overwrites our config file. Can someone shed some light on what this file is for (I don't really see any helpful information in it) and how to either stop this file from being generated or how to tell the IDE to generate it using a different name

Thank you,
Justin


Answer this question

MyApp.xml file generated at compile time

  • jasontehpirate

    Thank you both for your replies. They were both very helpful. Sergey's post pointed me in the right direction and I ended up changing the DocumentationFile element. Then I saw Johan's post and it confirmed that I made the right changes.

    Thanks again!

  • matand

    Hi!

    I don't have VB installed, but I think you have compiler option turned ON to generate XML documentation file, it typically have the same name as assembly, but .xml extension. XML doc file have information about your classes and members from the assembly.



  • gib88

    Visual Basic 2005 Express doesn't let you change the name of the XML documentation file from within the IDE.

    You can however manually open the project file (.vbproj) and change the value in teh <DocumentationFile> element to a different file name, or to an empty string (in which case no XML documentation file will be created)

    For more information about XML documentation comments in Visual Basic, see http://msdn2.microsoft.com/en-us/library/f64ezf9b(VS.80).aspx

    Best regards,
    Johan Stenberg



  • MyApp.xml file generated at compile time