<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>TFS Version Control and VS Integration : Get Latest on Checkout</title><link>http://blogs.msdn.com/benryan/archive/tags/Get+Latest+on+Checkout/default.aspx</link><description>Tags: Get Latest on Checkout</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Get Latest on Checkout depends on a TFS 2008 server</title><link>http://blogs.msdn.com/benryan/archive/2007/12/12/get-latest-on-checkout-depends-on-a-tfs-2008-server.aspx</link><pubDate>Wed, 12 Dec 2007 21:14:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6749473</guid><dc:creator>benryan</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/benryan/comments/6749473.aspx</comments><wfw:commentRss>http://blogs.msdn.com/benryan/commentrss.aspx?PostID=6749473</wfw:commentRss><description>&lt;P&gt;It is worth noting that the "Get Latest on Checkout" feature requires server support to function.&amp;nbsp; In other words, you must connect to a TFS 2008 (or later) server for Get Latest on Checkout to work.&amp;nbsp; There has been some confusion in the forums because the Get Latest on Checkout option appears to be configurable on the client even when connected to a TFS 2005 server.&amp;nbsp; It is unfortunate that we do not disable the Get Latest on Checkout configuration options under Tools-&amp;gt;Options-&amp;gt;Source Control and under the Team Project settings in this case, but these options are meaningless if you are not connected to a TFS 2008 server.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6749473" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/benryan/archive/tags/Team+Foundation/default.aspx">Team Foundation</category><category domain="http://blogs.msdn.com/benryan/archive/tags/TFS+Version+Control/default.aspx">TFS Version Control</category><category domain="http://blogs.msdn.com/benryan/archive/tags/Get+Latest+on+Checkout/default.aspx">Get Latest on Checkout</category></item><item><title>An override for "Get Latest on Checkout"</title><link>http://blogs.msdn.com/benryan/archive/2007/04/23/an-override-for-get-latest-on-checkout.aspx</link><pubDate>Mon, 23 Apr 2007 16:25:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2246334</guid><dc:creator>benryan</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/benryan/comments/2246334.aspx</comments><wfw:commentRss>http://blogs.msdn.com/benryan/commentrss.aspx?PostID=2246334</wfw:commentRss><description>&lt;P&gt;In the course of working on the improved offline experience for Orcas, we discovered that going online with Get Latest On Checkout turned on was rather painful.&amp;nbsp; Specifically, you would never get a chance to generate a version conflict.&amp;nbsp; This, in turn, meant you would not be offered an opportunity to merge your "offline" local changes with the server if there was a newer version on the server when you went online.&amp;nbsp; This is due to the fact that you pended the edit against the tip version of the file, so all conflict generation regards you as being at tip.&lt;/P&gt;
&lt;P&gt;To get around this difficulty, we decided to update our API and add a new flag to the PendChangesOptions parameter in &lt;EM&gt;Workspace.PendEdit&lt;/EM&gt;.&amp;nbsp; This flag is, &lt;STRONG&gt;ForceCheckOutLocalVersion&lt;/STRONG&gt;, and it will cause "GetLatestOnCheckout" to be bypassed for this &lt;EM&gt;PendEdit&lt;/EM&gt; call.&amp;nbsp; The &lt;EM&gt;PendEdit&lt;/EM&gt; call is forced to pend an edit against the version of the file that is present locally in your workspace regardless of whether the client or team project "GetLatestOnCheckout" setting is active.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;The &lt;STRONG&gt;ForceCheckOutLocalVersion&lt;/STRONG&gt; flag did &lt;U&gt;not&lt;/U&gt; make it into the Orcas Beta1 release, but it should be available in a later release.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2246334" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/benryan/archive/tags/Get+Latest+on+Checkout/default.aspx">Get Latest on Checkout</category></item><item><title>Get Latest on Checkout</title><link>http://blogs.msdn.com/benryan/archive/2006/12/22/get-latest-on-checkout.aspx</link><pubDate>Fri, 22 Dec 2006 19:05:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1348932</guid><dc:creator>benryan</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/benryan/comments/1348932.aspx</comments><wfw:commentRss>http://blogs.msdn.com/benryan/commentrss.aspx?PostID=1348932</wfw:commentRss><description>At the end of November my crew wrapped up our work on the Get Latest on Checkout feature and checked it into the Orcas sourcebase.&amp;nbsp; This feature is obviously targetted at&amp;nbsp;users who are more comfortable with the Visual SourceSafe model of exclusive locking combined with Get Latest on Checkout.&amp;nbsp; Note that the TFS Get Latest on Checkout does not implicitly turn on exclusive locking; you will need to do that explicitly.&amp;nbsp; Details about this feature and others our group has been working on for Orcas can be found at &lt;A class="" title="Feature Specifications" href="http://msdn2.microsoft.com/en-us/vstudio/aa948851.aspx" mce_href="http://msdn2.microsoft.com/en-us/vstudio/aa948851.aspx"&gt;Feature Specifications for Visual Studio and .NET Framework "Orcas"&lt;/A&gt; on MSDN.&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1348932" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/benryan/archive/tags/TFS+Version+Control/default.aspx">TFS Version Control</category><category domain="http://blogs.msdn.com/benryan/archive/tags/Get+Latest+on+Checkout/default.aspx">Get Latest on Checkout</category></item></channel></rss>