Re: XML documentation file name

Tech-Archive recommends: Fix windows errors by optimizing your registry



"Linda Liu [MSFT]" <v-lliu@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:Rl0KJ6GbHHA.4088@xxxxxxxxxxxxxxxxxxxxxxxxx
I think a workaround to your problem is to modifty the name of the XML
document in the project file with Notepad manually, and then build the
project.

Thanks Linda. I manually fixed the vbproj files and now everything works as
it should.

MSDN document on VB.NET Project Designer says "The Generate XML document
file property is set on the Compile page of the Project Designer. When
this
option is selected, XML documentation is automatically emitted into an XML
file, which will have the same as your project and the .xml extension."

Actually, the desired behavior seems to be that the xml file must have the
same name as the assembly (which may not match the project name).

The MSDN document doesn't mention there's a setting for the name of the
XML
document to be generated in VB.NET projects. I tried to find in the
options
window(Tools|Options), and didn't find a setting for the name of the XML
document for VB.NET projects, either.

I guess I could have tried changing the assembly names in the My Project
designer (to "xxx" and then back to their proper names) to see if something
in the designer magically changes the documentation file to match, but that
didn't occur to me until after I had changed the vbproj files.


.


Quantcast