<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" 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/" version="2.0">
  <channel>
    <title>Jesper Niedermann's .NET Blog - Tools</title>
    <link>http://www.niedermann.dk/</link>
    <description>about .NET and related technologies</description>
    <language>en-us</language>
    <copyright>Jesper Niedermann</copyright>
    <lastBuildDate>Sun, 13 Jun 2010 17:20:02 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.2.8279.16125</generator>
    <managingEditor>jesper@niedermann.dk</managingEditor>
    <webMaster>jesper@niedermann.dk</webMaster>
    <item>
      <trackback:ping>http://www.niedermann.dk/Trackback.aspx?guid=cbfce837-1ab4-46ce-ba51-b67ab69cc1dc</trackback:ping>
      <pingback:server>http://www.niedermann.dk/pingback.aspx</pingback:server>
      <pingback:target>http://www.niedermann.dk/PermaLink,guid,cbfce837-1ab4-46ce-ba51-b67ab69cc1dc.aspx</pingback:target>
      <dc:creator>Jesper Niedermann</dc:creator>
      <wfw:comment>http://www.niedermann.dk/CommentView,guid,cbfce837-1ab4-46ce-ba51-b67ab69cc1dc.aspx</wfw:comment>
      <wfw:commentRss>http://www.niedermann.dk/SyndicationService.asmx/GetEntryCommentsRss?guid=cbfce837-1ab4-46ce-ba51-b67ab69cc1dc</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Imagine that you want to make an extension for Visual Studio 2010 that creates new
custom right click menus for the Solution Explorer. Imagine that you could do it by
just implementing a good old .NET interface like this:
</p>
        <pre class="c#" name="code">public class MenuManager : IMenuManager<br />
{<br />
public IEnumerable&lt;IMenuItem&gt; GetMenus(ContextLevels menuForLevel)<br />
{<br />
var menuItems = new List&lt;IMenuItem&gt;();<br />
var menuItem1 = new MenuItem("My Menu1");<br />
menuItems.Add(menuItem1);<br />
var menuItem2 = new MenuItem("My Menu2");<br />
menuItems.Add(menuItem2);<br />
return menuItems;<br />
}<br /><br />
public string MainMenu()<br />
{<br />
return "My Main Menu";<br />
}<br />
}</pre>
        <p>
 
</p>
        <p>
Well it turns out you can. In <a href="http://mme.codeplex.com/" target="_blank">MME</a> I
have helped you do exactly that. No more using the convoluted add-in model of Visual
Studio to accomplish this goal. And it is also much simpler than using GAX/GAT (that
can do so much more to be fair).
</p>
        <p>
You can easily install MME, either by downloading directly from <a href="http://mme.codeplex.com/" target="_blank">Codeplex</a> or
by installing directly from the Extension Manager in Visual Studio 2010 (you can find
it under the Tools menu).
</p>
        <p>
MME does not work for the Express editions of VS.
</p>
        <p>
I also recommend installing the MME MenuManager template which you can also find in
the Extension Manager.
</p>
        <p>
At codeplex you can read more about <a href="http://mme.codeplex.com/wikipage?title=implementing&amp;referringTitle=Documentation" target="_blank">implementing</a> and <a href="http://mme.codeplex.com/wikipage?title=deploying&amp;referringTitle=Documentation" target="_blank">deploying</a> MME’s
and also get further insight on the <a href="http://mme.codeplex.com/wikipage?title=Architecture&amp;referringTitle=Documentation" target="_blank">architecture.</a></p>
        <img width="0" height="0" src="http://www.niedermann.dk/aggbug.ashx?id=cbfce837-1ab4-46ce-ba51-b67ab69cc1dc" />
      </body>
      <title>Right Click menus for Visual Studio 2010</title>
      <guid isPermaLink="false">http://www.niedermann.dk/PermaLink,guid,cbfce837-1ab4-46ce-ba51-b67ab69cc1dc.aspx</guid>
      <link>http://www.niedermann.dk/2010/06/13/RightClickMenusForVisualStudio2010.aspx</link>
      <pubDate>Sun, 13 Jun 2010 17:20:02 GMT</pubDate>
      <description>&lt;p&gt;
