<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" version="2.0">
  <channel>
    <title>Accentient Blog</title>
    <link>http://blog.accentient.com/</link>
    <description />
    <language>en-us</language>
    <copyright>Accentient, Inc.</copyright>
    <lastBuildDate>Fri, 05 Feb 2010 04:42:56 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 1.9.7067.0</generator>
    <managingEditor>steve@accentient.com</managingEditor>
    <webMaster>steve@accentient.com</webMaster>
    <item>
      <trackback:ping>http://blog.accentient.com/Trackback.aspx?guid=452b3b8e-d376-4d34-be17-11b3a2a133c3</trackback:ping>
      <pingback:server>http://blog.accentient.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.accentient.com/PermaLink,guid,452b3b8e-d376-4d34-be17-11b3a2a133c3.aspx</pingback:target>
      <dc:creator>Richard Hundhausen</dc:creator>
      <wfw:comment>http://blog.accentient.com/CommentView,guid,452b3b8e-d376-4d34-be17-11b3a2a133c3.aspx</wfw:comment>
      <wfw:commentRss>http://blog.accentient.com/SyndicationService.asmx/GetEntryCommentsRss?guid=452b3b8e-d376-4d34-be17-11b3a2a133c3</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
This tool popped-up today during our Scrum Developer trainer-prep in Sydney. One of
the teams decided to be over-achievers and delivered their test cases (and results)
in a nice Word document format. Turns out they used this <a href="http://visualstudiogallery.msdn.microsoft.com/en-us/d18873c7-909d-4788-a56e-0c496a1d8bb9" target="_blank">Test
Scribe</a> tool available on the Visual Studio Gallery. Although in a pre-release
version, it worked pretty good and generated some nice-looking 
</p>
        <p>
Test Scribe is a tool for generating documentation about TCM (Test Case Management)
artifacts. Testers can use a stand-alone client to connect to a TFS 2010 server/project.
With a Test Plan selected, users are able to generate a Test Plan Document, including
information about the plan, the suite hierarchy, and each test case contained in the
suites. 
</p>
        <p>
  
</p>
        <p>
Looks like there might be some issues with using it SxS with VS 2008.
</p>
        <img width="0" height="0" src="http://blog.accentient.com/aggbug.ashx?id=452b3b8e-d376-4d34-be17-11b3a2a133c3" />
      </body>
      <title>Test Scribe for TFS 2010</title>
      <guid isPermaLink="false">http://blog.accentient.com/PermaLink,guid,452b3b8e-d376-4d34-be17-11b3a2a133c3.aspx</guid>
      <link>http://blog.accentient.com/TestScribeForTFS2010.aspx</link>
      <pubDate>Fri, 05 Feb 2010 04:42:56 GMT</pubDate>
      <description>&lt;p&gt;
This tool popped-up today during our Scrum Developer trainer-prep in Sydney. One of
the teams decided to be over-achievers and delivered their test cases (and results)
in a nice Word document format. Turns out they used this &lt;a href="http://visualstudiogallery.msdn.microsoft.com/en-us/d18873c7-909d-4788-a56e-0c496a1d8bb9" target="_blank"&gt;Test
Scribe&lt;/a&gt; tool available on the Visual Studio Gallery. Although in a pre-release
version, it worked pretty good and generated some nice-looking 
&lt;/p&gt;
&lt;p&gt;
Test Scribe is a tool for generating documentation about TCM (Test Case Management)
artifacts. Testers can use a stand-alone client to connect to a TFS 2010 server/project.
With a Test Plan selected, users are able to generate a Test Plan Document, including
information about the plan, the suite hierarchy, and each test case contained in the
suites. 
&lt;p&gt;
&amp;nbsp; 
&lt;p&gt;
Looks like there might be some issues with using it SxS with VS 2008.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.accentient.com/aggbug.ashx?id=452b3b8e-d376-4d34-be17-11b3a2a133c3" /&gt;</description>
      <comments>http://blog.accentient.com/CommentView,guid,452b3b8e-d376-4d34-be17-11b3a2a133c3.aspx</comments>
      <category>Visual Studio 2010</category>
    </item>
    <item>
      <trackback:ping>http://blog.accentient.com/Trackback.aspx?guid=3c305ed9-9f94-407d-ab49-9996560af00a</trackback:ping>
      <pingback:server>http://blog.accentient.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.accentient.com/PermaLink,guid,3c305ed9-9f94-407d-ab49-9996560af00a.aspx</pingback:target>
      <dc:creator>Richard Hundhausen</dc:creator>
      <wfw:comment>http://blog.accentient.com/CommentView,guid,3c305ed9-9f94-407d-ab49-9996560af00a.aspx</wfw:comment>
      <wfw:commentRss>http://blog.accentient.com/SyndicationService.asmx/GetEntryCommentsRss?guid=3c305ed9-9f94-407d-ab49-9996560af00a</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I was flying on US Airways and was reading their January 2010 issue of their free
magazine when I came across an article written by <a href="http://www.usairwaysmag.com/contributors" target="_blank">Robert
Tuchman</a>. It was titled <a href="http://www.usairwaysmag.com/articles/the_world_cup_how_sports_unites_us" target="_blank">The
World Cup: How Sports Unites Us</a> and states something that I’ve always believed:
the round ball with the black spots on it is a great cultural barrier neutralizer.
</p>
        <p>
At Accentient, when we deliver classroom training to teams of software developers
of mixed nationalities and cultures, we try to keep things as simple as possible,
especially when the subject matter is as deep and dry as it is sometimes. Early on
I made the decision to use the (soccer) <a href="http://www.fifa.com/worldcup" target="_blank">World
Cup</a> as my point of reference in our samples, discussions, and activities. Everyone
in the room, including the late-to-the-game Americans, understand the references to
teams, matches, standings, and statistics. It has served us well.
</p>
        <p>
Go <a href="http://www.fifa.com/worldcup/teams/team=43921/index.html" target="_blank">USA</a>!
</p>
        <img width="0" height="0" src="http://blog.accentient.com/aggbug.ashx?id=3c305ed9-9f94-407d-ab49-9996560af00a" />
      </body>
      <title>The World Cup: How Sports Unites Us</title>
      <guid isPermaLink="false">http://blog.accentient.com/PermaLink,guid,3c305ed9-9f94-407d-ab49-9996560af00a.aspx</guid>
      <link>http://blog.accentient.com/TheWorldCupHowSportsUnitesUs.aspx</link>
      <pubDate>Mon, 25 Jan 2010 23:34:08 GMT</pubDate>
      <description>&lt;p&gt;
I was flying on US Airways and was reading their January 2010 issue of their free
magazine when I came across an article written by &lt;a href="http://www.usairwaysmag.com/contributors" target="_blank"&gt;Robert
Tuchman&lt;/a&gt;. It was titled &lt;a href="http://www.usairwaysmag.com/articles/the_world_cup_how_sports_unites_us" target="_blank"&gt;The
World Cup: How Sports Unites Us&lt;/a&gt; and states something that I’ve always believed:
the round ball with the black spots on it is a great cultural barrier neutralizer.
&lt;/p&gt;
&lt;p&gt;
At Accentient, when we deliver classroom training to teams of software developers
of mixed nationalities and cultures, we try to keep things as simple as possible,
especially when the subject matter is as deep and dry as it is sometimes. Early on
I made the decision to use the (soccer) &lt;a href="http://www.fifa.com/worldcup" target="_blank"&gt;World
Cup&lt;/a&gt; as my point of reference in our samples, discussions, and activities. Everyone
in the room, including the late-to-the-game Americans, understand the references to
teams, matches, standings, and statistics. It has served us well.
&lt;/p&gt;
&lt;p&gt;
Go &lt;a href="http://www.fifa.com/worldcup/teams/team=43921/index.html" target="_blank"&gt;USA&lt;/a&gt;!
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.accentient.com/aggbug.ashx?id=3c305ed9-9f94-407d-ab49-9996560af00a" /&gt;</description>
      <comments>http://blog.accentient.com/CommentView,guid,3c305ed9-9f94-407d-ab49-9996560af00a.aspx</comments>
      <category>Personal Thoughts</category>
      <category>Richard Hundhausen</category>
    </item>
    <item>
      <trackback:ping>http://blog.accentient.com/Trackback.aspx?guid=62f58a82-8f3b-4fe0-b99f-dbc761fc5e5d</trackback:ping>
      <pingback:server>http://blog.accentient.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.accentient.com/PermaLink,guid,62f58a82-8f3b-4fe0-b99f-dbc761fc5e5d.aspx</pingback:target>
      <dc:creator>Richard Hundhausen</dc:creator>
      <wfw:comment>http://blog.accentient.com/CommentView,guid,62f58a82-8f3b-4fe0-b99f-dbc761fc5e5d.aspx</wfw:comment>
      <wfw:commentRss>http://blog.accentient.com/SyndicationService.asmx/GetEntryCommentsRss?guid=62f58a82-8f3b-4fe0-b99f-dbc761fc5e5d</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Microsoft has yet to provide us with some kind of utility to handle the importing,
