I would like to change the string that appears in the default Visual Studio 2005 template entitled "ProjectTitle" but i can't find where that would be done. Anyone have any idea?
Thanks, karim
I would like to change the string that appears in the default Visual Studio 2005 template entitled "ProjectTitle" but i can't find where that would be done. Anyone have any idea?
Thanks, karim
You can change this description in the Document! X Content File - select the root Assembly node and then select the Assembly Title content type - you can type the desired title for the assembly directly in there.
I am also trying to change the title for my project, but in this case I am using Document!X for XSD documentation.I have one main schema that imports several child schemas.
I used Richard's instructions to successfully re-title the first title for documentation generated for the main schema. But the title is not carried into the documentation generated for the child schemas. Further, Document!X does not allow me to specify a Title for the child schemas.
Curiously, the previews of the child schemas show the title from the main schema.Unfortunately, the generated documentation reverts to using the child schema names as the document title.
After some experimenting, I ended up modifying the template with a hardcoded definition of the project title and leaving the schema Titles unchanged. So the title bar has two lines: the project title and the schema name. (Recall that my project uses several schemas.)
Those schema titles appear in the bookmarks, so it was important that they each be uniquely named.
I have an even better solution than hard-coding the name in the template. I've changed my templates to take advantage of a "template property" that I added.This lets me easily use the same template for different references.
I went through these steps:
1. Created a new template property. Opened the template editor and selected the Tools > Configuration > Templates > MyCustomTemplate > Edit > Properties. I added a new property to this list. (Don't create an element called DocumentTitle. That name is already used by Document!X.)
2. Added this expression to the custom template:
<!--DXMETADATA start type="Variable" Name="MyDocumentTitle" Format="%%variable%%" BlankFormat="%%variable%%" --> <!--DXMETADATA end -->
Any time I create a new project, I customize the document title by accessing the Template Properties window (from the project window).