<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://bloggingabout.net/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>The Amadeus.NET Blog - All Comments</title><link>http://bloggingabout.net/blogs/perikles/default.aspx</link><description>Development, Projects, Plans and Ideas on .NET, Visual Studio, Windows XP &amp;amp; Vista</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>re: How to dynamically Import/Export settings in Visual Studio 2005.</title><link>http://bloggingabout.net/blogs/perikles/archive/2006/11/22/How-to-dynamically-Import_2F00_Export-setting-in-Visual-Studio-2005_2E00_.aspx#482478</link><pubDate>Wed, 18 Nov 2009 07:52:03 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:482478</guid><dc:creator>Alexander Kant</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;nice post.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve found an easier way to import vssettings, e.g. by an addin.&lt;/p&gt;
&lt;p&gt;/// &amp;lt;summary&amp;gt;&lt;/p&gt;
&lt;p&gt;/// imports the vssettings&lt;/p&gt;
&lt;p&gt;/// &amp;lt;/summary&amp;gt;&lt;/p&gt;
&lt;p&gt;/// &amp;lt;param name=&amp;quot;settings&amp;quot;&amp;gt;path and filename of the settings, e.g. &amp;quot;C:\Users\[currentuser]\Documents\Visual Studio 2008\Settings\mysettings.vssettings&amp;quot;&amp;lt;/param&amp;gt;&lt;/p&gt;
&lt;p&gt;/// &amp;lt;param name=&amp;quot;application&amp;quot;&amp;gt;DTE2-Object (VS 2008)&amp;lt;/param&amp;gt;&lt;/p&gt;
&lt;p&gt;public void ImportSettings(string settings, DTE2 application) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;application.ExecuteCommand(&amp;quot;Tools.ImportandExportSettings&amp;quot;, &amp;quot;/import:&amp;quot; + settings);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;/// &amp;lt;summary&amp;gt;&lt;/p&gt;
&lt;p&gt;/// exports the vssettings&lt;/p&gt;
&lt;p&gt;/// &amp;lt;/summary&amp;gt;&lt;/p&gt;
&lt;p&gt;/// &amp;lt;param name=&amp;quot;settings&amp;quot;&amp;gt;path and filename of the settings, e.g. &amp;quot;C:\Users\[currentuser]\Documents\Visual Studio 2008\Settings\mysettings.vssettings&amp;quot;&amp;lt;/param&amp;gt;&lt;/p&gt;
&lt;p&gt;/// &amp;lt;param name=&amp;quot;application&amp;quot;&amp;gt;DTE2-Object (VS 2008)&amp;lt;/param&amp;gt;&lt;/p&gt;
&lt;p&gt;public void ExportSettings(string settings, DTE2 application) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;application.ExecuteCommand(&amp;quot;Tools.ImportandExportSettings&amp;quot;, &amp;quot;/export:&amp;quot; + settings);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=482478" width="1" height="1"&gt;</description></item><item><title>re: The Amadeus .NET Assembly Browser (Part I)</title><link>http://bloggingabout.net/blogs/perikles/archive/2006/11/29/The-Amadeus-.NET-Assembly-Browser-_2800_Part-I_2900_.aspx#100983</link><pubDate>Tue, 23 Jan 2007 16:42:29 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:100983</guid><dc:creator>Perikles Stephanidis</dc:creator><description>&lt;p&gt;It's true that it has not been tested in a 64 bit OS. However the code has been thouroughly inspected to be almost 100% portable. You should give me some details. Does it install? There's a launch condition in the installer that won't allow installation to any other operating system than Windows XP (32).&lt;/p&gt;
&lt;p&gt;Thank You!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=100983" width="1" height="1"&gt;</description></item><item><title>re: The Amadeus .NET Assembly Browser (Part I)</title><link>http://bloggingabout.net/blogs/perikles/archive/2006/11/29/The-Amadeus-.NET-Assembly-Browser-_2800_Part-I_2900_.aspx#100630</link><pubDate>Tue, 23 Jan 2007 11:38:53 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:100630</guid><dc:creator>Master Programmer</dc:creator><description>&lt;p&gt;Doesn't seem to work for Windows XP x64. Is there a plan to make it support 64 bit OS?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=100630" width="1" height="1"&gt;</description></item><item><title>re: How to dynamically Import/Export settings in Visual Studio 2005.</title><link>http://bloggingabout.net/blogs/perikles/archive/2006/11/22/How-to-dynamically-Import_2F00_Export-setting-in-Visual-Studio-2005_2E00_.aspx#72929</link><pubDate>Tue, 12 Dec 2006 13:42:10 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:72929</guid><dc:creator>toby</dc:creator><description>I don't suppose you've seen anything in the IVsProfileSettingsTree interface that would allow me to "export" settings into memory, then "import" them again later, without writing them to file first?

