<?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>JSEDLAK &#187; Visual Studio</title>
	<atom:link href="http://jsedlak.org/tag/visual-studio/feed/" rel="self" type="application/rss+xml" />
	<link>http://jsedlak.org</link>
	<description></description>
	<lastBuildDate>Wed, 01 Sep 2010 00:44:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>FGF: Getting Started</title>
		<link>http://jsedlak.org/2009/11/05/fgf-getting-started/</link>
		<comments>http://jsedlak.org/2009/11/05/fgf-getting-started/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 15:08:52 +0000</pubDate>
		<dc:creator>John Sedlak</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[FGF]]></category>
		<category><![CDATA[XNA]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Visual Studio 2008]]></category>

		<guid isPermaLink="false">http://jsedlak.com/?p=246</guid>
		<description><![CDATA[This series is devoted to the design and development of my framework, FGF (Focused Games Framework), and aims to cover topics like async content management, WCF services, and many more. In this first article, I cover how to setup Visual Studio 2008 for coding the framework. It is important to understand that I will be [...]]]></description>
			<content:encoded><![CDATA[<p>This series is devoted to the design and development of my framework, FGF (Focused Games Framework), and aims to cover topics like async content management, WCF services, and many more. In this first article, I cover how to setup Visual Studio 2008 for coding the framework. It is important to understand that I will be using Visual Studio Team System 2008 and thus may have features that are not available in the Express edition. It is possible to get around many of these or ignore them completely, however, so not having Team System does not mean developing FGF is impossible.</p>
<p>The first step is to open up the IDE and create our solution. When starting a large solution such as the one for FGF, I find it useful to create a <i>Blank Solution</i> so that the solution&#8217;s name can be different than that of the first project. Again, this can be worked around in Express as well as other versions of the editor.</p>
<div class="Center"><img class="Bordered" src="/wp-content/uploads/2009/11/screenshot_9-300x222.jpg" alt="Blank FGF Solution" title="Blank FGF Solution" width="300" height="222" class="size-medium wp-image-247" /></div>
<p><span id="more-246"></span></p>
<p>The next step is an obvious one: add the first project. The design of FGF is based on a hierarchy of libraries much like the .NET Framework. Whereas libraries depend on the System DLL and mscorlib, FGF libraries can all depend on the core project, FocusedGames. To enable some cross-platform awesomeness down the road, we make this project an XNA library and then remove the references to the XNA Framework. Remember that FGF is not just an XNA framework and should support situations where XNA is not installed. You can see the cleaned project in the below screenshot.</p>
<div class="Center"><img class="Bordered" src="/wp-content/uploads/2009/11/screenshot_11-279x300.jpg" alt="First project in FGF" title="First project in FGF" width="279" height="300" class="size-medium wp-image-248" /></div>
<p>After creating some copy projects for the Zune and the Xbox 360, repeat the process for a new project, FocusedGames.Xna. At this point you may find it nice to move the platform specific projects into platform specific Solution Folders. This is one of the features of Visual Studio I wish was present in the Express Edition, but unfortunately it was left out. The really nice part of Solution Folders is that it does not physically move the project files. Rather it simply organizes them in a virtual fashion.</p>
<p>Regardless, the last step is to setup the output directory. Personally, I like having the projects all push to the same bin folder so I can copy them with a Powershell script very easily. To do this, go into each project&#8217;s properties and change the output directory to something like &#8220;..\Bin\whatever was here>&#8221; and remember to change it for both Debug and Release.</p>
<div class="Center"><a href="/wp-content/uploads/2009/11/screenshot_12.jpg"><img src="http://jsedlak.com/wp-content/uploads/2009/11/screenshot_12-300x222.jpg" alt="Changing the output directory..." title="Changing the output directory..." width="300" height="222" class="Bordered" /></a></div>
<p>Finally we are ready to start coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://jsedlak.org/2009/11/05/fgf-getting-started/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cross Platform XNA Projects (X64 Content)</title>
		<link>http://jsedlak.org/2009/09/05/cross-platform-xna-projects-x64-content/</link>
		<comments>http://jsedlak.org/2009/09/05/cross-platform-xna-projects-x64-content/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 17:42:24 +0000</pubDate>
		<dc:creator>John Sedlak</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[XNA]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://jsedlak.com/?p=197</guid>
		<description><![CDATA[One of the requirements of the framework I am building (FGF) is cross platform support. For my XNA games this means support for not only Windows but also the Zune and the Xbox 360. For my Windows based projects I often find that X64 can be used (and in the case of IIS in 2008 [...]]]></description>
			<content:encoded><![CDATA[<p>One of the requirements of the framework I am building (<a href="http://focusedgames.com/fg-framework">FGF</a>) is cross platform support. For my XNA games this means support for not only Windows but also the Zune and the Xbox 360. For my Windows based projects I often find that X64 can be used (and in the case of IIS in 2008 R2, encouraged) so I also support X64 versions.</p>
<p>The problem is that when using an XNA project template to build a library for the simple fact that XNA projects can automatically synchronized (across platforms), Visual Studio blocks the creation of an X64 build target. Rather you are stuck with X86, Zune or Xbox 360.</p>
<p>The good news is that you can get around this! Open up the Windows project file (csproj) in a suitable text editor and copy the sections for both &#8220;Debug|x86&#8243; and &#8220;Release|x86&#8243; and paste them right after.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p197code3'); return false;">View Code</a> CSHARP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1973"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
</pre></td><td class="code" id="p197code3"><pre class="csharp" style="font-family:monospace;"><span style="color: #008000;">&lt;</span>PropertyGroup Condition<span style="color: #008000;">=</span><span style="color: #666666;">&quot; '$(Configuration)|$(Platform)' == 'Debug|x86' &quot;</span><span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>DebugSymbols<span style="color: #008000;">&gt;</span><span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&lt;/</span>DebugSymbols<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>DebugType<span style="color: #008000;">&gt;</span>full<span style="color: #008000;">&lt;/</span>DebugType<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>Optimize<span style="color: #008000;">&gt;</span><span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&lt;/</span>Optimize<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>OutputPath<span style="color: #008000;">&gt;..</span>\Bin\x86\Debug\<span style="color: #008000;">&lt;/</span>OutputPath<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>DefineConstants<span style="color: #008000;">&gt;</span>DEBUG<span style="color: #008000;">;</span>TRACE<span style="color: #008000;">;</span>WINDOWS<span style="color: #008000;">&lt;/</span>DefineConstants<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>ErrorReport<span style="color: #008000;">&gt;</span>prompt<span style="color: #008000;">&lt;/</span>ErrorReport<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>WarningLevel<span style="color: #008000;">&gt;</span><span style="color: #FF0000;">4</span><span style="color: #008000;">&lt;/</span>WarningLevel<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>NoStdLib<span style="color: #008000;">&gt;</span><span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&lt;/</span>NoStdLib<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>UseVSHostingProcess<span style="color: #008000;">&gt;</span><span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&lt;/</span>UseVSHostingProcess<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>PlatformTarget<span style="color: #008000;">&gt;</span>x86<span style="color: #008000;">&lt;/</span>PlatformTarget<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>XnaCompressContent<span style="color: #008000;">&gt;</span><span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&lt;/</span>XnaCompressContent<span style="color: #008000;">&gt;</span>
<span style="color: #008000;">&lt;/</span>PropertyGroup<span style="color: #008000;">&gt;</span>
<span style="color: #008000;">&lt;</span>PropertyGroup Condition<span style="color: #008000;">=</span><span style="color: #666666;">&quot; '$(Configuration)|$(Platform)' == 'Release|x86' &quot;</span><span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>DebugType<span style="color: #008000;">&gt;</span>pdbonly<span style="color: #008000;">&lt;/</span>DebugType<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>Optimize<span style="color: #008000;">&gt;</span><span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&lt;/</span>Optimize<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>OutputPath<span style="color: #008000;">&gt;..</span>\Bin\x86\Release\<span style="color: #008000;">&lt;/</span>OutputPath<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>DefineConstants<span style="color: #008000;">&gt;</span>TRACE<span style="color: #008000;">;</span>WINDOWS<span style="color: #008000;">&lt;/</span>DefineConstants<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>ErrorReport<span style="color: #008000;">&gt;</span>prompt<span style="color: #008000;">&lt;/</span>ErrorReport<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>WarningLevel<span style="color: #008000;">&gt;</span><span style="color: #FF0000;">4</span><span style="color: #008000;">&lt;/</span>WarningLevel<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>NoStdLib<span style="color: #008000;">&gt;</span><span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&lt;/</span>NoStdLib<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>UseVSHostingProcess<span style="color: #008000;">&gt;</span><span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&lt;/</span>UseVSHostingProcess<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>PlatformTarget<span style="color: #008000;">&gt;</span>x86<span style="color: #008000;">&lt;/</span>PlatformTarget<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>XnaCompressContent<span style="color: #008000;">&gt;</span><span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&lt;/</span>XnaCompressContent<span style="color: #008000;">&gt;</span>
<span style="color: #008000;">&lt;/</span>PropertyGroup<span style="color: #008000;">&gt;</span></pre></td></tr></table></div>

<p>Next you simply replace the instances of x86 with x64 and change anything else you need.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p197code4'); return false;">View Code</a> CSHARP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1974"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
</pre></td><td class="code" id="p197code4"><pre class="csharp" style="font-family:monospace;"><span style="color: #008000;">&lt;</span>PropertyGroup Condition<span style="color: #008000;">=</span><span style="color: #666666;">&quot; '$(Configuration)|$(Platform)' == 'Debug|x64' &quot;</span><span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>DebugSymbols<span style="color: #008000;">&gt;</span><span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&lt;/</span>DebugSymbols<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>DebugType<span style="color: #008000;">&gt;</span>full<span style="color: #008000;">&lt;/</span>DebugType<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>Optimize<span style="color: #008000;">&gt;</span><span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&lt;/</span>Optimize<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>OutputPath<span style="color: #008000;">&gt;..</span>\Bin\x64\Debug\<span style="color: #008000;">&lt;/</span>OutputPath<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>DefineConstants<span style="color: #008000;">&gt;</span>DEBUG<span style="color: #008000;">;</span>TRACE<span style="color: #008000;">;</span>WINDOWS<span style="color: #008000;">&lt;/</span>DefineConstants<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>ErrorReport<span style="color: #008000;">&gt;</span>prompt<span style="color: #008000;">&lt;/</span>ErrorReport<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>WarningLevel<span style="color: #008000;">&gt;</span><span style="color: #FF0000;">4</span><span style="color: #008000;">&lt;/</span>WarningLevel<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>NoStdLib<span style="color: #008000;">&gt;</span><span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&lt;/</span>NoStdLib<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>UseVSHostingProcess<span style="color: #008000;">&gt;</span><span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&lt;/</span>UseVSHostingProcess<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>PlatformTarget<span style="color: #008000;">&gt;</span>x64<span style="color: #008000;">&lt;/</span>PlatformTarget<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>XnaCompressContent<span style="color: #008000;">&gt;</span><span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&lt;/</span>XnaCompressContent<span style="color: #008000;">&gt;</span>
<span style="color: #008000;">&lt;/</span>PropertyGroup<span style="color: #008000;">&gt;</span>
<span style="color: #008000;">&lt;</span>PropertyGroup Condition<span style="color: #008000;">=</span><span style="color: #666666;">&quot; '$(Configuration)|$(Platform)' == 'Release|x64' &quot;</span><span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>DebugType<span style="color: #008000;">&gt;</span>pdbonly<span style="color: #008000;">&lt;/</span>DebugType<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>Optimize<span style="color: #008000;">&gt;</span><span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&lt;/</span>Optimize<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>OutputPath<span style="color: #008000;">&gt;..</span>\Bin\x64\Release\<span style="color: #008000;">&lt;/</span>OutputPath<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>DefineConstants<span style="color: #008000;">&gt;</span>TRACE<span style="color: #008000;">;</span>WINDOWS<span style="color: #008000;">&lt;/</span>DefineConstants<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>ErrorReport<span style="color: #008000;">&gt;</span>prompt<span style="color: #008000;">&lt;/</span>ErrorReport<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>WarningLevel<span style="color: #008000;">&gt;</span><span style="color: #FF0000;">4</span><span style="color: #008000;">&lt;/</span>WarningLevel<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>NoStdLib<span style="color: #008000;">&gt;</span><span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&lt;/</span>NoStdLib<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>UseVSHostingProcess<span style="color: #008000;">&gt;</span><span style="color: #0600FF; font-weight: bold;">false</span><span style="color: #008000;">&lt;/</span>UseVSHostingProcess<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>PlatformTarget<span style="color: #008000;">&gt;</span>x64<span style="color: #008000;">&lt;/</span>PlatformTarget<span style="color: #008000;">&gt;</span>
  <span style="color: #008000;">&lt;</span>XnaCompressContent<span style="color: #008000;">&gt;</span><span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&lt;/</span>XnaCompressContent<span style="color: #008000;">&gt;</span>
<span style="color: #008000;">&lt;/</span>PropertyGroup<span style="color: #008000;">&gt;</span></pre></td></tr></table></div>

<p>One warning &#8211; this should only be used for projects that don&#8217;t require references to the XNA framework. At this time Microsoft has no support for x64 XNA references.</p>
]]></content:encoded>
			<wfw:commentRss>http://jsedlak.org/2009/09/05/cross-platform-xna-projects-x64-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VS2010 is Looking Sexy</title>
		<link>http://jsedlak.org/2009/02/24/vs2010-is-looking-sexy/</link>
		<comments>http://jsedlak.org/2009/02/24/vs2010-is-looking-sexy/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 02:34:23 +0000</pubDate>
		<dc:creator>John Sedlak</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[VS2010]]></category>
		<category><![CDATA[WPF]]></category>

		<guid isPermaLink="false">http://jsedlak.com/?p=167</guid>
		<description><![CDATA[As Jason Zander shows on his blog, Visual Studio 2010 is looking gorgeous in its WPF kit. The added capabilities of the IDE and the power extensions now have will put this software above and beyond the rest for many years. If Microsoft still does one thing brilliantly, it is write great IDE software.]]></description>
			<content:encoded><![CDATA[<p>As Jason Zander shows <a href="http://blogs.msdn.com/jasonz/archive/2009/02/20/a-new-look-for-visual-studio-2010.aspx">on his blog</a>, Visual Studio 2010 is looking gorgeous in its WPF kit. The added capabilities of the IDE and the power extensions now have  will put this software above and beyond the rest for many years. If Microsoft still does one thing brilliantly, it is write great IDE software.</p>
]]></content:encoded>
			<wfw:commentRss>http://jsedlak.org/2009/02/24/vs2010-is-looking-sexy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
