<?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>Eric Fickes &#187; visual studio 2008</title>
	<atom:link href="http://ericfickes.com/tag/visual-studio-2008/feed/" rel="self" type="application/rss+xml" />
	<link>http://ericfickes.com</link>
	<description>Design minded Internet Programmer</description>
	<lastBuildDate>Fri, 28 Oct 2011 04:14:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Invalid token &#8216;void&#8217; in class, struct, or interface member declaration</title>
		<link>http://ericfickes.com/2010/02/invalid-token-void-in-class-struct-or-interface-member-declaration/</link>
		<comments>http://ericfickes.com/2010/02/invalid-token-void-in-class-struct-or-interface-member-declaration/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 23:32:34 +0000</pubDate>
		<dc:creator>Eric Fickes</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[ADO.NET]]></category>
		<category><![CDATA[ADO.NET Entity Data Model]]></category>
		<category><![CDATA[edmx]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[visual studio 2008]]></category>
		<category><![CDATA[void]]></category>

		<guid isPermaLink="false">http://ericfickes.com/?p=1041</guid>
		<description><![CDATA[EDIT : After finishing this post I ran into all sorts of other strange issues and restarted using a Web Appliction instead of a plain old Website.  Between IntelliSense not showing any classes, to project reference issues, I couldn&#8217;t figured it &#8230; <a href="http://ericfickes.com/2010/02/invalid-token-void-in-class-struct-or-interface-member-declaration/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2>EDIT :</h2>
<p>After finishing this post I ran into all sorts of other strange issues and restarted using a Web Appliction instead of a plain old Website.  Between <a title="IntelliSense is the BEST feature of all Visual Studios" href="http://en.wikipedia.org/wiki/IntelliSense" target="_blank">IntelliSense</a> not showing any classes, to project reference issues, I couldn&#8217;t figured it out in time.  I&#8217;m sure there&#8217;s a way, I just had to move on.  So maybe this ramble below will be helpful for someone.</p>
<address>EF</address>
<p>Just ran into something quirky with Visual Studio 2008&#8242;s new ADO.NET Entity Data Model wizard.  While working on an ASP.NET 3.5 website ( not a codebehind web application ) I was trying to get the ADO.NET Entity Data model wizard to work with MySQL and ran into a probable Visual Studio bug.  To sum up the issue, if you are going to add a new edmx to your project, do NOT save it to the App_Code folder initially.  Put it in your root folder, compile your project, then move the edmx where you&#8217;d like.</p>
<p>Assuming you&#8217;ve already created your ASP.NET Website project, here&#8217;s how you reproduce this issue.</p>
<h3 style="text-align: center;"><strong>Right click your project and left click &#8216;Add New Item&#8217;</strong></h3>
<p style="text-align: center;">
<div id="attachment_1042" class="wp-caption aligncenter" style="width: 390px"><a href="http://ericfickes.com/wp-content/uploads/2010/02/vs1-AddNewItem.png" rel="lightbox[1041]"><img class="size-full wp-image-1042" title="Add New Item" src="http://ericfickes.com/wp-content/uploads/2010/02/vs1-AddNewItem.png" alt="Right click your project, left click Add New Item" width="380" height="225" /></a><p class="wp-caption-text">Add New Item</p></div>
<h3 style="text-align: center;"><strong>Select ADO.NET Entity Data Model, name it, select your language of preference</strong></h3>
<p style="text-align: center;">
<div id="attachment_1045" class="wp-caption aligncenter" style="width: 372px"><a href="http://ericfickes.com/wp-content/uploads/2010/02/vs2-NewEDM1.png" rel="lightbox[1041]"><img class="size-full wp-image-1045" title="New ADO.NET Entity Data Model" src="http://ericfickes.com/wp-content/uploads/2010/02/vs2-NewEDM1.png" alt="New ADO.NET Entity Data Model" width="362" height="466" /></a><p class="wp-caption-text">ADO.NET Entity Data Model</p></div>
<h3 style="text-align: center;"><strong>Click Yes to the &#8216;Store in App_Code&#8217; prompt</strong></h3>
<p style="text-align: center;"><strong> </strong></p>
<div id="attachment_1046" class="wp-caption aligncenter" style="width: 500px"><strong><strong><a href="http://ericfickes.com/wp-content/uploads/2010/02/vs3-AddToAPP_CODE.png" rel="lightbox[1041]"><img class="size-full wp-image-1046" title="Place your edmx in App_Code folder" src="http://ericfickes.com/wp-content/uploads/2010/02/vs3-AddToAPP_CODE.png" alt="Place your edmx in App_Code folder" width="490" height="199" /></a></strong></strong><p class="wp-caption-text">Place file in &#39;App_Code&#39; folder</p></div>
<p><strong> </strong></p>
<h3 style="text-align: center;"><strong>Complete the new Entity Data Model wizard</strong></h3>
<p style="text-align: center;"><a title="ADO.NET DataEntities and WCF Feeding a Silverlight DataGrid" href="http://silverlight.net/learn/tutorials/adonetdataentities-cs/" target="_blank">See this tutorial if you have not done this before</a></p>
<p style="text-align: center;">
<p style="text-align: center;">
<h3 style="text-align: center;"><strong>Compile project after completing wizard</strong></h3>
<p style="text-align: left;">
<div id="attachment_1047" class="wp-caption aligncenter" style="width: 665px"><a href="http://ericfickes.com/wp-content/uploads/2010/02/vs4-BuildFail.png" rel="lightbox[1041]"><img class="size-full wp-image-1047" title="Invalid token 'void' in class, struct, or interface member declaration" src="http://ericfickes.com/wp-content/uploads/2010/02/vs4-BuildFail.png" alt="Invalid token 'void' in class, struct, or interface member declaration" width="655" height="399" /></a><p class="wp-caption-text">Invalid token &#39;void&#39; in class, struct, or interface member declaration</p></div>
<p style="text-align: left;">At this point your project should have a new.edmx file located inside of the App_Code folder, but the project won&#8217;t build without failing.  If you are stuck in this predicament, follow this workaround.</p>
<h3 style="text-align: center;"><strong>Move .edmx to root folder and rebuild</strong></h3>
<p style="text-align: left;"><strong> </strong></p>
<div id="attachment_1048" class="wp-caption aligncenter" style="width: 346px"><strong><strong><a href="http://ericfickes.com/wp-content/uploads/2010/02/vs5-move_edmx.png" rel="lightbox[1041]"><img class="size-full wp-image-1048" title="Move edmx to root and recompile, no errors!" src="http://ericfickes.com/wp-content/uploads/2010/02/vs5-move_edmx.png" alt="Move edmx to root and recompile, no errors!" width="336" height="468" /></a></strong></strong><p class="wp-caption-text">WORKAROUND : move edmx to root folder, then recompile</p></div>
<p><strong> </strong></p>
<p style="text-align: left;">
<p style="text-align: left;">After moving your edmx file to the root folder you should be able to compile without problem.  Assuming this solves your problem, you should be able to move your edmx file to the App_Code folder without problem.  Seems like an initial compile problem<strong>.<br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://ericfickes.com/2010/02/invalid-token-void-in-class-struct-or-interface-member-declaration/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Find out why Visual Studio&#8217;s publish fails</title>
		<link>http://ericfickes.com/2009/08/find-out-why-visual-studios-publish-fails/</link>
		<comments>http://ericfickes.com/2009/08/find-out-why-visual-studios-publish-fails/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 18:51:26 +0000</pubDate>
		<dc:creator>Eric Fickes</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[build options]]></category>
		<category><![CDATA[msbuild]]></category>
		<category><![CDATA[output panel]]></category>
		<category><![CDATA[publish]]></category>
		<category><![CDATA[publish failed]]></category>
		<category><![CDATA[publish options]]></category>
		<category><![CDATA[verbosity]]></category>
		<category><![CDATA[visual studio 2008]]></category>

		<guid isPermaLink="false">http://ericfickes.com/?p=876</guid>
		<description><![CDATA[Have you ever had Visual Studio tell you your web application publish failed, but never gives you a reason why?  You&#8217;re not alone.  I&#8217;ve been putting off looking into this issue on a project and just found a way to &#8230; <a href="http://ericfickes.com/2009/08/find-out-why-visual-studios-publish-fails/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Have you ever had Visual Studio tell you your web application publish failed, but never gives you a reason why?  You&#8217;re not alone.  I&#8217;ve been putting off looking into this issue on a project and just found a way to get my answer right away.</p>
<div id="attachment_877" class="wp-caption aligncenter" style="width: 276px"><a href="http://ericfickes.com/wp-content/uploads/2009/08/visual-studio-2008-publish-failed.gif" rel="lightbox[876]"><img class="size-full wp-image-877" title="visual-studio-2008-publish-failed" src="http://ericfickes.com/wp-content/uploads/2009/08/visual-studio-2008-publish-failed.gif" alt="Visual Studio 2008's Publish Failed message" width="266" height="112" /></a><p class="wp-caption-text">Visual Studio 2008&#39;s Publish Failed message</p></div>
<p>Here&#8217;s what you should do inside of Visual Studio to find out why your publish failed.</p>
<ol>
<li>Click the Tools menu &gt; then Options to bring up the Options dialog.</li>
<li>Expand &#8216;Projects and Solutions&#8217; on the left and click General</li>
<li>On General, click &#8216;Show Output window when build starts&#8217;</li>
<li>Now click on &#8216;Build and Run&#8217; in the left tree</li>
<li>Next select a value from the &#8216;MSBuild project build output verbosity&#8217; drop down menu</li>
<li>OK your way back to the main Visual Studio window</li>
<li>The next time you Build or Publish your project, you should see the Output panel pop up.  If your publish is still failing, the answer will live inside the Output panel</li>
</ol>
<p>Here&#8217;s a visual walkthrough of these instructions.</p>
<div id="attachment_878" class="wp-caption aligncenter" style="width: 310px"><a href="http://ericfickes.com/wp-content/uploads/2009/08/show-output-window-when-build-starts.gif" rel="lightbox[876]"><img class="size-medium wp-image-878" title="show-output-window-when-build-starts" src="http://ericfickes.com/wp-content/uploads/2009/08/show-output-window-when-build-starts-300x172.gif" alt="Tools &gt; Options &gt; Projects and Solutions &gt; General" width="300" height="172" /></a><p class="wp-caption-text">Tools &gt; Options &gt; Projects and Solutions &gt; General</p></div>
<div id="attachment_879" class="wp-caption aligncenter" style="width: 310px"><a href="http://ericfickes.com/wp-content/uploads/2009/08/msbuild-project-build-output-verbosity.gif" rel="lightbox[876]"><img class="size-medium wp-image-879" title="msbuild-project-build-output-verbosity" src="http://ericfickes.com/wp-content/uploads/2009/08/msbuild-project-build-output-verbosity-300x171.gif" alt="Tools &gt; Options &gt; Projects and Solutions &gt; Build and Run" width="300" height="171" /></a><p class="wp-caption-text">Tools &gt; Options &gt; Projects and Solutions &gt; Build and Run</p></div>
<div id="attachment_880" class="wp-caption aligncenter" style="width: 310px"><a href="http://ericfickes.com/wp-content/uploads/2009/08/visual-studio-output-panel.gif" rel="lightbox[876]"><img class="size-medium wp-image-880" title="visual-studio-output-panel" src="http://ericfickes.com/wp-content/uploads/2009/08/visual-studio-output-panel-300x102.gif" alt="Visual Studio's Output Panel" width="300" height="102" /></a><p class="wp-caption-text">Visual Studio&#39;s Output Panel</p></div>
]]></content:encoded>
			<wfw:commentRss>http://ericfickes.com/2009/08/find-out-why-visual-studios-publish-fails/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>Visual Studio 2008 makes porting from .net1 to .net2 a snap</title>
		<link>http://ericfickes.com/2008/10/visual-studio-2008-makes-porting-from-net1-to-net2-a-snap/</link>
		<comments>http://ericfickes.com/2008/10/visual-studio-2008-makes-porting-from-net1-to-net2-a-snap/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 03:09:46 +0000</pubDate>
		<dc:creator>Eric Fickes</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[.net1]]></category>
		<category><![CDATA[.net2]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[visual studio 2008]]></category>

		<guid isPermaLink="false">http://ericfickes.com/?p=53</guid>
		<description><![CDATA[I recently ported a .net1 project to .net2. I have to give props to Microsoft for making Visual Studio 08 so helpful in the migration process. There is a conversion wizard that updates the .net guts of the project itself. &#8230; <a href="http://ericfickes.com/2008/10/visual-studio-2008-makes-porting-from-net1-to-net2-a-snap/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I recently ported a .net1 project to .net2.  I have to give props to Microsoft for making Visual Studio 08 so helpful in the migration process.</p>
<p>There is a conversion wizard that updates the .net guts of the project itself.  Then the next time you build your project, Visual Studio lets you know what code needs to be updated.  It doesn&#8217;t do everything for you, but I&#8217;m not aware of any IDEs that are this helpful when it comes to porting legacy code.</p>
<p>While the porting process wasn&#8217;t too bad, getting IIS and ASP.NET setup and running was sort of a fubar.</p>
<ol>
<li>IIS didn&#8217;t like that I have Apache running</li>
<li>After turning off Apache, IIS complained about a metabase problem</li>
<li>Tried fixing with the MetaAcl Tool</li>
<li>Googled around and found my fix &#8220;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727&gt;aspnet_regiis -i&#8221;</li>
<li>Next I couldn&#8217;t debug because my project was built as a Release</li>
<li>Changed to debug then had to clear out my .net framework temp folder</li>
<li>Rinse and repeat windows voodoo, now I&#8217;m debugging</li>
</ol>
<p>The jury is still out on how much I miss asp.net.  It sure beats the hell out of PHP.  But then again, I&#8217;ve got my PHP chops back and I&#8217;m really enjoying the simplicity and speed which I can crank smallish things out.</p>
]]></content:encoded>
			<wfw:commentRss>http://ericfickes.com/2008/10/visual-studio-2008-makes-porting-from-net1-to-net2-a-snap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