Imagine that you want to make an extension for Visual Studio 2010 that creates new
custom right click menus for the Solution Explorer. Imagine that you could do it by
just implementing a good old .NET interface like this:
&lt;/p&gt;
&lt;pre class="c#" name="code"&gt;public class MenuManager : IMenuManager&lt;br&gt;
{&lt;br&gt;
public IEnumerable&amp;lt;IMenuItem&amp;gt; GetMenus(ContextLevels menuForLevel)&lt;br&gt;
{&lt;br&gt;
var menuItems = new List&amp;lt;IMenuItem&amp;gt;();&lt;br&gt;
var menuItem1 = new MenuItem("My Menu1");&lt;br&gt;
menuItems.Add(menuItem1);&lt;br&gt;
var menuItem2 = new MenuItem("My Menu2");&lt;br&gt;
menuItems.Add(menuItem2);&lt;br&gt;
return menuItems;&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
public string MainMenu()&lt;br&gt;
{&lt;br&gt;
return "My Main Menu";&lt;br&gt;
}&lt;br&gt;
}&lt;/pre&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
Well it turns out you can. In &lt;a href="http://mme.codeplex.com/" target="_blank"&gt;MME&lt;/a&gt; I
have helped you do exactly that. No more using the convoluted add-in model of Visual
Studio to accomplish this goal. And it is also much simpler than using GAX/GAT (that
can do so much more to be fair).
&lt;/p&gt;
&lt;p&gt;
You can easily install MME, either by downloading directly from &lt;a href="http://mme.codeplex.com/" target="_blank"&gt;Codeplex&lt;/a&gt; or
by installing directly from the Extension Manager in Visual Studio 2010 (you can find
it under the Tools menu).
&lt;/p&gt;
&lt;p&gt;
MME does not work for the Express editions of VS.
&lt;/p&gt;
&lt;p&gt;
I also recommend installing the MME MenuManager template which you can also find in
the Extension Manager.
&lt;/p&gt;
&lt;p&gt;
At codeplex you can read more about &lt;a href="http://mme.codeplex.com/wikipage?title=implementing&amp;amp;referringTitle=Documentation" target="_blank"&gt;implementing&lt;/a&gt; and &lt;a href="http://mme.codeplex.com/wikipage?title=deploying&amp;amp;referringTitle=Documentation" target="_blank"&gt;deploying&lt;/a&gt; MME’s
and also get further insight on the &lt;a href="http://mme.codeplex.com/wikipage?title=Architecture&amp;amp;referringTitle=Documentation" target="_blank"&gt;architecture.&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.niedermann.dk/aggbug.ashx?id=cbfce837-1ab4-46ce-ba51-b67ab69cc1dc" /&gt;</description>
      <comments>http://www.niedermann.dk/CommentView,guid,cbfce837-1ab4-46ce-ba51-b67ab69cc1dc.aspx</comments>
      <category>Tools</category>
      <category>Visual Studio</category>
    </item>
    <item>
      <trackback:ping>http://www.niedermann.dk/Trackback.aspx?guid=7c2564c2-8b2c-4c16-837e-9f0e56f43786</trackback:ping>
      <pingback:server>http://www.niedermann.dk/pingback.aspx</pingback:server>
      <pingback:target>http://www.niedermann.dk/PermaLink,guid,7c2564c2-8b2c-4c16-837e-9f0e56f43786.aspx</pingback:target>
      <dc:creator>Jesper Niedermann</dc:creator>
      <wfw:comment>http://www.niedermann.dk/CommentView,guid,7c2564c2-8b2c-4c16-837e-9f0e56f43786.aspx</wfw:comment>
      <wfw:commentRss>http://www.niedermann.dk/SyndicationService.asmx/GetEntryCommentsRss?guid=7c2564c2-8b2c-4c16-837e-9f0e56f43786</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Just released version 1.2 of <a href="http://solzip.codeplex.com/" target="_blank">SolZip</a> my
convenient tool for Zipping Visual Studio 2008 solutions
</p>
        <p>
The major is a single install for SolZipMME, so you won't have to install <a href="http://managedmenuextension.codeplex.com/" target="_blank">ManagedMenuExtensions</a> beforehand.
</p>
        <p>
The release notes are here:
</p>
        <ol>
          <li>
Bug Fix: when multiple projects where referering to the same file it was added to
the archive multiple times.</li>
          <li>
SolZipMME uses SaveFileDialog instead of FolderBrowserDialog for Zip files.</li>
          <li>
A single file installer for SolZipMME.</li>
          <li>
Clipboard functionality now works on Vista / Windows Server 2008.</li>
          <li>
SolZipGuidance changed. The menu will no longer appear on projects that are not C#
projects. SolZipMME not changed.</li>
          <li>
Support for $(SolutionDir) and $(ProjectDir) placeholders added</li>
          <li>
Now works on Windows Vista even if UAC is not turned off</li>
        </ol>
        <p>
Enjoy...
</p>
        <img width="0" height="0" src="http://www.niedermann.dk/aggbug.ashx?id=7c2564c2-8b2c-4c16-837e-9f0e56f43786" />
      </body>
      <title>Version 1.2 of SolZip released</title>
      <guid isPermaLink="false">http://www.niedermann.dk/PermaLink,guid,7c2564c2-8b2c-4c16-837e-9f0e56f43786.aspx</guid>
      <link>http://www.niedermann.dk/2009/07/15/Version12OfSolZipReleased.aspx</link>
      <pubDate>Wed, 15 Jul 2009 15:05:27 GMT</pubDate>
      <description>&lt;p&gt;
Just released version 1.2 of &lt;a href="http://solzip.codeplex.com/" target="_blank"&gt;SolZip&lt;/a&gt; my
convenient tool for Zipping Visual Studio 2008 solutions
&lt;/p&gt;
&lt;p&gt;
The major is a single install for SolZipMME, so you won't have to install &lt;a href="http://managedmenuextension.codeplex.com/" target="_blank"&gt;ManagedMenuExtensions&lt;/a&gt; beforehand.
&lt;/p&gt;
&lt;p&gt;
The release notes are here:
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Bug Fix: when multiple projects where referering to the same file it was added to
the archive multiple times.&lt;/li&gt;
&lt;li&gt;
SolZipMME uses SaveFileDialog instead of FolderBrowserDialog for Zip files.&lt;/li&gt;
&lt;li&gt;
A single file installer for SolZipMME.&lt;/li&gt;
&lt;li&gt;
Clipboard functionality now works on Vista / Windows Server 2008.&lt;/li&gt;
&lt;li&gt;
SolZipGuidance changed. The menu will no longer appear on projects that are not C#
projects. SolZipMME not changed.&lt;/li&gt;
&lt;li&gt;
Support for $(SolutionDir) and $(ProjectDir) placeholders added&lt;/li&gt;
&lt;li&gt;
Now works on Windows Vista even if UAC is not turned off&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
Enjoy...
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.niedermann.dk/aggbug.ashx?id=7c2564c2-8b2c-4c16-837e-9f0e56f43786" /&gt;</description>
      <comments>http://www.niedermann.dk/CommentView,guid,7c2564c2-8b2c-4c16-837e-9f0e56f43786.aspx</comments>
      <category>Tools</category>
      <category>Visual Studio</category>
    </item>
    <item>
      <trackback:ping>http://www.niedermann.dk/Trackback.aspx?guid=5feb4e6f-48b5-444f-9057-d2b8be5ef199</trackback:ping>
      <pingback:server>http://www.niedermann.dk/pingback.aspx</pingback:server>
      <pingback:target>http://www.niedermann.dk/PermaLink,guid,5feb4e6f-48b5-444f-9057-d2b8be5ef199.aspx</pingback:target>
      <dc:creator>Jesper Niedermann</dc:creator>
      <wfw:comment>http://www.niedermann.dk/CommentView,guid,5feb4e6f-48b5-444f-9057-d2b8be5ef199.aspx</wfw:comment>
      <wfw:commentRss>http://www.niedermann.dk/SyndicationService.asmx/GetEntryCommentsRss?guid=5feb4e6f-48b5-444f-9057-d2b8be5ef199</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I just released version 1.1 of <a href="http://solzip.codeplex.com/" target="_blank">SolZip</a> which
can be downloaded from the <a href="http://solzip.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=29427" target="_blank">download
page</a> at the SolZip site.
</p>
        <p>
The new action packed version contains one major improvement, one bug fix, and a few
name changes:
</p>
        <ol>
          <li>
Now Source Control bindings for TFS and SCC can be removed from sln and csproj files.
The default for all 3 UI's is that the bindings are removed, but you can optionally
choose not to remove them. Feel free to contact me if you need bindings from other
source control vendors removed.</li>
          <li>
A bug fixed that made WinZip clients give a warning when unzipping certain archives
made by SolZip. The warning was given when there was .. (2 dots) in a path in one
of the zipped files.</li>
          <li>
The Name SunZip.exe for the commandline tool was changed to SolZip.exe. Because SunZip
sounded too much like UnZip.</li>
          <li>
The Name SolutionZipper changed to SolZip everywhere. Except for SolutionZipper.dll
which has been changed to SolZipBasis.dll</li>
        </ol>
        <p>
In the next version I will try to include <a href="http://managedmenuextension.codeplex.com/" target="_blank">ManagedMenuExtensions</a> in
the install so you won't have to run more than one setup to install SolZipMME.
</p>
        <p>
Enjoy the new version :O)
</p>
        <img width="0" height="0" src="http://www.niedermann.dk/aggbug.ashx?id=5feb4e6f-48b5-444f-9057-d2b8be5ef199" />
      </body>
      <title>Version 1.1 of SolZip released</title>
      <guid isPermaLink="false">http://www.niedermann.dk/PermaLink,guid,5feb4e6f-48b5-444f-9057-d2b8be5ef199.aspx</guid>
      <link>http://www.niedermann.dk/2009/06/29/Version11OfSolZipReleased.aspx</link>
      <pubDate>Mon, 29 Jun 2009 19:44:48 GMT</pubDate>
      <description>&lt;p&gt;
