<?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>BUGBUG: poor title : scci</title><link>http://blogs.msdn.com/richardb/archive/tags/scci/default.aspx</link><description>Tags: scci</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>VS 2008 users: remember to download the SourceSafe CTP</title><link>http://blogs.msdn.com/richardb/archive/2007/11/19/vs-2008-users-remember-to-download-the-sourcesafe-ctp.aspx</link><pubDate>Tue, 20 Nov 2007 00:23:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6410956</guid><dc:creator>Richard Berg</dc:creator><slash:comments>31</slash:comments><comments>http://blogs.msdn.com/richardb/comments/6410956.aspx</comments><wfw:commentRss>http://blogs.msdn.com/richardb/commentrss.aspx?PostID=6410956</wfw:commentRss><wfw:comment>http://blogs.msdn.com/richardb/rsscomments.aspx?PostID=6410956</wfw:comment><description>&lt;p&gt;You've probably all seen &lt;a href="http://blogs.msdn.com/somasegar/archive/2007/11/19/visual-studio-2008-and-net-framework-3-5-shipped.aspx"&gt;Soma's announcement&lt;/a&gt; that the 2008&amp;nbsp;suite of products officially shipped this morning.&amp;nbsp; Good luck downloading -- our servers are pegged :)&amp;nbsp; &lt;/p&gt; &lt;p&gt;If you plan to use VS 2008 with SourceSafe, make sure to pick up the &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=FAF41EDD-924D-449F-AEFC-9C86DD499720&amp;amp;displaylang=en"&gt;Update CTP&lt;/a&gt;&amp;nbsp;too.&amp;nbsp; Without it, some features like "Open from Source Control" will not work at all.&amp;nbsp; Pay close attention to the install instructions as well.&amp;nbsp; As it says in the &lt;a href="http://support.microsoft.com/?kbid=939808"&gt;KB article&lt;/a&gt;:&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;You may receive error messages when you use Visual Studio 2008. This problem occurs because some compatibility fixes require the Tdnamespaceextension.dll file to be reregistered after you install Visual Studio 2008. To reregister the Tdnamespaceextension.dll file, type the following command at the [elevated - RB] command prompt:  &lt;p&gt;&lt;strong&gt;regsvr32 "%programfiles%\Microsoft Visual SourceSafe\tdnamespaceextension.dll"&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;Sorry about the manual install step.&amp;nbsp; It sucks, I know.&amp;nbsp; The next Update won't have this requirement.&amp;nbsp; (We wanted to ship it before Orcas but ran into some last-minute delays.&amp;nbsp; Expect it before the end of the year.) &lt;p&gt;Why does SourceSafe need an update anyway?&amp;nbsp; Aren't VS plugin interfaces&amp;nbsp;supposed to be backwards compatible?&amp;nbsp; Yes, they are.&amp;nbsp; In fact, there are no changes to the MSSCCI API in 2008; none of the fixes are related to MSSCCI.&amp;nbsp; (3rd party source control developers can now breathe a sigh of relief).&amp;nbsp; The changes come from the way SourceSafe implements Open from Source Control, Add to Source Control, and Share inside Visual Studio.&amp;nbsp;  &lt;p&gt;Starting in VSS 2005, these functions let you browse the database inside VS's open/add dialogs instead of hanging off the File -&amp;gt; Source Control menu like most other source control providers.&amp;nbsp; It's a cool trick known as a &lt;a href="http://www.codeproject.com/shell/namespcextguide1.asp"&gt;namespace extension&lt;/a&gt;.&amp;nbsp; In VS 2008, as you may have noticed, those open/add dialogs got a facelift: like &lt;a href="http://blogs.msdn.com/richardb/archive/2007/09/11/did-you-know-how-to-bring-up-old-style-dialogs-in-sourcesafe-2005.aspx"&gt;VSS 2005&lt;/a&gt;, VS 2008 now uses the standard Windows dialogs.&amp;nbsp; So Vista users in particular get a spiffy new one with integrated search &amp;amp; everything.&amp;nbsp; Unfortunately, that change broke us pretty badly, leading&amp;nbsp;in one way or another to&amp;nbsp;at least 10 of the bugs on &lt;a href="http://blogs.msdn.com/richardb/archive/2007/06/06/list-of-bugs-fixed-in-sourcesafe-2005-gdr.aspx"&gt;my list&lt;/a&gt;.&amp;nbsp; Bottom line, you don't want to be caught without the Update linked above.&amp;nbsp;  &lt;p&gt;Hopefully these fixes demonstrate our commitment to keep SourceSafe 2005 a viable option with VS 2008, Vista, and beyond!&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6410956" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/richardb/archive/tags/vss/default.aspx">vss</category><category domain="http://blogs.msdn.com/richardb/archive/tags/scci/default.aspx">scci</category></item><item><title>Intro to Solution Binding in TFS, plus bonus FAQ</title><link>http://blogs.msdn.com/richardb/archive/2007/06/04/intro-to-solution-binding-in-tfs-plus-bonus-faq.aspx</link><pubDate>Tue, 05 Jun 2007 04:10:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3088793</guid><dc:creator>Richard Berg</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/richardb/comments/3088793.aspx</comments><wfw:commentRss>http://blogs.msdn.com/richardb/commentrss.aspx?PostID=3088793</wfw:commentRss><wfw:comment>http://blogs.msdn.com/richardb/rsscomments.aspx?PostID=3088793</wfw:comment><description>&lt;p&gt;Solution Explorer isn't working the way I expect.&amp;nbsp; How do I fix it?&amp;nbsp; In TFS, the answer is usually quite simple, because&amp;nbsp;TFS uses workspaces to do most of the dirty work.&amp;nbsp; So if you're familiar with our workspace model, a quick behind-the-scenes tour of solution binding should equip you to solve most problems yourself.&amp;nbsp; (If not, &lt;a href="http://msdn2.microsoft.com/en-us/library/ms181383(VS.80).aspx"&gt;start here&lt;/a&gt;).&amp;nbsp; &lt;/p&gt; &lt;p&gt;You may have heard the best practice "always use the Add To SCC / Open From SCC features the first time you work with a solution."&amp;nbsp; The reason is that these features handle all the extra work needed to make sure Solution Explorer, your source control provider, and the integration between the two is initialized and talking to each other happily.&amp;nbsp; Let's take a high-level peek inside Add To SCC, which must perform 3 main tasks:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;See if the root of the project / solution is mapped&lt;/li&gt; &lt;ul&gt; &lt;li&gt;If so, do nothing&lt;/li&gt; &lt;li&gt;If not, prompt the user for a new mapping&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Pend Adds on all child projects &amp;amp; files as necessary&lt;/li&gt; &lt;li&gt;Record the mapping into the *.sln and *proj files.&amp;nbsp; Such entries in the sln/proj files are known as "bindings".&amp;nbsp; They are what tell Solution Explorer to activate its Source Code Control Integration (SCCI) features: special &lt;a href="http://msdn2.microsoft.com/en-us/library/ms181372(VS.80).aspx"&gt;status glyphs&lt;/a&gt;, adding Checkin/Checkout to the context menu, etc.&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;Immediately, we can see why using Source Control Explorer or the tf.exe command line to add your solution won't turn on SCCI -- you skipped step 3, and possibly step 1 as well.&amp;nbsp; So how do you fix it?&amp;nbsp; The answer lies in the mysterious Bind dialog.*&amp;nbsp; (File -&amp;gt; Source Control -&amp;gt; Change Source Control)&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/richardb/WindowsLiveWriter/IntrotoSolutionBindinginTFS_1108B/image.png" atomicselection="true"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="380" alt="image" src="http://blogs.msdn.com/blogfiles/richardb/WindowsLiveWriter/IntrotoSolutionBindinginTFS_1108B/image_thumb.png" width="701" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;I'm actually stealing an image from VSS here.&amp;nbsp; In VSS and many other source control providers, this is where you configure your local &amp;lt;-&amp;gt; server mappings, control which projects are online vs offline, and otherwise manipulate bindings.&amp;nbsp; In case VSS users are wondering -- yes, VSS does have its own "working folders" but they are too fragile for this purpose.&amp;nbsp; &lt;/p&gt; &lt;p&gt;TFS, on the other hand, &lt;em&gt;does &lt;/em&gt;use its internal mapping scheme (workspaces) for this task.&amp;nbsp; As a result, all buttons are disabled except Bind/Unbind and Refresh.&amp;nbsp; The "advanced bind dialog" (what you get when clicking a single row, then clicking the "..." that appears underneath Server Binding) is also gone.&amp;nbsp; When you click Bind, TFS will ask your current workspace what the server name of the sln/proj file is, then blindly write that into the bindings.&amp;nbsp; Depending on whether those files actually exist on the server, it may or may not come up Valid.&amp;nbsp; If not, you can't fix it from here.&amp;nbsp; It's all controlled by the workspace.&amp;nbsp; &lt;/p&gt; &lt;p&gt;I know, tight coupling with a totally separate dialog doesn't sound good.&amp;nbsp; But trust me, it makes life easier.&amp;nbsp; As we'll see in the Q&amp;amp;A section, virtually all problems can be solved by the same advice: &lt;em&gt;fix your workspace and rebind&lt;/em&gt;.&amp;nbsp; So if you understand workspaces, you're set.&amp;nbsp; Meanwhile, fixing VSS bindings requires you to grok weird Visual Studio-specific concepts like "unified binding root."&amp;nbsp; See Alin's awesome explanations:&lt;br&gt;&lt;a title="http://alinconstantin.members.winisp.net/webdocs/scc/Bindings.htm" href="http://alinconstantin.members.winisp.net/webdocs/scc/Bindings.htm"&gt;http://alinconstantin.members.winisp.net/webdocs/scc/Bindings.htm&lt;/a&gt;&lt;br&gt;&lt;a title="http://alinconstantin.members.winisp.net/webdocs/scc/VSNetVC6.htm" href="http://alinconstantin.members.winisp.net/webdocs/scc/VSNetVC6.htm"&gt;http://alinconstantin.members.winisp.net/webdocs/scc/VSNetVC6.htm&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Let's summarize what we've learned so far by mimicking the Add To SCC feature on our own.&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Bring up the Workspaces dialog.&amp;nbsp; Type 'tf workspace &amp;lt;wsname&amp;gt;' or use the dropdown in Source Control Explorer.&amp;nbsp; Verify that all the projects you're trying to add can be mapped onto a server path.&amp;nbsp; If not, add an additional&amp;nbsp;mapping.&lt;/li&gt; &lt;li&gt;Pend adds on your files.&amp;nbsp; 'tf add &amp;lt;solutiondir&amp;gt; /r' will do it, as will the Add dialog in SCE.&lt;/li&gt; &lt;li&gt;Bring up the Bind dialog.*&amp;nbsp; Highlight all rows and click Bind.&amp;nbsp; If you did steps 1-2 correctly, they should all light up as 'Valid'.&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;(VSS users take note: at this point you need to save &amp;amp; Checkin.&amp;nbsp; The files are only pending Add, not committed to source control yet).&lt;/p&gt; &lt;p&gt;We're now equipped to answer some common questions.&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;&lt;strong&gt;Q: I added all my code to TFS.&amp;nbsp; When I opened one of my solutions from disk, Solution Explorer didn't show any SCCI / I got an error.&amp;nbsp; How do I fix it?&lt;br&gt;&lt;/strong&gt;A: Bring up the Bind dialog.&amp;nbsp; If there are any old bindings there (e.g. to a previous source control system), use the Unbind button to remove them.&amp;nbsp; Once everything is unbound, highlight all rows and click Bind.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Q: I moved my solution to a different location on disk, now SCCI doesn't work.&amp;nbsp; Why?&lt;/strong&gt;&lt;br&gt;A: You should've used the Workspace dialog to move the folder(s) for you.&amp;nbsp; Tf.exe and Source Control Explorer won't work until you fix your workspace.&amp;nbsp; Do so and SCCI will be happy too.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Q: I want to add a new project, but Add Project To Source Control is not an option on the context menu!&amp;nbsp; What gives?&lt;/strong&gt;&lt;br&gt;A: Chances are that project file already has bindings of some sort.&amp;nbsp; Bring up the Bind dialog.&amp;nbsp; Unbind + Bind should fix it.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Q: There's an extra mapping in my workspace that I don't remember adding.&amp;nbsp; Where did it come from?&lt;/strong&gt;&lt;br&gt;A: If you ran the Add To SCC wizard, and one of the projects wasn't mapped in the current workspace, then you probably got a dialog like this one:&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/richardb/WindowsLiveWriter/IntrotoSolutionBindinginTFS_1108B/image_1.png" atomicselection="true"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="199" alt="image" src="http://blogs.msdn.com/blogfiles/richardb/WindowsLiveWriter/IntrotoSolutionBindinginTFS_1108B/image_thumb_1.png" width="240" border="0"&gt;&lt;/a&gt;&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;What you may not have realized is that your choice resulted in a new mapping from the specified local folder to the server path you chose.&amp;nbsp; &lt;/p&gt; &lt;p&gt;If you used Open From SCC, we will actually add missing workspace mappings automatically.&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;That's all for now.&amp;nbsp; Next time, some limitations of this model.&lt;/p&gt; &lt;p&gt;*Two caveats.&amp;nbsp; First of all:&amp;nbsp;no, you aren't blind,&amp;nbsp;it's really the "Change Source Control" dialog, but nobody calls it that.&amp;nbsp; Sorry.&amp;nbsp; Second, since we're starting from scratch here, make sure you have the correct SCC plugin selected in Tools -&amp;gt; Options -&amp;gt; Source Control.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=3088793" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/richardb/archive/tags/tfs/default.aspx">tfs</category><category domain="http://blogs.msdn.com/richardb/archive/tags/vss/default.aspx">vss</category><category domain="http://blogs.msdn.com/richardb/archive/tags/scci/default.aspx">scci</category></item><item><title>SourceSafe users, update your bookmarks!  Alin Constantin's homepage has moved</title><link>http://blogs.msdn.com/richardb/archive/2007/05/02/sourcesafe-users-update-your-bookmarks-alin-constantin-s-homepage-has-moved.aspx</link><pubDate>Wed, 02 May 2007 21:10:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2378051</guid><dc:creator>Richard Berg</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/richardb/comments/2378051.aspx</comments><wfw:commentRss>http://blogs.msdn.com/richardb/commentrss.aspx?PostID=2378051</wfw:commentRss><wfw:comment>http://blogs.msdn.com/richardb/rsscomments.aspx?PostID=2378051</wfw:comment><description>&lt;P&gt;Power users should be familiar with the great work Alin did during his time on the SourceSafe team.&amp;nbsp; He was one of the most active &lt;A href="http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=50&amp;amp;SiteID=1" mce_href="http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=50&amp;amp;SiteID=1"&gt;forum&lt;/A&gt; participants and compiled a great set of tips on his &lt;A href="http://alinconstantin.dtdns.net/" mce_href="http://alinconstantin.dtdns.net/"&gt;personal website&lt;/A&gt;.&amp;nbsp; Not to mention his extensive development on the product itself.&lt;/P&gt;
&lt;P&gt;Until now, his website was hosted on his own server at home via &lt;A href="http://en.wikipedia.org/wiki/Dynamic_DNS" mce_href="http://en.wikipedia.org/wiki/Dynamic_DNS"&gt;dynamic DNS&lt;/A&gt;.&amp;nbsp; While it was surprisingly stable considering the circumstances, it was hardly the place for such useful info.&amp;nbsp; Any time his ISP went down or he rebooted the machine, we'd get desparate emails from customers or even internal MS support engineers.&amp;nbsp; Luckily, we can now lay those&amp;nbsp;to rest.&amp;nbsp; &lt;EM&gt;&lt;A href="http://alinconstantin.members.winisp.net/webdocs/scc/" mce_href="http://alinconstantin.members.winisp.net/webdocs/scc/"&gt;Microsoft Visual SourceSafe and Visual Studio source control integration help and tips&lt;/A&gt; &lt;/EM&gt;now has a permanent home&lt;EM&gt;.&lt;/EM&gt;&amp;nbsp; Topics covered:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Microsoft Visual SourceSafe and Source Control resources 
&lt;LI&gt;Installing and configuring Microsoft Visual SourceSafe for Internet (Remote) access 
&lt;LI&gt;About Visual SourceSafe Passwords and Security 
&lt;LI&gt;Source Control Bindings explained 
&lt;LI&gt;Microsoft Source Control Interface 
&lt;LI&gt;.root folders explained 
&lt;LI&gt;Is Source Control integration really worse in VisualStudio .NET than in Visual C++ 6.0? 
&lt;LI&gt;Renaming and deleting files in projects under source control in Visual Studio (the good, the bad and the ugly) 
&lt;LI&gt;The SUO file and Web Projects in VisualStudio .NET 
&lt;LI&gt;Files used by source control integration in VisualStudio .NET 
&lt;LI&gt;I got an "Unspecified error" message in VisualStudio .NET, what now? 
&lt;LI&gt;Using Visual SourceSafe 6.0 with Visual Studio 2005&lt;/LI&gt;&lt;/UL&gt;Be sure to check it out if you never have.&amp;nbsp; There's also some new content, such as Vista instructions &amp;amp; screenshot in the Remote Access article.&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2378051" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/richardb/archive/tags/vss/default.aspx">vss</category><category domain="http://blogs.msdn.com/richardb/archive/tags/scci/default.aspx">scci</category></item></channel></rss>