I want to write a package that allows modifying user settings, then restores them later. Oddly enough, if I call prf.GetSettingsForExport(sets), then later try to call prf.ImportSettings(sets, ret), then when I marshal the HRESULT exception I get "Specified cast is not valid", and no action is taken.

Either way, thanks again for your help!&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=72929" width="1" height="1"&gt;</description></item><item><title>re: How to dynamically Import/Export settings in Visual Studio 2005.</title><link>http://bloggingabout.net/blogs/perikles/archive/2006/11/22/How-to-dynamically-Import_2F00_Export-setting-in-Visual-Studio-2005_2E00_.aspx#72838</link><pubDate>Tue, 12 Dec 2006 12:46:42 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:72838</guid><dc:creator>toby</dc:creator><description>&lt;p&gt;THANK YOU for picking up the slack where Microsoft left off! Why is it the simple things that are so hard to document?? :)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=72838" width="1" height="1"&gt;</description></item><item><title>re: The Amadeus .NET Assembly Browser (Part I)</title><link>http://bloggingabout.net/blogs/perikles/archive/2006/11/29/The-Amadeus-.NET-Assembly-Browser-_2800_Part-I_2900_.aspx#60831</link><pubDate>Wed, 29 Nov 2006 05:13:20 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:60831</guid><dc:creator>Dennis van der Stelt</dc:creator><description>&lt;p&gt;Looks cool! Very fast feature to look inside an assembly quickly. I'd love to read how you did this.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=60831" width="1" height="1"&gt;</description></item><item><title>re: Using the Windows Forms designer as your custom Design editor. (Part I)</title><link>http://bloggingabout.net/blogs/perikles/archive/2006/11/25/Using-the-Windows-Forms-designer-as-your-custom-Design-editor.-_2800_Part-I_2900_.aspx#58492</link><pubDate>Sun, 26 Nov 2006 11:20:37 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:58492</guid><dc:creator>Bogdan</dc:creator><description>&lt;p&gt;Thank you for this information! &amp;nbsp;Will there be a part II?&lt;/p&gt;
&lt;p&gt;I was considering hacks like creating a separate C# project just to be used as a designer (with dummy forms) and then either either parsing their code files or tying into IDesignerHost and enumerating components (as shown in the WinFormsAutomation VS 2005 Automation Sample) to generate code in target language.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=58492" width="1" height="1"&gt;</description></item><item><title>How to dynamically Import/Export settings in Visual Studio 2005</title><link>http://bloggingabout.net/blogs/perikles/archive/2006/11/22/How-to-dynamically-Import_2F00_Export-setting-in-Visual-Studio-2005_2E00_.aspx#54833</link><pubDate>Thu, 23 Nov 2006 06:33:57 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:54833</guid><dc:creator>Yitzhak Gootvilig's Blog</dc:creator><description>&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=54833" width="1" height="1"&gt;</description></item><item><title>re: Hallo</title><link>http://bloggingabout.net/blogs/perikles/archive/2006/11/22/Hallo.aspx#54571</link><pubDate>Thu, 23 Nov 2006 00:18:56 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:54571</guid><dc:creator>Dennis van der Stelt</dc:creator><description>&lt;p&gt;Welcome to BloggingAbout.NET!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=54571" width="1" height="1"&gt;</description></item></channel></rss>