I just released version 1.1 of &lt;a href="http://solzip.codeplex.com/" target="_blank"&gt;SolZip&lt;/a&gt; which
can be downloaded from the &lt;a href="http://solzip.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=29427" target="_blank"&gt;download
page&lt;/a&gt; at the SolZip site.
&lt;/p&gt;
&lt;p&gt;
The new action packed version contains one major improvement, one bug fix, and a few
name changes:
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Now Source Control bindings for TFS and SCC can be removed from sln and csproj files.
The default for all 3 UI's is that the bindings are removed, but you can optionally
choose not to remove them. Feel free to contact me if you need bindings from other
source control vendors removed.&lt;/li&gt;
&lt;li&gt;
A bug fixed that made WinZip clients give a warning when unzipping certain archives
made by SolZip. The warning was given when there was .. (2 dots) in a path in one
of the zipped files.&lt;/li&gt;
&lt;li&gt;
The Name SunZip.exe for the commandline tool was changed to SolZip.exe. Because SunZip
sounded too much like UnZip.&lt;/li&gt;
&lt;li&gt;
The Name SolutionZipper changed to SolZip everywhere. Except for SolutionZipper.dll
which has been changed to SolZipBasis.dll&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
In the next version I will try to include &lt;a href="http://managedmenuextension.codeplex.com/" target="_blank"&gt;ManagedMenuExtensions&lt;/a&gt; in
the install so you won't have to run more than one setup to install SolZipMME.
&lt;/p&gt;
&lt;p&gt;
Enjoy the new version :O)
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.niedermann.dk/aggbug.ashx?id=5feb4e6f-48b5-444f-9057-d2b8be5ef199" /&gt;</description>
      <comments>http://www.niedermann.dk/CommentView,guid,5feb4e6f-48b5-444f-9057-d2b8be5ef199.aspx</comments>
      <category>Tools</category>
      <category>Visual Studio</category>
    </item>
    <item>
      <trackback:ping>http://www.niedermann.dk/Trackback.aspx?guid=bfa592b2-d186-48c8-a6bf-98ecbc4c8df8</trackback:ping>
      <pingback:server>http://www.niedermann.dk/pingback.aspx</pingback:server>
      <pingback:target>http://www.niedermann.dk/PermaLink,guid,bfa592b2-d186-48c8-a6bf-98ecbc4c8df8.aspx</pingback:target>
      <dc:creator>Jesper Niedermann</dc:creator>
      <wfw:comment>http://www.niedermann.dk/CommentView,guid,bfa592b2-d186-48c8-a6bf-98ecbc4c8df8.aspx</wfw:comment>
      <wfw:commentRss>http://www.niedermann.dk/SyndicationService.asmx/GetEntryCommentsRss?guid=bfa592b2-d186-48c8-a6bf-98ecbc4c8df8</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I just released a new codeplex project <a href="http://solzip.codeplex.com/" target="_blank">SolutionZipper</a> which
