<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0" -->
<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:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" 
     xmlns:dtvmedia="http://participatoryculture.org/RSSModules/dtv/1.0" 
     xmlns:media="http://search.yahoo.com/mrss"
	>

<channel>
	<title>TPN :: The Microsoft Developer Show</title>
	<link>http://msdev.thepodcastnetwork.com</link>
	<description>Your Passion...Your Potential</description>
	<pubDate>Tue, 24 Jun 2008 20:30:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0</generator>
	<language>en</language>
	
	<copyright>The Podcast Network 2003-2006</copyright>
    <managingEditor>cameronreilly@gmail.com (The Podcast Network)</managingEditor>
    <webMaster>cameronreilly@gmail.com</webMaster>

    <category>Technology Developers Microsoft</category>
	
<itunes:category text="Technology" ><itunes:category text="Developers" />
</itunes:category>

    <itunes:subtitle></itunes:subtitle>
    <itunes:summary>Your Passion...Your Potential</itunes:summary>
    <itunes:author>The Podcast Network</itunes:author>    
    <itunes:owner>
        <itunes:name>The Podcast Network</itunes:name>
        <itunes:email>cameronreilly@gmail.com</itunes:email>
    </itunes:owner>
    <itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://msdev.thepodcastnetwork.com/wp-images/coverart_300x300.jpg" />
 
    <image>
        <url>http://msdev.thepodcastnetwork.com/wp-images/coverart_144x144.jpg</url>
        <title>TPN :: The Microsoft Developer Show</title>
        <link>http://msdev.thepodcastnetwork.com</link>
        <width>144</width>
        <height>144</height>
    </image>

	
	
	
	
			<item>
		<title>Reposting the Moth on Cross Platform Development</title>
		<link>http://msdev.thepodcastnetwork.com/2006/10/10/reposting-the-moth-on-cross-platform-development/</link>
		<comments>http://msdev.thepodcastnetwork.com/2006/10/10/reposting-the-moth-on-cross-platform-development/#comments</comments>
		<pubDate>Mon, 09 Oct 2006 20:32:04 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
		
	<category>Mobility</category>
	<category>Visual Studio</category>
		<guid isPermaLink="false">http://msdev.thepodcastnetwork.com/2006/10/10/reposting-the-moth-on-cross-platform-development/</guid>
		<description><![CDATA[I&#8217;m not a big fan of reposting content that other people have already stated numerous times, but Daniel Moth has some exceptional posts that are worthy of some mention:

Retargetable (=256)
Share Code (#if FULL_FRAME)
Deploy to My Computer
Resx compatibility for Smart Device projects
Another use of partial types
Not a strict subset
Sharing Cursor.WaitCursor and InputPanel in VS2005
Dotnet changes
Speaking at MEDC [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not a big fan of reposting content that other people have already stated numerous times, but <a title="The Moth" href="http://www.danielmoth.com/Blog" target="_blank">Daniel Moth</a> has some exceptional posts that are worthy of some mention:</p>
<ul>
<li><a title="Retargetable (=256) (permalink)" href="http://www.danielmoth.com/Blog/2004/09/retargetable-256.html">Retargetable (=256)</a></li>
<li><a title="Share Code (#if FULL_FRAME) (permalink)" href="http://www.danielmoth.com/Blog/2004/09/share-code-if-fullframe_17.html">Share Code (#if FULL_FRAME)</a></li>
<li><a title="Deploy to My Computer (permalink)" href="http://www.danielmoth.com/Blog/2005/01/deploy-to-my-computer.html">Deploy to My Computer</a></li>
<li><a title="Resx compatibility for Smart Device projects (permalink)" href="http://www.danielmoth.com/Blog/2005/08/resx-compatibility-for-smart-device.html">Resx compatibility for Smart Device projects</a></li>
<li><a title="Another use of partial types (permalink)" href="http://www.danielmoth.com/Blog/2005/08/another-use-of-partial-types.html">Another use of partial types</a></li>
<li><a title="Not a strict subset (permalink)" href="http://www.danielmoth.com/Blog/2005/08/not-strict-subset.html">Not a strict subset</a></li>
<li><a title="Sharing Cursor.WaitCursor and InputPanel in VS2005 (permalink)" href="http://www.danielmoth.com/Blog/2005/08/sharing-cursorwaitcursor-and.html">Sharing Cursor.WaitCursor and InputPanel in VS2005</a></li>
<li><a title="Dotnet changes (permalink)" href="http://www.danielmoth.com/Blog/2005/09/dotnet-changes.html">Dotnet changes</a></li>
<li><a title="Speaking at MEDC 2006 (permalink)" href="http://www.danielmoth.com/Blog/2006/05/speaking-at-medc-2006.html">Speaking at MEDC 2006</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRSS>http://msdev.thepodcastnetwork.com/2006/10/10/reposting-the-moth-on-cross-platform-development/feed/</wfw:commentRSS>
		
	        
        <itunes:author>Nick Randolph</itunes:author>
        <itunes:subtitle>I%26#8217;m not a big fan of reposting content that other people have already stated numerous times, but Daniel Moth has some exceptional posts that are worthy of some mention:

Retargetable (=256)
Share Code (#if FULL_FRAME)
Deploy to My Computer
Resx </itunes:subtitle>
        <itunes:summary>I'm not a big fan of reposting content that other people have already stated numerous times, but Daniel Moth [1] has some exceptional posts that are worthy of some mention:

	Retargetable (=256) [2]
	Share Code (#if FULL_FRAME) [3]
	Deploy to My Computer [4]
	Resx compatibility for Smart Device projects [5]
	Another use of partial types [6]
	Not a strict subset [7]
	Sharing Cursor.WaitCursor and InputPanel in VS2005 [8]
	Dotnet changes [9]
	Speaking at MEDC 2006 [10]


[1] http://msdev.thepodcastnetwork.comhttp://www.danielmoth.com/Blog
[2] http://msdev.thepodcastnetwork.comhttp://www.danielmoth.com/Blog/2004/09/retargetable-256.html
[3] http://msdev.thepodcastnetwork.comhttp://www.danielmoth.com/Blog/2004/09/share-code-if-fullframe_17.html
[4] http://msdev.thepodcastnetwork.comhttp://www.danielmoth.com/Blog/2005/01/deploy-to-my-computer.html
[5] http://msdev.thepodcastnetwork.comhttp://www.danielmoth.com/Blog/2005/08/resx-compatibility-for-smart-device.html
[6] http://msdev.thepodcastnetwork.comhttp://www.danielmoth.com/Blog/2005/08/another-use-of-partial-types.html
[7] http://msdev.thepodcastnetwork.comhttp://www.danielmoth.com/Blog/2005/08/not-strict-subset.html
[8] http://msdev.thepodcastnetwork.comhttp://www.danielmoth.com/Blog/2005/08/sharing-cursorwaitcursor-and.html
[9] http://msdev.thepodcastnetwork.comhttp://www.danielmoth.com/Blog/2005/09/dotnet-changes.html
[10] http://msdev.thepodcastnetwork.comhttp://www.danielmoth.com/Blog/2006/05/speaking-at-medc-2006.html</itunes:summary>
        
        <itunes:explicit>No</itunes:explicit>
        <itunes:block>No</itunes:block>
        <itunes:keywords></itunes:keywords>
		
	</item>
		<item>
		<title>Dual Project for Cross Platform Development</title>
		<link>http://msdev.thepodcastnetwork.com/2006/10/05/dual-project-for-cross-platform-development/</link>
		<comments>http://msdev.thepodcastnetwork.com/2006/10/05/dual-project-for-cross-platform-development/#comments</comments>
		<pubDate>Wed, 04 Oct 2006 17:36:23 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
		
	<category>Mobility</category>
	<category>Visual Studio</category>
		<guid isPermaLink="false">http://msdev.thepodcastnetwork.com/2006/10/05/dual-project-for-cross-platform-development/</guid>
		<description><![CDATA[One of the topics that was covered in the show with Jeff Arnett is how you can aid cross platform development by using dual, or parallel, projects.  The premise is that for every desktop project, you have a parallel device project.  The projects reside in the same directory and use the same code files, which [...]]]></description>
			<content:encoded><![CDATA[<p>One of the topics that was covered in the show with Jeff Arnett is how you can aid cross platform development by using dual, or parallel, projects.  The premise is that for every desktop project, you have a parallel device project.  The projects reside in the same directory and use the same code files, which means that if you write code that will not compile on either the desktop or device it will display design-time errors in Visual Studio.</p>
<p>This seems a great idea in theory but the difficulty is trying to (a) get these projects setup and (b) maintaining them.  The hardest thing with Visual Studio is overriding its default behaviour.  For example when you create a new project, it will ALWAYS create a new directory to put it in.  Further, if you try and create a project in an existing directory Visual Studio will prevent you.  So, how do you setup two projects in the same directory? I will attempt to show you how you can get started.</p>
<p><strong>Project Creation</strong></p>
<ol>
<li>Open VS2005 and create a new Class Library project - Visual Basic &#8211;> Windows &#8211;> Class Library (for this example I will use a VB.NET project but this method works just as well in C#).  Give the project the name &#8220;MobileLibrary&#8221;; create a directory for the solution; name the solution &#8220;Mobility&#8221;</li>
<li>Add a new device Class Library project to the existing solution - Visual Basic &#8211;> Smart Device &#8211;> Windows Mobile 5.0 Pocket PC &#8211;> Class Library (again I have chosed WM5 PPC but this should work for any of the smart device project types).  Give the project the name &#8220;MobileLibrary_CF&#8221;</li>
<li>Exclude the device project from the solution</li>
<li>Using File Explorer move the device project files (in this case &#8220;MobileLibrary_CF.vbproj&#8221; and &#8220;MobileLibrary_CF.vbproj.user&#8221; into the same folder as the desktop class library (in this case in the &#8220;MobileLibrary&#8221; folder)</li>
<li>Add the device project into the existing solution (in this case from the &#8220;MobileLibrary&#8221; folder)</li>
<li>You will probaby have 2 build errors relating to incompatibilities between the desktop and the device (AssemblyFileVersion and CompilerGeneratedAttribute are not supported on the device).  You can safetly remove these lines of code and hey presto you&#8217;re done!</li>
</ol>
<p>Now you will have to agree this is a bit of a PITA if you have to do this process every time you want to create a new class library in an existing solution.  One way to get around this would be to create a multi-project template.  However, again you run into the issue where Visual Studio will not allow 2 projects to be created in the same directory&#8230;.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://msdev.thepodcastnetwork.com/2006/10/05/dual-project-for-cross-platform-development/feed/</wfw:commentRSS>
		
	        
        <itunes:author>Nick Randolph</itunes:author>
        <itunes:subtitle>One of the topics that was covered in the show with Jeff Arnett is how you can aid cross platform development by using dual, or parallel, projects.  The premise is that for every desktop project, you have a parallel device project.  The projects reside</itunes:subtitle>
        <itunes:summary>One of the topics that was covered in the show with Jeff Arnett is how you can aid cross platform development by using dual, or parallel, projects.  The premise is that for every desktop project, you have a parallel device project.  The projects reside in the same directory and use the same code files, which means that if you write code that will not compile on either the desktop or device it will display design-time errors in Visual Studio.

This seems a great idea in theory but the difficulty is trying to (a) get these projects setup and (b) maintaining them.  The hardest thing with Visual Studio is overriding its default behaviour.  For example when you create a new project, it will ALWAYS create a new directory to put it in.  Further, if you try and create a project in an existing directory Visual Studio will prevent you.  So, how do you setup two projects in the same directory? I will attempt to show you how you can get started.

Project Creation

	Open VS2005 and create a new Class Library project - Visual Basic --> Windows --> Class Library (for this example I will use a VB.NET project but this method works just as well in C#).  Give the project the name "MobileLibrary"; create a directory for the solution; name the solution "Mobility"
	Add a new device Class Library project to the existing solution - Visual Basic --> Smart Device --> Windows Mobile 5.0 Pocket PC --> Class Library (again I have chosed WM5 PPC but this should work for any of the smart device project types).  Give the project the name "MobileLibrary_CF"
	Exclude the device project from the solution
	Using File Explorer move the device project files (in this case "MobileLibrary_CF.vbproj" and "MobileLibrary_CF.vbproj.user" into the same folder as the desktop class library (in this case in the "MobileLibrary" folder)
	Add the device project into the existing solution (in this case from the "MobileLibrary" folder)
	You will probaby have 2 build errors relating to incompatibilities between the desktop and the device (AssemblyFileVersion and CompilerGeneratedAttribute are not supported on the device).  You can safetly remove these lines of code and hey presto you're done!

Now you will have to agree this is a bit of a PITA if you have to do this process every time you want to create a new class library in an existing solution.  One way to get around this would be to create a multi-project template.  However, again you run into the issue where Visual Studio will not allow 2 projects to be created in the same directory....</itunes:summary>
        
        <itunes:explicit>No</itunes:explicit>
        <itunes:block>No</itunes:block>
        <itunes:keywords></itunes:keywords>
		
	</item>
	</channel>
</rss>
