RE: XML Documentation file

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi John,

Thanks for your reply.

As for setting the post build events for multiple projects, so far based on
my research, there is no such global configuration. I think you may
consider the following alternative approaches:

1. The Visual studo projects use their project file(xx.vbproj or xx.csproj
which is of XML format) to store the pre/post build events info, you can
use some script file to programmtically loop all the project files and add
the post build content (xml elements into it). You can first extract the
post build event's xml format from an existing project file(which has been
configured to use post build event).


2. Another possible approach is customize the project template(thus for new
created project they'll automatically inherit the project properties from
the tempalte).

#Customizing Project and Item Templates
http://msdn.microsoft.com/en-us/library/ms247119.aspx

#Create Reusable Project And Item Templates For Your Development Team
http://msdn.microsoft.com/en-us/magazine/cc188697.aspx

those default built-in templates (project) are under the following dir(vs
2008):

C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ProjectTemplates

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
From: =?Utf-8?B?Sm9obiBT?= <js162@xxxxxxxxxxxxxxxx>
References: <2B8D7689-C322-4E0E-ADDA-E334326E1BC4@xxxxxxxxxxxxx>
<$6IdWJPAJHA.1688@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: XML Documentation file
Date: Mon, 18 Aug 2008 00:37:01 -0700


Hi,

That seems to be able todo exactly what I want for one project. Is there
any
way to configure VS so that it is automatically set for all projects?


JS

"Steven Cheng [MSFT]" wrote:

Hi John,

Regarding on the issue you mentioned, I think the main problem here is
that
your source control system will ignore those output items(no matter
they're
binary output or other content files).

Based on my experience, I suggest you have a look at the "POST build
event"
of visual studio project. This can help you do some customization tasks
after the build of the project(is supported via both visual studio and
msbuild):

#How to: Specify Build Events (C#, J#)
http://msdn.microsoft.com/en-us/library/ke5z92ks(VS.80).aspx

#Gotcha! Visual Studio Pre/Post-Build Events
http://geekswithblogs.net/dchestnutt/archive/2006/05/30/80113.aspx

#Using Post-Build Event to Execute Unit Tests

http://www.gridviewguy.com/ArticleDetails.aspx?articleID=398_Using_Post-Buil
d_Event_to_Execute_Unit_Tests

For example, you can do some file copy or execute some other script to
exe
app in the post build event.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments
and
suggestions about how we can improve the support we provide to you.
Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx

==================================================
Get notification to my posts through email? Please refer to

http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent
issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each
follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach
the
most efficient resolution. The offering is not appropriate for
situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are
best
handled working with a dedicated Microsoft Support Engineer by
contacting
Microsoft Customer Support Services (CSS) at

http://support.microsoft.com/select/default.aspx?target=assistance&ln=en-us.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.


--------------------
From: =?Utf-8?B?Sm9obiBT?= <js162@xxxxxxxxxxxxxxxx>
Subject: XML Documentation file
Date: Fri, 15 Aug 2008 06:05:03 -0700


Using VS2005, when code is transfered into our source control system,
it
is
set up to omit the whole of the contents of the bin directory so that
we
do
not store all the compiled exe's etc.

The problem with that is it stops the XML documentation file being
transfered as well.

Is there any way to change the stored location of this file so that it
can
be transfered.

Is there any way to set up something that would process the XML file
with
an
XSLT to produce a formatted HTML document each time the project is
built?






.



Relevant Pages

  • Re: Setup package Primary output
    ... Microsoft MSDN Online Support Lead ... Delighting our customers is our #1 priority. ... You can send feedback directly to my manager at: ... As for the project "primary output", ...
    (microsoft.public.vsnet.setup)
  • Re: How can we clean out VSWebCache?
    ... #Locations for user customizations in Visual Studio 2005 or in Visual ... Microsoft MSDN Online Support Lead ... Delighting our customers is our #1 priority. ... You can send feedback directly to my manager at: ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: HttpPost
    ... Microsoft MSDN Online Support Lead ... Delighting our customers is our #1 priority. ... You can send feedback directly to my manager at: ... Normally, for very large data, HTTP ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: dynamic help in VS
    ... Microsoft MSDN Online Support Lead ... Delighting our customers is our #1 priority. ... You can send feedback directly to my manager at: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: UPDATE a XML file problem
    ... Run the XML into a stored procedure that prunes out items that are exactly ... Customer IDs and then query the database to pull the same information. ... I have this code vbscript code for updata a xml file in to a database. ...
    (microsoft.public.dotnet.framework.adonet)