<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Guids on Matt Thornton</title>
    <link>https://matt-thornton.net/tags/guids/</link>
    <description>Recent content in Guids on Matt Thornton</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Mon, 01 Aug 2011 15:41:50 +0000</lastBuildDate><atom:link href="https://matt-thornton.net/tags/guids/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Tip: Visual Studio &#43; Batch replace GUIDs</title>
      <link>https://matt-thornton.net/tech/programming/tip-visual-studio-batch-replace-guids/</link>
      <pubDate>Mon, 01 Aug 2011 15:41:50 +0000</pubDate>
      
      <guid>https://matt-thornton.net/tech/programming/tip-visual-studio-batch-replace-guids/</guid>
      
        <description>&lt;p&gt;A common method for creating Visual Studio-based SharePoint solutions is to actually create them in the SharePoint GUI first, and then save the site as a template, and import that .wsp file in to Visual Studio as a SharePoint project. This often saves a lot of the hard slog of starting from scratch in Visual Studio, but still giving you the reusability of Visual Studio based solution.&lt;/p&gt;
&lt;p&gt;One small issue you may run in to though is the (re-)use of GUIDs in e.g., Site Columns. For safety, you may like to replace the GUIDs, but in the case where you have a lot to replace, doing this by hand could be cumbersome. Step up Visual Studio Macros. You can create a simple Macro to automate virtually any process. The only problem, in this case, though, is that my testing of macro-ing the Find/Replace was that I could easily find GUIDs in a file, but replacing them with a freshly generated one wasn&amp;rsquo;t obvious. So I created a custom macro.&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>