managing, versioning, and deploying of data along with our schema changes inside Visual
Studio Team System 2008 database projects. For most of the teams I work with, their
needs are simple: they just want the ability to store data (INSERT statements are
fine) in scripts within their database projects. Ideally the project would be smart
enough to know which version of data goes with which version of schema, but for now
they’re able to live with handling that manually.
</p>
        <p>
Here’s one solution, albeit a manual one:
</p>
        <p>
1. Create a database project.<br />
2. Import database schema.<br />
3. Launch SQL Server Management Studio (2008 version).<br />
4. Right-click on the database and select Tasks &gt; Generate Scripts.<br />
5. Select the database and under Script Options deselect everything except for “Script
Data”.
</p>
        <p>
    <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="ScriptOptions" border="0" alt="ScriptOptions" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/GeneratingINSERTstatementstoaccompanyyou_A40C/ScriptOptions_6.png" width="468" height="484" />   
</p>
        <p>
6. Click Next and select just the Tables you want (ideally just the smaller, static/lookup
tables).
</p>
        <p>
    <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="ChooseTables" border="0" alt="ChooseTables" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/GeneratingINSERTstatementstoaccompanyyou_A40C/ChooseTables_6.png" width="511" height="484" /></p>
        <p>
7. Click Next and specify the file to generate – something like LookupTableData.sql
and let it rip.<br />
8. You can now take that script and add it to your database project in a folder for
data-related scripts.
</p>
        <p>
    <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="DatabaseProject" border="0" alt="DatabaseProject" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/GeneratingINSERTstatementstoaccompanyyou_A40C/DatabaseProject_3.png" width="313" height="285" /></p>
        <p>
Ideally you would link in the INSERT script(s) to your <a href="http://msdn.microsoft.com/en-us/library/aa833410(VS.80).aspx" target="_blank">Post-Deployment
script</a> to automatically populate the data tables upon deployment. You can also
use the option in the Generate Scripts dialog to give you one file per table, to maximize
your versioning options. If you are already using <a href="http://msdn.microsoft.com/en-us/library/aa833211(VS.80).aspx" target="_blank">Data
Generation Plans</a>, be careful to not overlap what they are already doing. For more
information, be sure to read Barclay Hill’s <a href="http://blogs.msdn.com/bahill/archive/2009/03/30/managing-data-motion-during-your-deployments-part-1.aspx" target="_blank">Part
1</a> and <a href="http://blogs.msdn.com/bahill/archive/2009/07/02/managing-data-motion-during-your-deployments-part-2.aspx" target="_blank">Part
2</a> of a posting on how to manage data motion during your deployments.
</p>
        <img width="0" height="0" src="http://blog.accentient.com/aggbug.ashx?id=62f58a82-8f3b-4fe0-b99f-dbc761fc5e5d" />
      </body>
      <title>Generating INSERT statements to accompany your Database Projects</title>
      <guid isPermaLink="false">http://blog.accentient.com/PermaLink,guid,62f58a82-8f3b-4fe0-b99f-dbc761fc5e5d.aspx</guid>
      <link>http://blog.accentient.com/GeneratingINSERTStatementsToAccompanyYourDatabaseProjects.aspx</link>
      <pubDate>Thu, 07 Jan 2010 16:40:03 GMT</pubDate>
      <description>&lt;p&gt;
Microsoft has yet to provide us with some kind of utility to handle the importing,
managing, versioning, and deploying of data along with our schema changes inside Visual
Studio Team System 2008 database projects. For most of the teams I work with, their
needs are simple: they just want the ability to store data (INSERT statements are
fine) in scripts within their database projects. Ideally the project would be smart
enough to know which version of data goes with which version of schema, but for now
they’re able to live with handling that manually.
&lt;/p&gt;
&lt;p&gt;
Here’s one solution, albeit a manual one:
&lt;/p&gt;
&lt;p&gt;
1. Create a database project.&lt;br&gt;
2. Import database schema.&lt;br&gt;
3. Launch SQL Server Management Studio (2008 version).&lt;br&gt;
4. Right-click on the database and select Tasks &amp;gt; Generate Scripts.&lt;br&gt;
5. Select the database and under Script Options deselect everything except for “Script
Data”.
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="ScriptOptions" border="0" alt="ScriptOptions" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/GeneratingINSERTstatementstoaccompanyyou_A40C/ScriptOptions_6.png" width="468" height="484"&gt;&amp;nbsp;&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
6. Click Next and select just the Tables you want (ideally just the smaller, static/lookup
tables).
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="ChooseTables" border="0" alt="ChooseTables" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/GeneratingINSERTstatementstoaccompanyyou_A40C/ChooseTables_6.png" width="511" height="484"&gt; 
&lt;/p&gt;
&lt;p&gt;
7. Click Next and specify the file to generate – something like LookupTableData.sql
and let it rip.&lt;br&gt;
8. You can now take that script and add it to your database project in a folder for
data-related scripts.
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="DatabaseProject" border="0" alt="DatabaseProject" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/GeneratingINSERTstatementstoaccompanyyou_A40C/DatabaseProject_3.png" width="313" height="285"&gt; 
&lt;/p&gt;
&lt;p&gt;
Ideally you would link in the INSERT script(s) to your &lt;a href="http://msdn.microsoft.com/en-us/library/aa833410(VS.80).aspx" target="_blank"&gt;Post-Deployment
script&lt;/a&gt; to automatically populate the data tables upon deployment. You can also
use the option in the Generate Scripts dialog to give you one file per table, to maximize
your versioning options. If you are already using &lt;a href="http://msdn.microsoft.com/en-us/library/aa833211(VS.80).aspx" target="_blank"&gt;Data
Generation Plans&lt;/a&gt;, be careful to not overlap what they are already doing. For more
information, be sure to read Barclay Hill’s &lt;a href="http://blogs.msdn.com/bahill/archive/2009/03/30/managing-data-motion-during-your-deployments-part-1.aspx" target="_blank"&gt;Part
1&lt;/a&gt; and &lt;a href="http://blogs.msdn.com/bahill/archive/2009/07/02/managing-data-motion-during-your-deployments-part-2.aspx" target="_blank"&gt;Part
2&lt;/a&gt; of a posting on how to manage data motion during your deployments.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.accentient.com/aggbug.ashx?id=62f58a82-8f3b-4fe0-b99f-dbc761fc5e5d" /&gt;</description>
      <comments>http://blog.accentient.com/CommentView,guid,62f58a82-8f3b-4fe0-b99f-dbc761fc5e5d.aspx</comments>
      <category>SQL Server</category>
      <category>Visual Studio 2008</category>
    </item>
    <item>
      <trackback:ping>http://blog.accentient.com/Trackback.aspx?guid=9fba364d-6ca9-4694-b02d-458dd1f5c9a4</trackback:ping>
      <pingback:server>http://blog.accentient.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.accentient.com/PermaLink,guid,9fba364d-6ca9-4694-b02d-458dd1f5c9a4.aspx</pingback:target>
      <dc:creator>Richard Hundhausen</dc:creator>
      <wfw:comment>http://blog.accentient.com/CommentView,guid,9fba364d-6ca9-4694-b02d-458dd1f5c9a4.aspx</wfw:comment>
      <wfw:commentRss>http://blog.accentient.com/SyndicationService.asmx/GetEntryCommentsRss?guid=9fba364d-6ca9-4694-b02d-458dd1f5c9a4</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Until the regular SDK documentation on MSDN is updated for Team Foundation Server
2010, you can find information at its official home on <a href="http://code.msdn.microsoft.com/TfsSdk" target="_blank">Code
Gallery</a>.
</p>
        <p>
You will find the samples for the Team Foundation Server SDK (samples are no longer
included with the Visual Studio SDK), deep dive documentation, and links to shared
source projects and other resources. This page is maintained by the TFS product team
at Microsoft.
</p>
        <img width="0" height="0" src="http://blog.accentient.com/aggbug.ashx?id=9fba364d-6ca9-4694-b02d-458dd1f5c9a4" />
      </body>
      <title>Team Foundation Server 2010 SDK on MSDN Code Gallery</title>
      <guid isPermaLink="false">http://blog.accentient.com/PermaLink,guid,9fba364d-6ca9-4694-b02d-458dd1f5c9a4.aspx</guid>
      <link>http://blog.accentient.com/TeamFoundationServer2010SDKOnMSDNCodeGallery.aspx</link>
      <pubDate>Thu, 07 Jan 2010 13:24:24 GMT</pubDate>
      <description>&lt;p&gt;
