<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Josh Holmes &#187; Compact Framework</title>
	<atom:link href="http://www.joshholmes.com/blog/category/compact-framework/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joshholmes.com/blog</link>
	<description>Random thoughts from a turbo nerd...</description>
	<lastBuildDate>Thu, 11 Apr 2013 15:51:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Connecting VS.NET to Windows CE</title>
		<link>http://www.joshholmes.com/blog/2006/10/19/connectingvsnettowindowsce/</link>
		<comments>http://www.joshholmes.com/blog/2006/10/19/connectingvsnettowindowsce/#comments</comments>
		<pubDate>Thu, 19 Oct 2006 13:41:10 +0000</pubDate>
		<dc:creator>joshholmes</dc:creator>
				<category><![CDATA[Compact Framework]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://www.joshholmes.com/blog/2005/10/14/ConnectingVSNETToWindowsCE.aspx</guid>
		<description><![CDATA[My current contract is a Compact Framework application for a LXE device running Windows CE 4.2. I was having some issues connecting to it from VS.NET and so I asked my good friend Google what he knew about it with this query &#8211; http://www.google.com/search?hl=en&#38;q=VS.NET+Compact+Framework+Device+Connection+Issue. Wouldn’t you know that it pops up with my good friend Doug Reilly when he posted about VS.NET Compact Framework Deployment Issues. It turns out that [...]]]></description>
				<content:encoded><![CDATA[<p>My current contract is a Compact Framework application for a LXE device running Windows CE 4.2. I was having some issues connecting to it from VS.NET and so I asked my good friend Google what he knew about it with this query &#8211; <a href="http://www.google.com/search?hl=en&amp;q=VS.NET+Compact+Framework+Device+Connection+Issue"><span class=Hyperlink>http://www.google.com/search?hl=en&amp;q=VS.NET+Compact+Framework+Device+Connection+Issue</span></a>. Wouldn’t you know that it pops up with my good friend <a href="http://weblogs.asp.net/dreilly"><span class=Hyperlink>Doug Reilly</span></a> when he posted about <a href="http://weblogs.asp.net/dreilly/archive/2003/12/19/VSNetCFDeployment.aspx"><span class=Hyperlink>VS.NET Compact Framework Deployment Issues</span></a><a href="http://weblogs.asp.net/dreilly/archive/2003/12/19/VSNetCFDeployment.aspx"></a>. It turns out that I didn’t have the exact same issue as Doug, but it did fix me because in the download that me pointed me to (<a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=7EC99CA6-2095-4086-B0CC-7C6C39B28762&amp;displaylang=en"><span class=Hyperlink>Windows CE Utilities for Visual Studio .NET 2003 Add-on Pack 1.1</span></a>). In there they mentioned that you have to <a href="http://download.microsoft.com/download/c/d/b/cdbff573-73fb-4f9f-a464-c5adc890e1ae/Readme.htm"><span class=Hyperlink>configure VS.NET for the processor type</span></a> that you are using with Windows CE with ActiveSync. </p>
<p>That’s a real pain, but it fixed me…</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joshholmes.com/blog/2006/10/19/connectingvsnettowindowsce/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deployment issues with the Compact Framework v2.0&#8230; (Sorta)</title>
		<link>http://www.joshholmes.com/blog/2006/10/11/deploymentissueswiththecompactframeworkv20sorta/</link>
		<comments>http://www.joshholmes.com/blog/2006/10/11/deploymentissueswiththecompactframeworkv20sorta/#comments</comments>
		<pubDate>Wed, 11 Oct 2006 00:46:37 +0000</pubDate>
		<dc:creator>joshholmes</dc:creator>
				<category><![CDATA[Compact Framework]]></category>

		<guid isPermaLink="false">http://www.joshholmes.com/blog/2005/10/24/DeploymentIssuesWithTheCompactFrameworkV20Sorta.aspx</guid>
		<description><![CDATA[I just tried to deploy an application to a customer&#8217;s PPC device and was very frustrated because the app looked like it installed and even put a shortcut in the &#8220;Program Files&#8221;. However, when I clicked on it, nothing happened. No error message, nothing. Just silence. Wow, that&#8217;s informative. The good news is that I called John Hopkins, one of my sub-contractors, and he asked something about the framework version [...]]]></description>
				<content:encoded><![CDATA[<p>I just tried to deploy an application to a customer&#8217;s PPC device and was very frustrated because the app looked like it installed and even put a shortcut in the &#8220;Program Files&#8221;. However, when I clicked on it, nothing happened. No error message, nothing. Just silence. Wow, that&#8217;s informative. The good news is that I called <a href="http://www.dotnetrockstar.com/">John Hopkins</a>, one of my sub-contractors, and he asked something about the framework version and it hit us both &#8211; v2.0 of the Compact Framework was not on the device. Install it and it works great now&#8230; <img src='http://www.joshholmes.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>The thing that made this blogworthy was the lack of error messages. That was the astounding thing. I&#8217;d expect some error message on install or something that would prompt me that I needed to install something else. Oh well. I guess that we can&#8217;t have everything. It&#8217;s a fabulous environment to develop in and is light years ahead of previous development environments so I&#8217;m grateful for that but it just points out this type of little inconstancy that much more.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joshholmes.com/blog/2006/10/11/deploymentissueswiththecompactframeworkv20sorta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>log4net on the Compact Framework</title>
		<link>http://www.joshholmes.com/blog/2005/10/14/log4netonthecompactframework/</link>
		<comments>http://www.joshholmes.com/blog/2005/10/14/log4netonthecompactframework/#comments</comments>
		<pubDate>Fri, 14 Oct 2005 13:42:07 +0000</pubDate>
		<dc:creator>joshholmes</dc:creator>
				<category><![CDATA[Compact Framework]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://www.joshholmes.com/blog/2005/10/14/log4netOnTheCompactFramework.aspx</guid>
		<description><![CDATA[I was reminded of log4net today when working on a project. The client asked a logging framework and the cool part is that it’s a Compact Framework application. Sure enough log4net supports the Compact Framework. There are a couple of minor differences that you should be aware of if you are interested in using log4net on the Compact Framework. First of all, not all of the appenders make sense – [...]]]></description>
				<content:encoded><![CDATA[<p class=MsoNormal style="MARGIN: 0in 0in 0pt"><font face="Times New Roman" color=#000000 size=3>I was reminded of log4net today when working on a project. The client asked a logging framework and the cool part is that it’s a Compact Framework application. Sure enough log4net supports the Compact Framework. </font></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt"><font face="Times New Roman" color=#000000 size=3>There are a couple of minor differences that you should be aware of if you are interested in using log4net on the Compact Framework. First of all, not all of the appenders make sense – like the RemotingAppender, the EventLogAppender and the OracleAppender. Secondly, there is no mechanism for retrieving assembly level attributes so you have to explicitly initialize and shut down the log4net engine. </font></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt"><?xml:namespace prefix = o /><o:p><font face="Times New Roman" color=#000000 size=3>&nbsp;</font></o:p></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">static</span><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><font color=#000000> </font><span style="COLOR: blue">void</span><font color=#000000> <?xml:namespace prefix = st1 /><st1:place w:st="on">Main</st1:place>() <o:p></o:p></font></span></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><font color=#000000>{<o:p></o:p></font></span></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><span style="mso-tab-count: 1"><font color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span><span style="COLOR: blue">try</span><font color=#000000> <o:p></o:p></font></span></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><font color=#000000><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>{<o:p></o:p></font></span></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><span style="mso-tab-count: 2"><font color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span><span style="COLOR: green">//This line configures the log4net engine. <o:p></o:p></span></span></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: 0.5in; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><font color=#000000>log4net.Config.DOMConfigurator.Configure(<o:p></o:p></font></span></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt 1in; TEXT-INDENT: 0.5in; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">new</span><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><font color=#000000> FileInfo(@&#8221;\log4net.config&#8221;));<o:p></o:p></font></span></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p><font color=#000000>&nbsp;</font></o:p></span></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><font color=#000000><span style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>frmLogin loginForm = </font><span style="COLOR: blue">new</span><font color=#000000> frmLogin ();<o:p></o:p></font></span></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><font color=#000000><span style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>loginForm.ShowDialog();<o:p></o:p></font></span></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><font color=#000000><span style="mso-tab-count: 3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Application.Run(</font><span style="COLOR: blue">new</span><font color=#000000> frmMain());<o:p></o:p></font></span></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><font color=#000000><span style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>}<o:p></o:p></font></span></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><font color=#000000><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>}<o:p></o:p></font></span></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><span style="mso-tab-count: 1"><font color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span><span style="COLOR: blue">catch</span><font color=#000000> (System.Exception e)<o:p></o:p></font></span></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><font color=#000000><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>{<o:p></o:p></font></span></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><font color=#000000><span style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>_log.Error(&#8220;<st1:place w:st="on">Main</st1:place>&#8220;, e);<o:p></o:p></font></span></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><font color=#000000><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>}<o:p></o:p></font></span></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><span style="mso-tab-count: 1"><font color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span><span style="COLOR: blue">finally<o:p></o:p></span></span></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><font color=#000000><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>{<o:p></o:p></font></span></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><span style="mso-tab-count: 2"><font color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span><span style="COLOR: green">//This line shuts down the log4net engine<o:p></o:p></span></span></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><font color=#000000><span style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>log4net.LogManager.Shutdown();<o:p></o:p></font></span></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><font color=#000000><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>}<o:p></o:p></font></span></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><font color=#000000>}<o:p></o:p></font></span></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt"><span style="mso-spacerun: yes"><font face="Times New Roman" color=#000000 size=3></font></span>&nbsp;</p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt"><font face="Times New Roman" color=#000000 size=3>The other thing that was interesting is that the online help on </font><a href="http://logging.apache.org/log4net"><u><font face="Times New Roman" color=#800080 size=3>http://logging.apache.org/log4net</font></u></a><font face="Times New Roman" color=#000000 size=3> showed conversion patterns with %message%newline to print the message and then put a newline in the file. I had to use %m%n because the first one there printed as </font></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><font face="Times New Roman" color=#000000 size=3>&nbsp;</font></o:p></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt"><font face="Times New Roman" color=#000000 size=3>My stringessage</font></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt"><font face="Times New Roman" color=#000000 size=3>ewline</font></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><font face="Times New Roman" color=#000000 size=3>&nbsp;</font></o:p></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt"><font face="Times New Roman" color=#000000 size=3>which was not quite what was expected. </font></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><font face="Times New Roman" color=#000000 size=3>&nbsp;</font></o:p></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt"><font face="Times New Roman" color=#000000 size=3>Have fun with log4net, it’s a great lightweight logging framework for the compact framework. </font></p>
]]></content:encoded>
			<wfw:commentRss>http://www.joshholmes.com/blog/2005/10/14/log4netonthecompactframework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New White Paper</title>
		<link>http://www.joshholmes.com/blog/2004/06/02/newwhitepaper/</link>
		<comments>http://www.joshholmes.com/blog/2004/06/02/newwhitepaper/#comments</comments>
		<pubDate>Wed, 02 Jun 2004 00:53:19 +0000</pubDate>
		<dc:creator>joshholmes</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Compact Framework]]></category>

		<guid isPermaLink="false">http://www.joshholmes.com/blog/2004/06/02/NewWhitePaper.aspx</guid>
		<description><![CDATA[The Windows Mobile Team just published a white paper on migrating from eVB to VB.NET on the Compact Framework. This is a really good thing and is worth a read.]]></description>
				<content:encoded><![CDATA[<p class=Hyperlink>The <a href="http://blogs.msdn.com/windowsmobile/"><span class=Hyperlink>Windows Mobile Team</span></a> just published a white paper on migrating from <a href="http://blogs.msdn.com/windowsmobile/archive/2004/05/27/143361.aspx"><span class=Hyperlink>eVB to VB.NET on the Compact Framework</span></a>. This is a really good thing and is worth a read. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.joshholmes.com/blog/2004/06/02/newwhitepaper/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