makes it a breeze to zip compress your visual studio solutions and projects. "What's
wrong with WinZip you might Ask". Well WinZip has no knowledge of Visual Studio Solutions,
which means it will compress everything in the folder, including bin / obj folders
and other random debris.
</p>
        <p>
I accomplish the compression by using the following algorithm:
</p>
        <p>
1. Iterate over all items and projects in the sln file and zip each of these.<br />
2. Zip the sln file itself.<br />
3. Iterate over all items in the csproj files and zip each of these. The iteration
is done using Linq to Xml of course.<br />
4. Zip the csproj file itself.
</p>
        <p>
As you might have guessed SolutionZipper only works for C# projects, and is only tested
with VS2008.
</p>
        <p>
I offer three UI's for SolutionZipper
</p>
        <p>
          <a href="http://solzip.codeplex.com/Wiki/View.aspx?title=SunZip" target="_blank">SunZip</a> -
A commandline tool. 
</p>
        <p>
  
</p>
        <p>
          <a href="http://solzip.codeplex.com/Wiki/View.aspx?title=SolZipMME" target="_blank">SolZipMME</a> -
Providing Right click menus for Visual Studio 2008 using <a href="http://managedmenuextension.codeplex.com" target="_blank">Managed
Menu Extensions</a> . 
</p>
        <p>
  