Until the regular SDK documentation on MSDN is updated for Team Foundation Server
2010, you can find information at its official home on &lt;a href="http://code.msdn.microsoft.com/TfsSdk" target="_blank"&gt;Code
Gallery&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
You will find the samples for the Team Foundation Server SDK (samples are no longer
included with the Visual Studio SDK), deep dive documentation, and links to shared
source projects and other resources. This page is maintained by the TFS product team
at Microsoft.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.accentient.com/aggbug.ashx?id=9fba364d-6ca9-4694-b02d-458dd1f5c9a4" /&gt;</description>
      <comments>http://blog.accentient.com/CommentView,guid,9fba364d-6ca9-4694-b02d-458dd1f5c9a4.aspx</comments>
      <category>Team Foundation Server 2010</category>
    </item>
    <item>
      <trackback:ping>http://blog.accentient.com/Trackback.aspx?guid=679f8f62-aab5-4061-8044-7c6f17524d72</trackback:ping>
      <pingback:server>http://blog.accentient.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.accentient.com/PermaLink,guid,679f8f62-aab5-4061-8044-7c6f17524d72.aspx</pingback:target>
      <dc:creator>Richard Hundhausen</dc:creator>
      <wfw:comment>http://blog.accentient.com/CommentView,guid,679f8f62-aab5-4061-8044-7c6f17524d72.aspx</wfw:comment>
      <wfw:commentRss>http://blog.accentient.com/SyndicationService.asmx/GetEntryCommentsRss?guid=679f8f62-aab5-4061-8044-7c6f17524d72</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Somebody asked me a simple question the other day: “how do I export <em>all</em> of
my work items at once”. I suspected they were looking to perform a backup, but it
sounded like they might want to import into another system or just archive them in
some readable way. I suggested Microsoft Excel, but it can only fetch work items from
one team project at a time. So repetition, using a Macro or a human, would be required.
</p>
        <p>
Here’s an alternative we came up with …
</p>
        <p>
1. Downloaded and installed <a href="http://msdn.microsoft.com/en-us/teamsystem/bb980963.aspx" target="_blank">Team
Foundation Power Tools</a>.
</p>
        <p>
2. Picked one of the Team Projects, added a query, and removed the <strong>Team Project
= @Project</strong> clause, so that it was completely empty:
</p>
        <p>
    <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Work Item Query" border="0" alt="Work Item Query" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/Exportingallworkitemsfromallteamprojects_A73B/image_8.png" width="445" height="83" /></p>
        <p>
3. Changed the <strong>Column Options</strong>, added the columns we wanted to export.
For testing, we selected ID, Team Project, Work Item Type, and Title.
</p>
        <p>
    <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/Exportingallworkitemsfromallteamprojects_A73B/image_11.png" width="489" height="347" />   
</p>
        <p>
4. Ran the query and verified that it pulled the right work items and fields we wanted.
</p>
        <p>
5. Saved the query (My query) and named it <strong>AllProjectWorkItems</strong>.
</p>
        <p>
    <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/Exportingallworkitemsfromallteamprojects_A73B/image_14.png" width="359" height="340" /></p>
        <p>
6. Dropped to the command prompt and executed the following commands:
</p>
        <p>
          <font face="Courier New">
            <strong>    cd c:\Program Files\Microsoft
Team Foundation Server 2008 Power Tools </strong>
          </font>
        </p>
        <p>
          <strong>
            <font face="Courier New">    tfpt query "Calculator\My Queries\AllProjectWorkItems"
/Server:vsts /format:xml &gt; c:\AllWorkItems.xml</font>
          </strong>
        </p>
        <p>
  
</p>
        <p>
7. This command generated an XML file containing all of the fields from all work items
from all projects. This satisfied their requirement.
</p>
        <p>
    <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/Exportingallworkitemsfromallteamprojects_A73B/image_17.png" width="651" height="311" /></p>
        <p>
At this point you can update the query adding more columns, until you have the superset
of what you need for the export of all types from all projects. With a little finesse,
the XML document could be migrated into Excel or another software application.
</p>
        <img width="0" height="0" src="http://blog.accentient.com/aggbug.ashx?id=679f8f62-aab5-4061-8044-7c6f17524d72" />
      </body>
      <title>Exporting all work items from all team projects</title>
      <guid isPermaLink="false">http://blog.accentient.com/PermaLink,guid,679f8f62-aab5-4061-8044-7c6f17524d72.aspx</guid>
      <link>http://blog.accentient.com/ExportingAllWorkItemsFromAllTeamProjects.aspx</link>
      <pubDate>Fri, 18 Dec 2009 17:53:25 GMT</pubDate>
      <description>&lt;p&gt;
Somebody asked me a simple question the other day: “how do I export &lt;em&gt;all&lt;/em&gt; of
my work items at once”. I suspected they were looking to perform a backup, but it
sounded like they might want to import into another system or just archive them in
some readable way. I suggested Microsoft Excel, but it can only fetch work items from
one team project at a time. So repetition, using a Macro or a human, would be required.
&lt;/p&gt;
&lt;p&gt;
Here’s an alternative we came up with …
&lt;/p&gt;
&lt;p&gt;
1. Downloaded and installed &lt;a href="http://msdn.microsoft.com/en-us/teamsystem/bb980963.aspx" target="_blank"&gt;Team
Foundation Power Tools&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
2. Picked one of the Team Projects, added a query, and removed the &lt;strong&gt;Team Project
= @Project&lt;/strong&gt; clause, so that it was completely empty:
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Work Item Query" border="0" alt="Work Item Query" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/Exportingallworkitemsfromallteamprojects_A73B/image_8.png" width="445" height="83"&gt; 
&lt;/p&gt;
&lt;p&gt;
3. Changed the &lt;strong&gt;Column Options&lt;/strong&gt;, added the columns we wanted to export.
For testing, we selected ID, Team Project, Work Item Type, and Title.
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/Exportingallworkitemsfromallteamprojects_A73B/image_11.png" width="489" height="347"&gt;&amp;nbsp;&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
4. Ran the query and verified that it pulled the right work items and fields we wanted.
&lt;/p&gt;
&lt;p&gt;
5. Saved the query (My query) and named it &lt;strong&gt;AllProjectWorkItems&lt;/strong&gt;.
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/Exportingallworkitemsfromallteamprojects_A73B/image_14.png" width="359" height="340"&gt; 
&lt;/p&gt;
&lt;p&gt;
6. Dropped to the command prompt and executed the following commands:
&lt;/p&gt;
&lt;p&gt;
&lt;font face="Courier New"&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cd c:\Program Files\Microsoft
Team Foundation Server 2008 Power Tools &lt;/strong&gt;&lt;/font&gt; 
&lt;p&gt;
&lt;strong&gt;&lt;font face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tfpt query "Calculator\My Queries\AllProjectWorkItems"
/Server:vsts /format:xml &amp;gt; c:\AllWorkItems.xml&lt;/font&gt; &lt;/strong&gt; 
&lt;p&gt;
&amp;nbsp; 
&lt;p&gt;
7. This command generated an XML file containing all of the fields from all work items
from all projects. This satisfied their requirement.
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/Exportingallworkitemsfromallteamprojects_A73B/image_17.png" width="651" height="311"&gt; 
&lt;/p&gt;
&lt;p&gt;
At this point you can update the query adding more columns, until you have the superset
of what you need for the export of all types from all projects. With a little finesse,
the XML document could be migrated into Excel or another software application.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.accentient.com/aggbug.ashx?id=679f8f62-aab5-4061-8044-7c6f17524d72" /&gt;</description>
      <comments>http://blog.accentient.com/CommentView,guid,679f8f62-aab5-4061-8044-7c6f17524d72.aspx</comments>
      <category>Team Foundation Server</category>
      <category>Visual Studio 2008</category>
    </item>
    <item>
      <trackback:ping>http://blog.accentient.com/Trackback.aspx?guid=7d310398-7573-4be8-b90d-16b79309abc8</trackback:ping>
      <pingback:server>http://blog.accentient.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.accentient.com/PermaLink,guid,7d310398-7573-4be8-b90d-16b79309abc8.aspx</pingback:target>
      <dc:creator>Richard Hundhausen</dc:creator>
      <wfw:comment>http://blog.accentient.com/CommentView,guid,7d310398-7573-4be8-b90d-16b79309abc8.aspx</wfw:comment>
      <wfw:commentRss>http://blog.accentient.com/SyndicationService.asmx/GetEntryCommentsRss?guid=7d310398-7573-4be8-b90d-16b79309abc8</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Out of the box, Microsoft has a <a href="http://msdn.microsoft.com/en-us/library/ms181459.aspx" target="_blank">Work
