<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://developers.de/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>Andreas Lehmann - All Comments</title><link>http://developers.de/blogs/andreas_lehmann/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2008 SP1 (Build: 30619.63)</generator><item><title>re: A simple implementation of config files for windows mobile</title><link>http://developers.de/blogs/andreas_lehmann/archive/2009/05/26/a-simple-implementation-of-config-files-for-windows-mobile.aspx#42954</link><pubDate>Sat, 16 Apr 2011 10:29:43 GMT</pubDate><guid isPermaLink="false">7e491611-45ad-4dae-a68f-c4cb64439510:42954</guid><dc:creator>Fernando</dc:creator><description>&lt;p&gt;Thank you very much. &amp;nbsp;I know this comment is a bit late, but I just started working with mobile devices, and was surprised to find no support for app.config on the .net CF.&lt;/p&gt;
&lt;p&gt;@Jack: &amp;nbsp;As someone on the comments mentioned, set the Copy to Output directory property to newer or always and that should solve your problem.&lt;/p&gt;
&lt;p&gt;Fernando.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=42954" width="1" height="1"&gt;</description></item><item><title>re: Dynamic where with Entity Framework</title><link>http://developers.de/blogs/andreas_lehmann/archive/2009/03/18/dynamic-where-with-entity-framework.aspx#42847</link><pubDate>Sat, 09 Apr 2011 20:47:12 GMT</pubDate><guid isPermaLink="false">7e491611-45ad-4dae-a68f-c4cb64439510:42847</guid><dc:creator>Mihkel</dc:creator><description>&lt;p&gt;The problem that you&amp;#39;re describing is detailed in this blog post: &lt;a rel="nofollow" target="_new" href="http://weblogs.asp.net/fbouma/archive/2009/06/25/linq-beware-of-the-access-to-modified-closure-demon.aspx"&gt;weblogs.asp.net/.../linq-beware-of-the-access-to-modified-closure-demon.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Resharper is rather handy with such situations as it warns about this problem beforehand.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=42847" width="1" height="1"&gt;</description></item><item><title>re: A simple implementation of config files for windows mobile</title><link>http://developers.de/blogs/andreas_lehmann/archive/2009/05/26/a-simple-implementation-of-config-files-for-windows-mobile.aspx#42860</link><pubDate>Wed, 26 Jan 2011 16:06:30 GMT</pubDate><guid isPermaLink="false">7e491611-45ad-4dae-a68f-c4cb64439510:42860</guid><dc:creator>Jack</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When I tried to implement the same code in Window Mobile device 6 Professional, I had problem in deploying the Simulator. The error saying &amp;quot;Application configuration file &amp;#39;\Program Files\Test_App\app.config&amp;#39; not found.&amp;quot;&lt;/p&gt;
&lt;p&gt;Can someone help me out?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jack&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=42860" width="1" height="1"&gt;</description></item><item><title>re: A simple implementation of config files for windows mobile</title><link>http://developers.de/blogs/andreas_lehmann/archive/2009/05/26/a-simple-implementation-of-config-files-for-windows-mobile.aspx#28679</link><pubDate>Wed, 22 Dec 2010 18:52:20 GMT</pubDate><guid isPermaLink="false">7e491611-45ad-4dae-a68f-c4cb64439510:28679</guid><dc:creator>Andres</dc:creator><description>&lt;p&gt;Excelent,&lt;/p&gt;
&lt;p&gt;thanks a lot, I only do a modification for &amp;quot;ConnectionStrings&amp;quot; &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=28679" width="1" height="1"&gt;</description></item><item><title>re: A simple implementation of config files for windows mobile</title><link>http://developers.de/blogs/andreas_lehmann/archive/2009/05/26/a-simple-implementation-of-config-files-for-windows-mobile.aspx#28543</link><pubDate>Mon, 13 Dec 2010 13:55:42 GMT</pubDate><guid isPermaLink="false">7e491611-45ad-4dae-a68f-c4cb64439510:28543</guid><dc:creator>Gregory</dc:creator><description>&lt;p&gt;Thanks a lot!:)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=28543" width="1" height="1"&gt;</description></item><item><title>re: A simple implementation of config files for windows mobile</title><link>http://developers.de/blogs/andreas_lehmann/archive/2009/05/26/a-simple-implementation-of-config-files-for-windows-mobile.aspx#28364</link><pubDate>Thu, 25 Nov 2010 09:40:49 GMT</pubDate><guid isPermaLink="false">7e491611-45ad-4dae-a68f-c4cb64439510:28364</guid><dc:creator>massimo</dc:creator><description>&lt;p&gt;It is really great!! Thanks&lt;/p&gt;
&lt;p&gt;To be precise this is the VB implementation:&lt;/p&gt;
&lt;p&gt;Imports System&lt;/p&gt;
&lt;p&gt;Imports System.IO&lt;/p&gt;
&lt;p&gt;Imports System.Windows.Forms&lt;/p&gt;
&lt;p&gt;Imports System.Reflection&lt;/p&gt;
&lt;p&gt;Imports System.Threading&lt;/p&gt;
&lt;p&gt;Imports System.Configuration&lt;/p&gt;
&lt;p&gt;Imports System.Xml&lt;/p&gt;
&lt;p&gt;Public Class MobileConfiguration&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;#39; Methods&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Public Shared Settings As System.Collections.Specialized.NameValueCollection&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Shared Sub New()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim configFile As String = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly.GetName.CodeBase), &amp;quot;app.config&amp;quot;)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If Not File.Exists(configFile) Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Throw New FileNotFoundException(String.Format(&amp;quot;Application configuration file &amp;#39;{0}&amp;#39; not found.&amp;quot;, configFile))&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;End If&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim xmlDocument As New XmlDocument&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xmlDocument.Load(configFile)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim nodeList As XmlNodeList = xmlDocument.GetElementsByTagName(&amp;quot;appSettings&amp;quot;)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Settings = New System.Collections.Specialized.NameValueCollection&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim node As XmlNode&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;For Each node In nodeList&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim key As XmlNode&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;For Each key In node.ChildNodes&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MobileConfiguration.Settings.Add(key.Attributes.ItemOf(&amp;quot;key&amp;quot;).Value, key.Attributes.ItemOf(&amp;quot;value&amp;quot;).Value)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Next&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Next&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;End Sub&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;#39; Fields&lt;/p&gt;
&lt;p&gt;End Class&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=28364" width="1" height="1"&gt;</description></item><item><title>re: A simple implementation of config files for windows mobile</title><link>http://developers.de/blogs/andreas_lehmann/archive/2009/05/26/a-simple-implementation-of-config-files-for-windows-mobile.aspx#28218</link><pubDate>Sun, 14 Nov 2010 00:24:58 GMT</pubDate><guid isPermaLink="false">7e491611-45ad-4dae-a68f-c4cb64439510:28218</guid><dc:creator>Doug Potter</dc:creator><description>&lt;p&gt;Very nice. &amp;nbsp;I&amp;#39;ve not found something this clear after looking hours and hours of searching.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=28218" width="1" height="1"&gt;</description></item><item><title>re: A simple implementation of config files for windows mobile</title><link>http://developers.de/blogs/andreas_lehmann/archive/2009/05/26/a-simple-implementation-of-config-files-for-windows-mobile.aspx#28544</link><pubDate>Fri, 08 Oct 2010 13:03:17 GMT</pubDate><guid isPermaLink="false">7e491611-45ad-4dae-a68f-c4cb64439510:28544</guid><dc:creator>B Kundu</dc:creator><description>&lt;p&gt;This is helpful.&lt;/p&gt;
&lt;p&gt;But I want some help for the following :&lt;/p&gt;
&lt;p&gt;I want create a project in VC# using VS2008 for WM6.&lt;/p&gt;
&lt;p&gt;In my project , I want to create a customized home screen and I want to load some Icons dynamically in my Home Screen . And those icons I want store in a resource file . I want to use Configfile using Xml file.&lt;/p&gt;
&lt;p&gt;Can anybody help me on this ? &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=28544" width="1" height="1"&gt;</description></item><item><title>re: A simple implementation of config files for windows mobile</title><link>http://developers.de/blogs/andreas_lehmann/archive/2009/05/26/a-simple-implementation-of-config-files-for-windows-mobile.aspx#28059</link><pubDate>Fri, 08 Oct 2010 13:02:39 GMT</pubDate><guid isPermaLink="false">7e491611-45ad-4dae-a68f-c4cb64439510:28059</guid><dc:creator>B Kundu</dc:creator><description>&lt;p&gt;This is helpful.&lt;/p&gt;
&lt;p&gt;But I want some help for the following :&lt;/p&gt;
&lt;p&gt;I want create a project in VC# using VS2008 for WM6.&lt;/p&gt;
&lt;p&gt;In my project , I want to create a customized home screen and I want to load some Icons dynamically in my Home Screen . And those icons I want store in a resource file . I want to use Configfile using Xml file.&lt;/p&gt;
&lt;p&gt;Can anybody help me on this ? &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=28059" width="1" height="1"&gt;</description></item><item><title>re: A simple implementation of config files for windows mobile</title><link>http://developers.de/blogs/andreas_lehmann/archive/2009/05/26/a-simple-implementation-of-config-files-for-windows-mobile.aspx#28060</link><pubDate>Wed, 06 Oct 2010 05:20:55 GMT</pubDate><guid isPermaLink="false">7e491611-45ad-4dae-a68f-c4cb64439510:28060</guid><dc:creator>Sandip Shewale</dc:creator><description>&lt;p&gt;Really Good Application for Windows Mobile,&lt;/p&gt;
&lt;p&gt;Thank You very much!!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=28060" width="1" height="1"&gt;</description></item><item><title>re: A simple implementation of config files for windows mobile</title><link>http://developers.de/blogs/andreas_lehmann/archive/2009/05/26/a-simple-implementation-of-config-files-for-windows-mobile.aspx#26002</link><pubDate>Wed, 29 Sep 2010 21:13:00 GMT</pubDate><guid isPermaLink="false">7e491611-45ad-4dae-a68f-c4cb64439510:26002</guid><dc:creator>teo</dc:creator><description>&lt;p&gt;found!&lt;/p&gt;
&lt;p&gt;I have also to set the Copy to Output Directory setting... ;-)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=26002" width="1" height="1"&gt;</description></item><item><title>re: A simple implementation of config files for windows mobile</title><link>http://developers.de/blogs/andreas_lehmann/archive/2009/05/26/a-simple-implementation-of-config-files-for-windows-mobile.aspx#26001</link><pubDate>Wed, 29 Sep 2010 21:08:56 GMT</pubDate><guid isPermaLink="false">7e491611-45ad-4dae-a68f-c4cb64439510:26001</guid><dc:creator>teo</dc:creator><description>&lt;p&gt;I&amp;#39;m trying to use an App.config file for an application for Windows Mobile 6 Professional... I&amp;#39;ve set the &amp;quot;Content&amp;quot; Build Action to the App.config file but the file isn&amp;#39;t deployed to the simulator... what should I do???&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=26001" width="1" height="1"&gt;</description></item><item><title>re: Set max upload size for IIS7 web applications</title><link>http://developers.de/blogs/andreas_lehmann/archive/2009/06/24/set-max-upload-size-for-iis7-web-applications.aspx#28061</link><pubDate>Fri, 21 May 2010 20:30:13 GMT</pubDate><guid isPermaLink="false">7e491611-45ad-4dae-a68f-c4cb64439510:28061</guid><dc:creator>LukeSkyWalker</dc:creator><description>&lt;p&gt;GREAT!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=28061" width="1" height="1"&gt;</description></item><item><title>re: Installation order for Visual Studio and SQL Server</title><link>http://developers.de/blogs/andreas_lehmann/archive/2008/08/15/installation-order-for-visual-studio-and-sql-server.aspx#10248</link><pubDate>Fri, 05 Feb 2010 17:24:36 GMT</pubDate><guid isPermaLink="false">7e491611-45ad-4dae-a68f-c4cb64439510:10248</guid><dc:creator>Manjinder</dc:creator><description>&lt;p&gt;It worked fine as you stated to install a new Named Instance. Thx! Still going through the updates, can&amp;#39;t wait to check out some of the features in 2008.&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=10248" width="1" height="1"&gt;</description></item><item><title>re: Installation order for Visual Studio and SQL Server</title><link>http://developers.de/blogs/andreas_lehmann/archive/2008/08/15/installation-order-for-visual-studio-and-sql-server.aspx#10242</link><pubDate>Fri, 05 Feb 2010 10:17:44 GMT</pubDate><guid isPermaLink="false">7e491611-45ad-4dae-a68f-c4cb64439510:10242</guid><dc:creator>alehmann</dc:creator><description>&lt;p&gt;@Manjinder:&lt;/p&gt;
&lt;p&gt;No, on my machine it works fine to run both SQL-Server versions. But keep in mind that there can only be one default instance of SQL Server, the other one will be a named instance.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=10242" width="1" height="1"&gt;</description></item></channel></rss>