</p>
        <p>
          <a href="http://solzip.codeplex.com/Wiki/View.aspx?title=SolZipGuidance" target="_blank">SolZipGuidance</a> -
Providing Right click menus for Visual Studio 2008 using Guidance Automation (GAX). 
</p>
        <p>
  
</p>
        <p>
For the actual zipping I use the excellent open source framework <a href="http://www.icsharpcode.net/OpenSource/SharpZipLib" target="_blank">SharpZipLib</a>.
</p>
        <img width="0" height="0" src="http://www.niedermann.dk/aggbug.ashx?id=bfa592b2-d186-48c8-a6bf-98ecbc4c8df8" />
      </body>
      <title>Compression of Visual Studio Solutions and Projects made easy</title>
      <guid isPermaLink="false">http://www.niedermann.dk/PermaLink,guid,bfa592b2-d186-48c8-a6bf-98ecbc4c8df8.aspx</guid>
      <link>http://www.niedermann.dk/2009/06/15/CompressionOfVisualStudioSolutionsAndProjectsMadeEasy.aspx</link>
      <pubDate>Mon, 15 Jun 2009 21:46:31 GMT</pubDate>
      <description>&lt;p&gt;
I just released a new codeplex project &lt;a href="http://solzip.codeplex.com/" target="_blank"&gt;SolutionZipper&lt;/a&gt; which
makes it a breeze to zip compress your visual studio solutions and projects. "What's
wrong with WinZip you might Ask". Well WinZip has no knowledge of Visual Studio Solutions,
which means it will compress everything in the folder, including bin / obj folders
and other random debris.
&lt;/p&gt;
&lt;p&gt;
I accomplish the compression by using the following algorithm:
&lt;/p&gt;
&lt;p&gt;
1. Iterate over all items and projects in the sln file and zip each of these.&lt;br&gt;
2. Zip the sln file itself.&lt;br&gt;
3. Iterate over all items in the csproj files and zip each of these. The iteration
is done using Linq to Xml of course.&lt;br&gt;
4. Zip the csproj file itself.
&lt;/p&gt;
&lt;p&gt;
As you might have guessed SolutionZipper only works for C# projects, and is only tested
with VS2008.
&lt;/p&gt;
&lt;p&gt;
I offer three UI's for SolutionZipper
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://solzip.codeplex.com/Wiki/View.aspx?title=SunZip" target="_blank"&gt;SunZip&lt;/a&gt; -
A commandline tool. 
&lt;p&gt;
&amp;nbsp; 
&lt;p&gt;
&lt;a href="http://solzip.codeplex.com/Wiki/View.aspx?title=SolZipMME" target="_blank"&gt;SolZipMME&lt;/a&gt; -
Providing Right click menus for Visual Studio 2008 using &lt;a href="http://managedmenuextension.codeplex.com" target="_blank"&gt;Managed
Menu Extensions&lt;/a&gt; . 
&lt;p&gt;
&amp;nbsp; 
&lt;p&gt;
&lt;a href="http://solzip.codeplex.com/Wiki/View.aspx?title=SolZipGuidance" target="_blank"&gt;SolZipGuidance&lt;/a&gt; -
Providing Right click menus for Visual Studio 2008 using Guidance Automation (GAX). 
&lt;p&gt;
&amp;nbsp; 
&lt;p&gt;
For the actual zipping I use the excellent open source framework &lt;a href="http://www.icsharpcode.net/OpenSource/SharpZipLib" target="_blank"&gt;SharpZipLib&lt;/a&gt;.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.niedermann.dk/aggbug.ashx?id=bfa592b2-d186-48c8-a6bf-98ecbc4c8df8" /&gt;</description>
      <comments>http://www.niedermann.dk/CommentView,guid,bfa592b2-d186-48c8-a6bf-98ecbc4c8df8.aspx</comments>
      <category>Tools</category>
      <category>Visual Studio</category>
    </item>
    <item>
      <trackback:ping>http://www.niedermann.dk/Trackback.aspx?guid=1fff8b9b-614c-4c56-9d0f-89355aa80997</trackback:ping>
      <pingback:server>http://www.niedermann.dk/pingback.aspx</pingback:server>
      <pingback:target>http://www.niedermann.dk/PermaLink,guid,1fff8b9b-614c-4c56-9d0f-89355aa80997.aspx</pingback:target>
      <dc:creator>Jesper Niedermann</dc:creator>
      <wfw:comment>http://www.niedermann.dk/CommentView,guid,1fff8b9b-614c-4c56-9d0f-89355aa80997.aspx</wfw:comment>
      <wfw:commentRss>http://www.niedermann.dk/SyndicationService.asmx/GetEntryCommentsRss?guid=1fff8b9b-614c-4c56-9d0f-89355aa80997</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