Items check-in policy</a> which requires you to select <em>at least one</em> work
item when checking in your code in TFS 2008. If you install the <a href="http://msdn.microsoft.com/en-us/teamsystem/bb980963.aspx" target="_blank">Team
Foundation Server Power Tools</a>, you’ll get the <a href="http://msdn.microsoft.com/en-us/teamsystem/bb980963.aspx#checkin" target="_blank">Work
Item Query check-in policy</a>. This is nice because it allows you to specify a team
query to which the work item associated with a check-in must belong. The example I
give is that the team may want to spend the next couple of days on a “bug bash”, so
you could use this policy to point to the “Active Bugs” query, etc.
</p>
        <p>
What’s missing is a policy that enforces you selecting <em>exactly one</em> work item
during check-in. I believe this is crucial for maximum traceability: one changeset
to one work item. This is a good habit to adopt as it increases the maintainability
of the code, offering better get, branch, build, and merge options. Another way to
put it: chatty check-ins (many, throughout the day) are preferred to chunky check-ins
(one big one at 5pm).
</p>
        <p>
If only Microsoft had added a configuration page to either of the above policies,
I wouldn’t have had to build this policy.
</p>
        <p>
Follow the <a href="http://msdn.microsoft.com/en-us/library/bb668980.aspx" target="_blank">P&amp;P
How-To guidance</a> using the attached project to implement this policy.
</p>
        <p>
Attachments: <a href="http://blog.accentient.com/files/SingleWorkItemPolicy.zip" target="_blank">SingleWorkItemPolicy.zip</a> (19kb)
</p>
        <img width="0" height="0" src="http://blog.accentient.com/aggbug.ashx?id=7d310398-7573-4be8-b90d-16b79309abc8" />
      </body>
      <title>Custom Check-in Policy for Exactly One Work Item</title>
      <guid isPermaLink="false">http://blog.accentient.com/PermaLink,guid,7d310398-7573-4be8-b90d-16b79309abc8.aspx</guid>
      <link>http://blog.accentient.com/CustomCheckinPolicyForExactlyOneWorkItem.aspx</link>
      <pubDate>Tue, 15 Dec 2009 01:10:36 GMT</pubDate>
      <description>&lt;p&gt;
Out of the box, Microsoft has a &lt;a href="http://msdn.microsoft.com/en-us/library/ms181459.aspx" target="_blank"&gt;Work
Items check-in policy&lt;/a&gt; which requires you to select &lt;em&gt;at least one&lt;/em&gt; work
item when checking in your code in TFS 2008. If you install the &lt;a href="http://msdn.microsoft.com/en-us/teamsystem/bb980963.aspx" target="_blank"&gt;Team
Foundation Server Power Tools&lt;/a&gt;, you’ll get the &lt;a href="http://msdn.microsoft.com/en-us/teamsystem/bb980963.aspx#checkin" target="_blank"&gt;Work
Item Query check-in policy&lt;/a&gt;. This is nice because it allows you to specify a team
query to which the work item associated with a check-in must belong. The example I
give is that the team may want to spend the next couple of days on a “bug bash”, so
you could use this policy to point to the “Active Bugs” query, etc.
&lt;/p&gt;
&lt;p&gt;
What’s missing is a policy that enforces you selecting &lt;em&gt;exactly one&lt;/em&gt; work item
during check-in. I believe this is crucial for maximum traceability: one changeset
to one work item. This is a good habit to adopt as it increases the maintainability
of the code, offering better get, branch, build, and merge options. Another way to
put it: chatty check-ins (many, throughout the day) are preferred to chunky check-ins
(one big one at 5pm).
&lt;/p&gt;
&lt;p&gt;
If only Microsoft had added a configuration page to either of the above policies,
I wouldn’t have had to build this policy.
&lt;/p&gt;
&lt;p&gt;
Follow the &lt;a href="http://msdn.microsoft.com/en-us/library/bb668980.aspx" target="_blank"&gt;P&amp;amp;P
How-To guidance&lt;/a&gt; using the attached project to implement this policy.
&lt;/p&gt;
&lt;p&gt;
Attachments: &lt;a href="http://blog.accentient.com/files/SingleWorkItemPolicy.zip" target="_blank"&gt;SingleWorkItemPolicy.zip&lt;/a&gt; (19kb)
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.accentient.com/aggbug.ashx?id=7d310398-7573-4be8-b90d-16b79309abc8" /&gt;</description>
      <comments>http://blog.accentient.com/CommentView,guid,7d310398-7573-4be8-b90d-16b79309abc8.aspx</comments>
      <category>Team Foundation Server</category>
      <category>Visual Studio 2008</category>
    </item>
    <item>
      <trackback:ping>http://blog.accentient.com/Trackback.aspx?guid=1d9d4d1e-1651-4c5b-982b-88d76d03411a</trackback:ping>
      <pingback:server>http://blog.accentient.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.accentient.com/PermaLink,guid,1d9d4d1e-1651-4c5b-982b-88d76d03411a.aspx</pingback:target>
      <dc:creator>Richard Hundhausen</dc:creator>
      <wfw:comment>http://blog.accentient.com/CommentView,guid,1d9d4d1e-1651-4c5b-982b-88d76d03411a.aspx</wfw:comment>
      <wfw:commentRss>http://blog.accentient.com/SyndicationService.asmx/GetEntryCommentsRss?guid=1d9d4d1e-1651-4c5b-982b-88d76d03411a</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
If you’re like me, then you don’t pay attention when you install a lot of software.
Often times I just click Next &gt; Next &gt; Finish without reading the screens.
</p>
        <p>
For example, I guess I wasn’t paying attention to who the registered user was when
I installed Visual Studio 2008 or Windows for that matter, because the splash screen
shows this:
</p>
        <p>
          <a href="http://blog.accentient.com/content/binary/WindowsLiveWriter/ChangingthelicensedtouserinVisualStudio2_10DAF/image_2.png">
            <img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="349" alt="image" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/ChangingthelicensedtouserinVisualStudio2_10DAF/image_thumb.png" width="533" border="0" />
          </a>
        </p>
        <p>
Yes, it’s a registry setting and you can find/set it here:
</p>
        <p>
          <strong>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\RegisteredOwner</strong>
        </p>
        <p>
          <a href="http://blog.accentient.com/content/binary/WindowsLiveWriter/ChangingthelicensedtouserinVisualStudio2_10DAF/image_4.png" target="_blank">
            <img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="301" alt="image" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/ChangingthelicensedtouserinVisualStudio2_10DAF/image_thumb_1.png" width="533" border="0" />
          </a>
        </p>
        <p>
Unfortunately, changing it didn’t do anything, until I learned the trick from <a href="http://www.wintellect.com/CS/blogs/jrobbins/default.aspx" target="_blank">John
Robbins</a> (Wintellect):
</p>
        <p>
After you change HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\RegisteredOwner,
restart Windows and then run “<strong>DEVENV /setup</strong>” from an elevated PowerShell
window. That will update the splash screen registry key. <img width="0" height="0" src="http://blog.accentient.com/aggbug.ashx?id=1d9d4d1e-1651-4c5b-982b-88d76d03411a" /></p>
      </body>
      <title>Changing the licensed to user in Visual Studio 2008</title>
      <guid isPermaLink="false">http://blog.accentient.com/PermaLink,guid,1d9d4d1e-1651-4c5b-982b-88d76d03411a.aspx</guid>
      <link>http://blog.accentient.com/ChangingTheLicensedToUserInVisualStudio2008.aspx</link>
      <pubDate>Tue, 20 Oct 2009 01:09:44 GMT</pubDate>
      <description>&lt;p&gt;
