Question

I can't seem to find the "Build" option under "Configuration Properties" folder in the Property Pages of my project. I've been looking everywhere trying to figure out how to do it.

I followed the direations here: http://msdn.microsoft.com/en-us/magazine/cc302121.aspx

More specifically here: http://msdn.microsoft.com/en-us/library/azt1z1eh.aspx ("To build the XML Documentation sample within Visual Studio" section)

I want to generate XML comments for my project in the build, but my "Configuration Properties" window does not have "folders" or a "Build" option under it.

I'm using Visual Studio Team System 2008, any ideas?

EDIT -> This is a website [project-less] and it is written in both C# and VB.NET.

Do I need to download any tools? I found GhostDoc but that's not helping me very much.

Was it helpful?

Solution

I'm not sure what you mean by the "Configuration Properties" folder. I don't have anything like that - if I just double click on "Properties" under the project (in Solution Explorer), it comes up with the properties page which has the following tabs (for a console app in VS 2008 Pro):

  • Application
  • Build
  • Build events
  • Debug
  • Resources
  • Services
  • Settings
  • Reference Paths
  • Signing
  • Security
  • Publish

Does this sound anything like the screen you're looking at? Can you grab a screenshot of what you've got?

If you just double click on "Properties" what do you get?

OTHER TIPS

Are you using C# or VB.NET? In VB.NET, the Properties pages look a bit different. There is a checkbox on the Compile property page that states "Generate XML documentation file". Make sure it's checked.

I have a webservice that I'd like to create this kind of documentation for. It's also a website project, so I don't have the menu. Has a solution been found for this situation?

right click of any class library of your project and select properties then you will find Build tab option... there you can specify the xml documentation file path. -ibrahim

The MSDN magazine article you reference is out of date. The link to the 2008 and 2010 documentation has been updated and gives the proper directions.

Turn on XML comments by choosing Project | Properties from the menu and turning to the Build page. You might note that with many monitors, you will have to scroll down on the Build page before finding the section on XML comments.

It makes sense to be able to build docs for a webservice (a website project) since it will be consumed by a third party. The XML docs can be consumed by the web service caller via wsdl using the wcfextras flow. Does this mean I must break out my solution consisting of just two .cs file into a separate project in order just to get the doc or is there another way? Thanks.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top