My favourite RSS reader is <a href="http://www.curiostudio.com/">GreatNews</a>. First
of all it is a standalone application, and secondly it is portable, which means I
can install it on a USB key or better yet in my <a href="http://www.getdropbox.com/">Dropbox</a> which
is what I do. 
</p>
        <p>
Well to be fair it is not portable in the purist way because it caches some stuff
on the computers harddrive, but that is only for performance, so functionally <a href="http://www.curiostudio.com/">GreatNews</a> IS
portable.
</p>
        <p>
And <a href="http://www.curiostudio.com/">GreatNews</a> is very fast, which is just
one more reason to love it.
</p>
        <p>
In fact it has only one drawback, the database tends to get corrupt every 2-3 months,
and there is no obvious way to repair it. I guess it will be corrected at some point
in time (?) but for now it nearly made me give up on this otherwise great product.
</p>
        <p>
After some googling I found that <a href="http://www.curiostudio.com/">GreatNews</a> uses
an sqlite database called newsfeed.db. I couldn't really find a repair tool for it,
even though I found a page which lots of <a href="http://www.sqlite.org/cvstrac/wiki?p=ManagementTools">tools
for sqlite</a>.
</p>
        <p>
So I had to repair it in a more indirect way.
</p>
        <p>
I downloaded one called <a href="http://sqliteman.com/">sqliteman</a> and with this
I was able to make a new database called newsfeed.db and export all content from the
old database and import it to the new one.
</p>
        <p>
One nice sideeffect was that the database was only 1/10 in size after the import.
Apparently either <a href="http://www.curiostudio.com/">GreatNews</a> or Sqllite tends
to bloat the database. 
</p>
        <p>
After the import I replaced the old database with the new one (you should make a backup
of course !), and viola it worked perfectly. So once more I am a happy user of <a href="http://www.curiostudio.com/">GreatNews</a> :O).
</p>
        <p>
I cannot guarantee that this method will work for you too, perhaps I was just lucky.
I advice you to keep your backup of the old newsfeed.db just in case.
</p>
        <p>