If you’re like me, then you don’t pay attention when you install a lot of software.
Often times I just click Next &gt; Next &gt; Finish without reading the screens.
&lt;/p&gt;
&lt;p&gt;
For example, I guess I wasn’t paying attention to who the registered user was when
I installed Visual Studio 2008 or Windows for that matter, because the splash screen
shows this:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://blog.accentient.com/content/binary/WindowsLiveWriter/ChangingthelicensedtouserinVisualStudio2_10DAF/image_2.png"&gt;&lt;img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="349" alt="image" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/ChangingthelicensedtouserinVisualStudio2_10DAF/image_thumb.png" width="533" border="0"&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
Yes, it’s a registry setting and you can find/set it here:
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\RegisteredOwner&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://blog.accentient.com/content/binary/WindowsLiveWriter/ChangingthelicensedtouserinVisualStudio2_10DAF/image_4.png" target="_blank"&gt;&lt;img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="301" alt="image" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/ChangingthelicensedtouserinVisualStudio2_10DAF/image_thumb_1.png" width="533" border="0"&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
Unfortunately, changing it didn’t do anything, until I learned the trick from &lt;a href="http://www.wintellect.com/CS/blogs/jrobbins/default.aspx" target="_blank"&gt;John
Robbins&lt;/a&gt; (Wintellect):
&lt;/p&gt;
&lt;p&gt;
After you change HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\RegisteredOwner,
restart Windows and then run “&lt;strong&gt;DEVENV /setup&lt;/strong&gt;” from an elevated PowerShell
window. That will update the splash screen registry key. &lt;img width="0" height="0" src="http://blog.accentient.com/aggbug.ashx?id=1d9d4d1e-1651-4c5b-982b-88d76d03411a" /&gt;</description>
      <comments>http://blog.accentient.com/CommentView,guid,1d9d4d1e-1651-4c5b-982b-88d76d03411a.aspx</comments>
      <category>Visual Studio 2008</category>
    </item>
    <item>
      <trackback:ping>http://blog.accentient.com/Trackback.aspx?guid=8775e84b-32a8-49b6-b3f3-80be3e7780f5</trackback:ping>
      <pingback:server>http://blog.accentient.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.accentient.com/PermaLink,guid,8775e84b-32a8-49b6-b3f3-80be3e7780f5.aspx</pingback:target>
      <dc:creator>Richard Hundhausen</dc:creator>
      <wfw:comment>http://blog.accentient.com/CommentView,guid,8775e84b-32a8-49b6-b3f3-80be3e7780f5.aspx</wfw:comment>
      <wfw:commentRss>http://blog.accentient.com/SyndicationService.asmx/GetEntryCommentsRss?guid=8775e84b-32a8-49b6-b3f3-80be3e7780f5</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Don’t trust the install guide that you find inside your Beta 2 download media. It’s
an older version that was from last month.
</p>
        <p>
Instead, download the latest, beta 2 guide (TFSInstall-beta2-9192009.chm) <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=2d531219-2c39-4c69-88ef-f5ae6ac18c9f" target="_blank">here</a>.
</p>
        <img width="0" height="0" src="http://blog.accentient.com/aggbug.ashx?id=8775e84b-32a8-49b6-b3f3-80be3e7780f5" />
      </body>
      <title>Team Foundation Server 2010 Installation Guide</title>
      <guid isPermaLink="false">http://blog.accentient.com/PermaLink,guid,8775e84b-32a8-49b6-b3f3-80be3e7780f5.aspx</guid>
      <link>http://blog.accentient.com/TeamFoundationServer2010InstallationGuide.aspx</link>
      <pubDate>Mon, 19 Oct 2009 22:16:17 GMT</pubDate>
      <description>&lt;p&gt;
Don’t trust the install guide that you find inside your Beta 2 download media. It’s
an older version that was from last month.
&lt;/p&gt;
&lt;p&gt;
Instead, download the latest, beta 2 guide (TFSInstall-beta2-9192009.chm) &lt;a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=2d531219-2c39-4c69-88ef-f5ae6ac18c9f" target="_blank"&gt;here&lt;/a&gt;.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.accentient.com/aggbug.ashx?id=8775e84b-32a8-49b6-b3f3-80be3e7780f5" /&gt;</description>
      <comments>http://blog.accentient.com/CommentView,guid,8775e84b-32a8-49b6-b3f3-80be3e7780f5.aspx</comments>
      <category>Team Foundation Server 2010</category>
    </item>
    <item>
      <trackback:ping>http://blog.accentient.com/Trackback.aspx?guid=a1a44583-acff-4ea0-ac55-bc62573c5c24</trackback:ping>
      <pingback:server>http://blog.accentient.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.accentient.com/PermaLink,guid,a1a44583-acff-4ea0-ac55-bc62573c5c24.aspx</pingback:target>
      <dc:creator>Richard Hundhausen</dc:creator>
      <wfw:comment>http://blog.accentient.com/CommentView,guid,a1a44583-acff-4ea0-ac55-bc62573c5c24.aspx</wfw:comment>
      <wfw:commentRss>http://blog.accentient.com/SyndicationService.asmx/GetEntryCommentsRss?guid=a1a44583-acff-4ea0-ac55-bc62573c5c24</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I’ve been doing a lot of work with the Database, er Development edition of VSTS 2008.
Of course I’m running the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=bb3ad767-5f69-4db9-b1c9-8f55759846ed&amp;displaylang=en" target="_blank">GDR-R2</a> version
which really changed the architecture of the database projects, as well as the process
of building and deploying.
</p>
        <p>
Prior to the GDR, if you deployed a database project it would automatically create
a Data Connection in the Server Explorer window. I liked this, because I would almost
always follow-up a first time deployment with some data generation or unit testing,
and it just made it easier to select the pre-defined connection from the dropdowns.
It seems that the GDR erased this timesaver. 
</p>
        <p>
  
</p>
        <p>
For example, I just deployed a GDR-R2 database project according to these settings: 
</p>
        <p>
  
</p>
        <p>
          <img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="374" alt="image" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/DeployToDatabaseAddToServerExplorer_CC94/image_3.png" width="623" border="0" />
        </p>
        <p>
  
</p>
        <p>
And when I go to the Server Explorer window, I don’t see my VSTS\dev.AdventureWorks2009.dbo
connection like I would have expected: 
</p>
        <p>
  
</p>
        <p>
          <img title="clip_image002" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="140" alt="clip_image002" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/DeployToDatabaseAddToServerExplorer_CC94/clip_image002_3.jpg" width="253" border="0" />
        </p>
        <p>
  
</p>
        <p>
Well it seems that this change was by design and it is configurable! According to <a href="http://blogs.msdn.com/vstsdb" target="_blank">Duke
Kamstra</a>, there’s a property in the database project (.dbproj) file that lets you
control this behavior: 
</p>
        <p>
  
</p>
        <p>
          <strong>&lt;DeployToDatabaseAddToServerExplorer&gt;False&lt;/DeployToDatabaseAddToServerExplorer&gt;</strong>
        </p>
        <p>
  
</p>
        <p>
If you set the property to True, the connection will get added to the list which Server
Explorer displays, and the behavior I enjoyed prior to GDR will return. For added
coolness, if you always want this behavior you could modify the template(s) that are
instantiate dbproj file(s) from: C:\Program Files\Microsoft Visual Studio [9.0 | 10.0]\VSTSDB\Extensions\SqlServer\ProjectItems\*\*.dbproj 
</p>
        <p>
  
</p>
        <p>
Duke also tells me that the same property exists in Visual Studio 2010.
</p>
        <img width="0" height="0" src="http://blog.accentient.com/aggbug.ashx?id=a1a44583-acff-4ea0-ac55-bc62573c5c24" />
      </body>
      <title>DeployToDatabaseAddToServerExplorer</title>
      <guid isPermaLink="false">http://blog.accentient.com/PermaLink,guid,a1a44583-acff-4ea0-ac55-bc62573c5c24.aspx</guid>
      <link>http://blog.accentient.com/DeployToDatabaseAddToServerExplorer.aspx</link>
      <pubDate>Mon, 19 Oct 2009 20:31:53 GMT</pubDate>
      <description>&lt;p&gt;
I’ve been doing a lot of work with the Database, er Development edition of VSTS 2008.
Of course I’m running the &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=bb3ad767-5f69-4db9-b1c9-8f55759846ed&amp;amp;displaylang=en" target="_blank"&gt;GDR-R2&lt;/a&gt; version
which really changed the architecture of the database projects, as well as the process
of building and deploying.
&lt;/p&gt;
&lt;p&gt;
Prior to the GDR, if you deployed a database project it would automatically create
a Data Connection in the Server Explorer window. I liked this, because I would almost
always follow-up a first time deployment with some data generation or unit testing,
and it just made it easier to select the pre-defined connection from the dropdowns.
It seems that the GDR erased this timesaver. 
&lt;p&gt;
&amp;nbsp; 
&lt;p&gt;
For example, I just deployed a GDR-R2 database project according to these settings: 
&lt;p&gt;
&amp;nbsp; 
&lt;p&gt;
&lt;img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="374" alt="image" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/DeployToDatabaseAddToServerExplorer_CC94/image_3.png" width="623" border="0"&gt; 
&lt;p&gt;
&amp;nbsp; 
&lt;p&gt;
And when I go to the Server Explorer window, I don’t see my VSTS\dev.AdventureWorks2009.dbo
connection like I would have expected: 
&lt;p&gt;
&amp;nbsp; 
&lt;p&gt;
&lt;img title="clip_image002" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="140" alt="clip_image002" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/DeployToDatabaseAddToServerExplorer_CC94/clip_image002_3.jpg" width="253" border="0"&gt; 
&lt;p&gt;
&amp;nbsp; 
&lt;p&gt;
Well it seems that this change was by design and it is configurable! According to &lt;a href="http://blogs.msdn.com/vstsdb" target="_blank"&gt;Duke
Kamstra&lt;/a&gt;, there’s a property in the database project (.dbproj) file that lets you
control this behavior: 
&lt;p&gt;
&amp;nbsp; 
&lt;p&gt;
&lt;strong&gt;&amp;lt;DeployToDatabaseAddToServerExplorer&amp;gt;False&amp;lt;/DeployToDatabaseAddToServerExplorer&amp;gt;&lt;/strong&gt; 
&lt;p&gt;
&amp;nbsp; 
&lt;p&gt;
If you set the property to True, the connection will get added to the list which Server
Explorer displays, and the behavior I enjoyed prior to GDR will return. For added
coolness, if you always want this behavior you could modify the template(s) that are
instantiate dbproj file(s) from: C:\Program Files\Microsoft Visual Studio [9.0 | 10.0]\VSTSDB\Extensions\SqlServer\ProjectItems\*\*.dbproj 
&lt;p&gt;
&amp;nbsp; 
&lt;p&gt;
Duke also tells me that the same property exists in Visual Studio 2010.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.accentient.com/aggbug.ashx?id=a1a44583-acff-4ea0-ac55-bc62573c5c24" /&gt;</description>
      <comments>http://blog.accentient.com/CommentView,guid,a1a44583-acff-4ea0-ac55-bc62573c5c24.aspx</comments>
      <category>Development</category>
      <category>SQL Server</category>
      <category>Visual Studio 2010</category>
    </item>
    <item>
      <trackback:ping>http://blog.accentient.com/Trackback.aspx?guid=15364180-3ec0-4c0b-aa47-8eb8c7789b46</trackback:ping>
      <pingback:server>http://blog.accentient.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.accentient.com/PermaLink,guid,15364180-3ec0-4c0b-aa47-8eb8c7789b46.aspx</pingback:target>
      <dc:creator>Richard Hundhausen</dc:creator>
      <wfw:comment>http://blog.accentient.com/CommentView,guid,15364180-3ec0-4c0b-aa47-8eb8c7789b46.aspx</wfw:comment>
      <wfw:commentRss>http://blog.accentient.com/SyndicationService.asmx/GetEntryCommentsRss?guid=15364180-3ec0-4c0b-aa47-8eb8c7789b46</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I was at a client site last month where they have TFS2008SP1 installed and running
on Windows Server 2008 SP1. Everything <em>was</em> working fine. We created several
team projects. No problems.<br /><br />
I come back three weeks later and it wouldn’t create a team project. I kept getting
the “Project Creation Wizard encountered a problem while uploading documents to the
Windows SharePoint Services server” error. According to the client, they hadn’t touched
anything. So, I started with Ben Day’s <a href="http://blog.benday.com/archive/2008/10/20/23193.aspx" target="_blank">blog
post</a> on the subject, but his fix didn’t work for me. I then checked all the service
accounts, permissions, farm administrator group, database status, etc. – all the standard
things, but no help.<br /><br />
Come to find out none of the SharePoint collection/sites would come up, let alone
allow me to create new ones. The Admin site worked, but every other site gave the
“Cannot complete this action. Please try again” wonderfully helpful error message. 
</p>
        <p>
  
</p>
        <p>
          <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/EverybodyLies_911B/image_7.png" width="198" height="89" />
          <br />
          <br />
Windows event logs and SharePoint event logs were useless, but I did find a KB article
talking about setting impersonation explicitly from code, so I decided to check the
Authentication settings on the Default Web Site and sure enough it was Disabled. I
changed it to Enabled, ran IISRESET for good measure, and voila! 
</p>
        <p>
  
</p>
        <p>
          <a href="http://blog.accentient.com/content/binary/WindowsLiveWriter/EverybodyLies_911B/image_9.png" target="_blank">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="IIS7 ASP.NET Impersonation" border="0" alt="IIS7 ASP.NET Impersonation" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/EverybodyLies_911B/image_thumb_3.png" width="644" height="426" />
          </a>
          <br />
          <br />
          <font color="#000000">I watch <a href="www.fox.com/house" target="_blank">House</a> enough
to know that “everybody lies”. It’s a basic <a href="http://www.housisms.com" target="_blank">Houseism</a>.
That was the case here. The “we didn’t touch anything” statement turned out to be
false.</font>
        </p>
        <p>
          <a href="http://blog.accentient.com/content/binary/WindowsLiveWriter/EverybodyLies_911B/image_4.png" target="_blank">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/EverybodyLies_911B/image_thumb_1.png" width="238" height="240" />
          </a>
        </p>
        <img width="0" height="0" src="http://blog.accentient.com/aggbug.ashx?id=15364180-3ec0-4c0b-aa47-8eb8c7789b46" />
      </body>
      <title>Everybody Lies</title>
      <guid isPermaLink="false">http://blog.accentient.com/PermaLink,guid,15364180-3ec0-4c0b-aa47-8eb8c7789b46.aspx</guid>
      <link>http://blog.accentient.com/EverybodyLies.aspx</link>
      <pubDate>Fri, 16 Oct 2009 14:18:22 GMT</pubDate>
      <description>&lt;p&gt;
I was at a client site last month where they have TFS2008SP1 installed and running
on Windows Server 2008 SP1. Everything &lt;em&gt;was&lt;/em&gt; working fine. We created several
team projects. No problems.&lt;br&gt;
&lt;br&gt;
I come back three weeks later and it wouldn’t create a team project. I kept getting
the “Project Creation Wizard encountered a problem while uploading documents to the
Windows SharePoint Services server” error. According to the client, they hadn’t touched
anything. So, I started with Ben Day’s &lt;a href="http://blog.benday.com/archive/2008/10/20/23193.aspx" target="_blank"&gt;blog
post&lt;/a&gt; on the subject, but his fix didn’t work for me. I then checked all the service
accounts, permissions, farm administrator group, database status, etc. – all the standard
things, but no help.&lt;br&gt;
&lt;br&gt;
Come to find out none of the SharePoint collection/sites would come up, let alone
allow me to create new ones. The Admin site worked, but every other site gave the
“Cannot complete this action. Please try again” wonderfully helpful error message. 
&lt;p&gt;
&amp;nbsp; 
&lt;p&gt;
&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/EverybodyLies_911B/image_7.png" width="198" height="89"&gt;
&lt;br&gt;
&lt;br&gt;
Windows event logs and SharePoint event logs were useless, but I did find a KB article
talking about setting impersonation explicitly from code, so I decided to check the
Authentication settings on the Default Web Site and sure enough it was Disabled. I
changed it to Enabled, ran IISRESET for good measure, and voila! 
&lt;p&gt;
&amp;nbsp; 
&lt;p&gt;
&lt;a href="http://blog.accentient.com/content/binary/WindowsLiveWriter/EverybodyLies_911B/image_9.png" target="_blank"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="IIS7 ASP.NET Impersonation" border="0" alt="IIS7 ASP.NET Impersonation" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/EverybodyLies_911B/image_thumb_3.png" width="644" height="426"&gt;&lt;/a&gt; 
&lt;br&gt;
&lt;br&gt;
&lt;font color="#000000"&gt;I watch &lt;a href="www.fox.com/house" target="_blank"&gt;House&lt;/a&gt; enough
to know that “everybody lies”. It’s a basic &lt;a href="http://www.housisms.com" target="_blank"&gt;Houseism&lt;/a&gt;.
That was the case here. The “we didn’t touch anything” statement turned out to be
false.&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://blog.accentient.com/content/binary/WindowsLiveWriter/EverybodyLies_911B/image_4.png" target="_blank"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blog.accentient.com/content/binary/WindowsLiveWriter/EverybodyLies_911B/image_thumb_1.png" width="238" height="240"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.accentient.com/aggbug.ashx?id=15364180-3ec0-4c0b-aa47-8eb8c7789b46" /&gt;</description>
      <comments>http://blog.accentient.com/CommentView,guid,15364180-3ec0-4c0b-aa47-8eb8c7789b46.aspx</comments>
      <category>Richard Hundhausen</category>
      <category>SharePoint</category>
      <category>Team Foundation Server</category>
      <category>Team System</category>
      <category>Visual Studio 2008</category>
    </item>
    <item>
      <trackback:ping>http://blog.accentient.com/Trackback.aspx?guid=5e9ea2ba-2889-4bbe-a171-c7eec824dfa5</trackback:ping>
      <pingback:server>http://blog.accentient.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.accentient.com/PermaLink,guid,5e9ea2ba-2889-4bbe-a171-c7eec824dfa5.aspx</pingback:target>
      <dc:creator>Richard Hundhausen</dc:creator>
      <wfw:comment>http://blog.accentient.com/CommentView,guid,5e9ea2ba-2889-4bbe-a171-c7eec824dfa5.aspx</wfw:comment>
      <wfw:commentRss>http://blog.accentient.com/SyndicationService.asmx/GetEntryCommentsRss?guid=5e9ea2ba-2889-4bbe-a171-c7eec824dfa5</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I’ve been hearing about these type of government contracts more and more lately. I