P.S: To export the database you just choose "Dump database..." as shown below in a
screenshot from <a href="http://sqliteman.com/">sqliteman</a>, which generates an
SQL script that can be opened and run in the new database:
</p>
        <p>
          <a href="http://www.niedermann.dk/content/binary/WindowsLiveWriter/HowtorepairGreatnewsdatabase_14EF1/newsfeed1.jpg">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="198" alt="newsfeed1" src="http://www.niedermann.dk/content/binary/WindowsLiveWriter/HowtorepairGreatnewsdatabase_14EF1/newsfeed1_thumb.jpg" width="244" border="0" />
          </a>
        </p>
        <img width="0" height="0" src="http://www.niedermann.dk/aggbug.ashx?id=1fff8b9b-614c-4c56-9d0f-89355aa80997" />
      </body>
      <title>How to repair GreatNews database</title>
      <guid isPermaLink="false">http://www.niedermann.dk/PermaLink,guid,1fff8b9b-614c-4c56-9d0f-89355aa80997.aspx</guid>
      <link>http://www.niedermann.dk/2009/05/06/HowToRepairGreatNewsDatabase.aspx</link>
      <pubDate>Wed, 06 May 2009 20:34:53 GMT</pubDate>
      <description>&lt;p&gt;
My favourite RSS reader is &lt;a href="http://www.curiostudio.com/"&gt;GreatNews&lt;/a&gt;. First
of all it is a standalone application, and secondly it is portable, which means I
can install it on a USB key or better yet in my &lt;a href="http://www.getdropbox.com/"&gt;Dropbox&lt;/a&gt; which
is what I do. 
&lt;/p&gt;
&lt;p&gt;
Well to be fair it is not portable in the purist way because it caches some stuff
on the computers harddrive, but that is only for performance, so functionally &lt;a href="http://www.curiostudio.com/"&gt;GreatNews&lt;/a&gt; IS
portable.
&lt;/p&gt;
&lt;p&gt;
And &lt;a href="http://www.curiostudio.com/"&gt;GreatNews&lt;/a&gt; is very fast, which is just
one more reason to love it.
&lt;/p&gt;
&lt;p&gt;
In fact it has only one drawback, the database tends to get corrupt every 2-3 months,
and there is no obvious way to repair it. I guess it will be corrected at some point
in time (?) but for now it nearly made me give up on this otherwise great product.
&lt;/p&gt;
&lt;p&gt;
After some googling I found that &lt;a href="http://www.curiostudio.com/"&gt;GreatNews&lt;/a&gt; uses
an sqlite database called newsfeed.db. I couldn't really find a repair tool for it,
even though I found a page which lots of &lt;a href="http://www.sqlite.org/cvstrac/wiki?p=ManagementTools"&gt;tools
for sqlite&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
So I had to repair it in a more indirect way.
&lt;/p&gt;
&lt;p&gt;
I downloaded one called &lt;a href="http://sqliteman.com/"&gt;sqliteman&lt;/a&gt; and with this
I was able to make a new database called newsfeed.db and export all content from the
old database and import it to the new one.
&lt;/p&gt;
&lt;p&gt;
One nice sideeffect was that the database was only 1/10 in size after the import.
Apparently either &lt;a href="http://www.curiostudio.com/"&gt;GreatNews&lt;/a&gt; or Sqllite tends
to bloat the database. 
&lt;/p&gt;
&lt;p&gt;
After the import I replaced the old database with the new one (you should make a backup
of course !), and viola it worked perfectly. So once more I am a happy user of &lt;a href="http://www.curiostudio.com/"&gt;GreatNews&lt;/a&gt; :O).
&lt;/p&gt;
&lt;p&gt;
I cannot guarantee that this method will work for you too, perhaps I was just lucky.
I advice you to keep your backup of the old newsfeed.db just in case.
&lt;/p&gt;
&lt;p&gt;
P.S: To export the database you just choose "Dump database..." as shown below in a
screenshot from &lt;a href="http://sqliteman.com/"&gt;sqliteman&lt;/a&gt;, which generates an
SQL script that can be opened and run in the new database:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.niedermann.dk/content/binary/WindowsLiveWriter/HowtorepairGreatnewsdatabase_14EF1/newsfeed1.jpg"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="198" alt="newsfeed1" src="http://www.niedermann.dk/content/binary/WindowsLiveWriter/HowtorepairGreatnewsdatabase_14EF1/newsfeed1_thumb.jpg" width="244" border="0"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.niedermann.dk/aggbug.ashx?id=1fff8b9b-614c-4c56-9d0f-89355aa80997" /&gt;</description>
      <comments>http://www.niedermann.dk/CommentView,guid,1fff8b9b-614c-4c56-9d0f-89355aa80997.aspx</comments>
      <category>Tips &amp; Tricks</category>
      <category>Tools</category>
    </item>
  </channel>
</rss>