guess they’ve been around for years, but just maybe getting more popular in the circles
I travel. <a href="http://en.wikipedia.org/wiki/IDIQ" target="_blank">IDIQ</a> contracts
provide for an indefinite quantity of supplies or services during a fixed period of
time. They are frequently awarded by US Government agencies, including the GSA and
the DOD. They are most often used for architect-engineering services, such as IT projects.
</p>
        <p>
As I work with government agencies, I find their waterfall approaches to project management
and estimation to be frustrating. I hear a lot of “we do it because we’ve always done
it that way” or “that’s just the way it is in government”. I continue to question
this, especially when I see there are government agencies, especially federal, failure-prone
ones who are learning to trust their (agile) vendors and IT service providers more
and more. The IDIQ contract type is just such proof. It rocks.
</p>
        <p>
I did some searching and found that I wasn’t alone in this thinking. I found some
articles on <a href="http://alistair.cockburn.us" target="_blank">Alistair Cockburn’s</a> site
that <a href="http://alistair.cockburn.us/Indefinite+Delivery,+Indefinite+Quantity+or+IDIQ+contracts" target="_blank">mention
IDIQ</a> as part of a larger list of <a href="http://alistair.cockburn.us/agile+contracts" target="_blank">Agile
contract</a> approaches.
</p>
        <img width="0" height="0" src="http://blog.accentient.com/aggbug.ashx?id=5e9ea2ba-2889-4bbe-a171-c7eec824dfa5" />
      </body>
      <title>Indefinite Delivery, Indefinite Quantity (IDIQ)</title>
      <guid isPermaLink="false">http://blog.accentient.com/PermaLink,guid,5e9ea2ba-2889-4bbe-a171-c7eec824dfa5.aspx</guid>
      <link>http://blog.accentient.com/IndefiniteDeliveryIndefiniteQuantityIDIQ.aspx</link>
      <pubDate>Sat, 29 Aug 2009 00:13:04 GMT</pubDate>
      <description>&lt;p&gt;
I’ve been hearing about these type of government contracts more and more lately. I
guess they’ve been around for years, but just maybe getting more popular in the circles
I travel. &lt;a href="http://en.wikipedia.org/wiki/IDIQ" target="_blank"&gt;IDIQ&lt;/a&gt; contracts
provide for an indefinite quantity of supplies or services during a fixed period of
time. They are frequently awarded by US Government agencies, including the GSA and
the DOD. They are most often used for architect-engineering services, such as IT projects.
&lt;/p&gt;
&lt;p&gt;
As I work with government agencies, I find their waterfall approaches to project management
and estimation to be frustrating. I hear a lot of “we do it because we’ve always done
it that way” or “that’s just the way it is in government”. I continue to question
this, especially when I see there are government agencies, especially federal, failure-prone
ones who are learning to trust their (agile) vendors and IT service providers more
and more. The IDIQ contract type is just such proof. It rocks.
&lt;/p&gt;
&lt;p&gt;
I did some searching and found that I wasn’t alone in this thinking. I found some
articles on &lt;a href="http://alistair.cockburn.us" target="_blank"&gt;Alistair Cockburn’s&lt;/a&gt; site
that &lt;a href="http://alistair.cockburn.us/Indefinite+Delivery,+Indefinite+Quantity+or+IDIQ+contracts" target="_blank"&gt;mention
IDIQ&lt;/a&gt; as part of a larger list of &lt;a href="http://alistair.cockburn.us/agile+contracts" target="_blank"&gt;Agile
contract&lt;/a&gt; approaches.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.accentient.com/aggbug.ashx?id=5e9ea2ba-2889-4bbe-a171-c7eec824dfa5" /&gt;</description>
      <comments>http://blog.accentient.com/CommentView,guid,5e9ea2ba-2889-4bbe-a171-c7eec824dfa5.aspx</comments>
      <category>Development</category>
      <category>Personal Thoughts</category>
      <category>Richard Hundhausen</category>
    </item>
    <item>
      <trackback:ping>http://blog.accentient.com/Trackback.aspx?guid=ccb0426c-1c0c-440c-901b-57a7f25197db</trackback:ping>
      <pingback:server>http://blog.accentient.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.accentient.com/PermaLink,guid,ccb0426c-1c0c-440c-901b-57a7f25197db.aspx</pingback:target>
      <dc:creator>Richard Hundhausen</dc:creator>
      <wfw:comment>http://blog.accentient.com/CommentView,guid,ccb0426c-1c0c-440c-901b-57a7f25197db.aspx</wfw:comment>
      <wfw:commentRss>http://blog.accentient.com/SyndicationService.asmx/GetEntryCommentsRss?guid=ccb0426c-1c0c-440c-901b-57a7f25197db</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I spent this morning working with a client who will be using <a href="http://www.eclipse.org" target="_blank">Eclipse</a> and <a href="http://www.teamprise.com" target="_blank">Teamprise</a> client
to support their ongoing Java break/fix work while they migrate their application
to .NET. Both teams want to use (the same) Team Foundation Server so that work items,
version control, and automated builds are shared between all.
</p>
        <p>
These are some questions that came up during a simulation that we ran through this
morning, as well as some <em>answers</em> back from <a href="http://woodwardweb.com" target="_blank">Martin
Woodward</a> of Teamprise. I wanted to share with anyone else who might have similar
questions.
</p>
        <p>
Q. Is the <a href="http://msdn.microsoft.com/en-us/library/bb385979.aspx" target="_blank">Annotate</a> command
available from within Eclipse?<br /><em>Not yet. We have this in Teamprise 4.0 which we will be releasing to sym-ship
with TFS 2010 RTM. We’ll be having previews available of Teamprise 4.0 during the
2010 Beta 2 period as well as having a Teamprise 3.3 version which will work against
TFS 2010 but not have the TFS 2010 features (follow history on merge, branches as
first class citizens, hierarchical WIT etc).</em></p>
        <p>
Q. Get Latest on Check-out, if configured at TFS does Eclipse play nice with that
option or does it ignore it?<br /><em>The Teamprise clients have a preference for this feature. Currently we do not
look for the server side setting in TFS 2008 as our support of Get Latest on Check-out
predated when Microsoft added it to TFS.</em></p>
        <p>
Q. Are the Eclipse check-in policies completely different than Visual Studios? In
other words when I enable the <em>Work Items</em> policy in Eclipse do I have to also
enable it in Visual Studios?<br /><em>Yes. Java and .NET check-in policies are completely independent. This is because
of the programming model behind them (i.e. .NET ones implemented in .NET, Java ones
implemented in Java).  For more information on implementing custom Java check-in
policies if you need to see the <a href=" http://labs.teamprise.com/policysdk" target="_blank">Teamprise
Check-in Policy SDK</a></em><em>. However we ship with additional policies to the
Visual Studio client so hopefully you won’t have to.</em></p>
        <p>
Q. Do you have any guidance (such as "don't do it") for having both Eclipse and VS
use the same workspace and possibly edit some Java project files in Eclipse and others
in VS?<br /><em>You can do it – and it will work fine. The only problem is that the pending changes
manage in each would need a refresh (press the refresh button) if you are editing
in one application then switch to the other so that it knows about pending changes
created in the other application. That said, we’ve found people find it easier to
understand if they keep to the rule of 1 Eclipse workspace == 1 TFS workspace, therefore
creating a new workspace to work in for the Eclipse development is probably easiest
but not necessary.</em><br /><br />
Q. Does your <a href="http://www.teamprise.com/products/accelerator" target="_blank">Remote
Accelerator</a> product work fine for both Eclipse and VS on the same desktop?<br /><em>Yes, works for any TFS client on the same machine that talk the correct TFS protocol.
The only restriction is that it is single user – i.e. the person running the accelerator
process must be using the same credentials to talk to TFS as the client application
is using to talk to TFS. This is enforced by the Accelerator.</em></p>
        <p>
Q. If you want to call a specific target within the <a href="http://ant.apache.org" target="_blank">Ant</a> build.xml
file, can you specify this in the MSBuild command-line arguments textbox when queuing
a build, will it'll trickle down to Ant?<br /><em>If you want to call the same target every time, then you can edit the &lt;targets&gt;&lt;/targets&gt;
attribute in the AntBuildFile itemgroup as defined in the TFSBuild.proj file. If you
want to be able to optionally pass one through as MSBuild arguments in the Queue Build
dialog then you would but the variable that you wanted to use in the targets attribute
(i.e. &lt;targets&gt;$(AntTarget)&lt;/targets&gt;) and then optionally specify the
property in the dialog ( -P:AntTarget=myTarget)</em></p>
        <p>
Q. The .trx file generated by <a href="http://www.junit.org" target="_blank">JUnit</a> –
is that Teamprise that generated it and I'm guessing it's pushed to the data warehouse
automatically?<br /><em>Yes. JUnit targets need to output results using the xmlformatter (as standard).
The Teamprise Build Extensions then look for the JUnit result files and transform
them into the trx file format. They then call MSTest.exe with the /publish parameter
to publish the JUnit results to TFS which in turns gets automatically pushed to the
warehouse. Note that as we are using MSTest the build server needs a “team” version
of visual studio installed on it (Team Dev, Team Test or Team Suite) for the publish
functionality to be enabled. You can get the <a href="http://labs.teamprise.com/build/extensions.html" target="_blank">Teamprise
Build Extensions</a></em><em> and look at the source code (under the MS-PL) if you
want to understand better how it works.</em></p>
        <p>
Q. Is there any support for JUnit code coverage?<br /><em>For code coverage you can still produce the usual Java reports and have them included
in the build drop location, however there is currently no way to publish code coverage
data to TFS for Java applications. This is due to the way that the code coverage results
format is tightly bound to the PE (windows portable executable) file format. We’ve
been working closely with the team on this one and currently hope to have a solution
in place after TFS 2010 RTM.</em></p>
        <p>
Note: These questions were based on Eclipse version 3.4.1 and Teamprise version 3.2.1.
</p>
        <img width="0" height="0" src="http://blog.accentient.com/aggbug.ashx?id=ccb0426c-1c0c-440c-901b-57a7f25197db" />
      </body>
      <title>Eclipse + Teamprise FAQ</title>
      <guid isPermaLink="false">http://blog.accentient.com/PermaLink,guid,ccb0426c-1c0c-440c-901b-57a7f25197db.aspx</guid>
      <link>http://blog.accentient.com/EclipseTeampriseFAQ.aspx</link>
      <pubDate>Fri, 28 Aug 2009 21:18:20 GMT</pubDate>
      <description>&lt;p&gt;
I spent this morning working with a client who will be using &lt;a href="http://www.eclipse.org" target="_blank"&gt;Eclipse&lt;/a&gt; and &lt;a href="http://www.teamprise.com" target="_blank"&gt;Teamprise&lt;/a&gt; client
to support their ongoing Java break/fix work while they migrate their application
to .NET. Both teams want to use (the same) Team Foundation Server so that work items,
version control, and automated builds are shared between all.
&lt;/p&gt;
&lt;p&gt;
These are some questions that came up during a simulation that we ran through this
morning, as well as some &lt;em&gt;answers&lt;/em&gt; back from &lt;a href="http://woodwardweb.com" target="_blank"&gt;Martin
Woodward&lt;/a&gt; of Teamprise. I wanted to share with anyone else who might have similar
questions.
&lt;/p&gt;
&lt;p&gt;
Q. Is the &lt;a href="http://msdn.microsoft.com/en-us/library/bb385979.aspx" target="_blank"&gt;Annotate&lt;/a&gt; command
available from within Eclipse?&lt;br&gt;
&lt;em&gt;Not yet. We have this in Teamprise 4.0 which we will be releasing to sym-ship
with TFS 2010 RTM. We’ll be having previews available of Teamprise 4.0 during the
2010 Beta 2 period as well as having a Teamprise 3.3 version which will work against
TFS 2010 but not have the TFS 2010 features (follow history on merge, branches as
first class citizens, hierarchical WIT etc).&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;
Q. Get Latest on Check-out, if configured at TFS does Eclipse play nice with that
option or does it ignore it?&lt;br&gt;
&lt;em&gt;The Teamprise clients have a preference for this feature. Currently we do not
look for the server side setting in TFS 2008 as our support of Get Latest on Check-out
predated when Microsoft added it to TFS.&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;
Q. Are the Eclipse check-in policies completely different than Visual Studios? In
other words when I enable the &lt;em&gt;Work Items&lt;/em&gt; policy in Eclipse do I have to also
enable it in Visual Studios?&lt;br&gt;
&lt;em&gt;Yes. Java and .NET check-in policies are completely independent. This is because
of the programming model behind them (i.e. .NET ones implemented in .NET, Java ones
implemented in Java).&amp;nbsp; For more information on implementing custom Java check-in
policies if you need to see the &lt;a href=" http://labs.teamprise.com/policysdk" target="_blank"&gt;Teamprise
Check-in Policy SDK&lt;/a&gt;&lt;/em&gt;&lt;em&gt;. However we ship with additional policies to the
Visual Studio client so hopefully you won’t have to.&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;
Q. Do you have any guidance (such as "don't do it") for having both Eclipse and VS
use the same workspace and possibly edit some Java project files in Eclipse and others
in VS?&lt;br&gt;
&lt;em&gt;You can do it – and it will work fine. The only problem is that the pending changes
manage in each would need a refresh (press the refresh button) if you are editing
in one application then switch to the other so that it knows about pending changes
created in the other application. That said, we’ve found people find it easier to
understand if they keep to the rule of 1 Eclipse workspace == 1 TFS workspace, therefore
creating a new workspace to work in for the Eclipse development is probably easiest
but not necessary.&lt;/em&gt;
&lt;br&gt;
&lt;br&gt;
Q. Does your &lt;a href="http://www.teamprise.com/products/accelerator" target="_blank"&gt;Remote
Accelerator&lt;/a&gt; product work fine for both Eclipse and VS on the same desktop?&lt;br&gt;
&lt;em&gt;Yes, works for any TFS client on the same machine that talk the correct TFS protocol.
The only restriction is that it is single user – i.e. the person running the accelerator
process must be using the same credentials to talk to TFS as the client application
is using to talk to TFS. This is enforced by the Accelerator.&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;
Q. If you want to call a specific target within the &lt;a href="http://ant.apache.org" target="_blank"&gt;Ant&lt;/a&gt; build.xml
file, can you specify this in the MSBuild command-line arguments textbox when queuing
a build, will it'll trickle down to Ant?&lt;br&gt;
&lt;em&gt;If you want to call the same target every time, then you can edit the &amp;lt;targets&amp;gt;&amp;lt;/targets&amp;gt;
attribute in the AntBuildFile itemgroup as defined in the TFSBuild.proj file. If you
want to be able to optionally pass one through as MSBuild arguments in the Queue Build
dialog then you would but the variable that you wanted to use in the targets attribute
(i.e. &amp;lt;targets&amp;gt;$(AntTarget)&amp;lt;/targets&amp;gt;) and then optionally specify the
property in the dialog ( -P:AntTarget=myTarget)&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;
Q. The .trx file generated by &lt;a href="http://www.junit.org" target="_blank"&gt;JUnit&lt;/a&gt; –
is that Teamprise that generated it and I'm guessing it's pushed to the data warehouse
automatically?&lt;br&gt;
&lt;em&gt;Yes. JUnit targets need to output results using the xmlformatter (as standard).
The Teamprise Build Extensions then look for the JUnit result files and transform
them into the trx file format. They then call MSTest.exe with the /publish parameter
to publish the JUnit results to TFS which in turns gets automatically pushed to the
warehouse. Note that as we are using MSTest the build server needs a “team” version
of visual studio installed on it (Team Dev, Team Test or Team Suite) for the publish
functionality to be enabled. You can get the &lt;a href="http://labs.teamprise.com/build/extensions.html" target="_blank"&gt;Teamprise
Build Extensions&lt;/a&gt;&lt;/em&gt;&lt;em&gt; and look at the source code (under the MS-PL) if you
want to understand better how it works.&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;
Q. Is there any support for JUnit code coverage?&lt;br&gt;
&lt;em&gt;For code coverage you can still produce the usual Java reports and have them included
in the build drop location, however there is currently no way to publish code coverage
data to TFS for Java applications. This is due to the way that the code coverage results
format is tightly bound to the PE (windows portable executable) file format. We’ve
been working closely with the team on this one and currently hope to have a solution
in place after TFS 2010 RTM.&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;
Note: These questions were based on Eclipse version 3.4.1 and Teamprise version 3.2.1.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.accentient.com/aggbug.ashx?id=ccb0426c-1c0c-440c-901b-57a7f25197db" /&gt;</description>
      <comments>http://blog.accentient.com/CommentView,guid,ccb0426c-1c0c-440c-901b-57a7f25197db.aspx</comments>
      <category>Richard Hundhausen</category>
    </item>
  </channel>
</rss>