<?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</title>
	<atom:link href="http://ericfickes.com/tag/visual-studio/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>How to show line numbers in Visual Studio 2010</title>
		<link>http://ericfickes.com/2010/08/how-to-show-line-numbers-in-visual-studio-2010/</link>
		<comments>http://ericfickes.com/2010/08/how-to-show-line-numbers-in-visual-studio-2010/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 19:11:35 +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[display]]></category>
		<category><![CDATA[line numbers]]></category>
		<category><![CDATA[text editor]]></category>
		<category><![CDATA[visual studio options]]></category>

		<guid isPermaLink="false">http://ericfickes.com/?p=1614</guid>
		<description><![CDATA[I&#8217;ve been using Visual Studio since forever, yet it always takes me a while to remember how to show line numbers.  It&#8217;s especially hard to remember after a fresh install of Visual Studio.  Assuming you have it installed and open, &#8230; <a href="http://ericfickes.com/2010/08/how-to-show-line-numbers-in-visual-studio-2010/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using Visual Studio since forever, yet it always takes me a while to remember how to show line numbers.  It&#8217;s especially hard to remember after a fresh install of Visual Studio.  Assuming you have it installed and open, here&#8217;s how to display line numbers in your code.</p>
<ol>
<li>Click Tools in the menu bar</li>
<li>Options</li>
<li>Expand Text Editor ( in the popup window )</li>
<li>Click &#8216;All Languages&#8217;</li>
<li>Check the &#8216;Line numbers&#8217; box under the Display heading ( on the right )</li>
<li>Click OK</li>
<li>Happy Happy Joy Joy!</li>
</ol>
<p><a href="http://ericfickes.com/wp-content/uploads/2010/08/show-line-number-visual-studio-2010.png" rel="lightbox[1614]"><img class="aligncenter size-full wp-image-1615" title="Display Line numbers in Visual Studio 2010" src="http://ericfickes.com/wp-content/uploads/2010/08/show-line-number-visual-studio-2010.png" alt="How to Display Line numbers in Visual Studio 2010" width="784" height="848" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ericfickes.com/2010/08/how-to-show-line-numbers-in-visual-studio-2010/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<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>How to customize WebForm1.aspx in Visual Studio 2003</title>
		<link>http://ericfickes.com/2006/05/how-to-customize-webform1aspx-in-visual-studio-2003/</link>
		<comments>http://ericfickes.com/2006/05/how-to-customize-webform1aspx-in-visual-studio-2003/#comments</comments>
		<pubDate>Wed, 03 May 2006 22:30:00 +0000</pubDate>
		<dc:creator>Eric Fickes</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[aspx]]></category>
		<category><![CDATA[aspx template]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Visual Studio template]]></category>

		<guid isPermaLink="false">http://ericfickes.com/2006/05/03/73/</guid>
		<description><![CDATA[I finally found out where to customize the WebForm1.aspx template for Visual Studio 03. C:\Program Files\Microsoft Visual Studio .NET 2003\VC#\VC#Wizards\CSharpAddWebFormWiz\Templates\1033\WebForm1.aspx Now I don&#8217;t have to keep removing all those extra tags that Visual Studio likes to add. MS_POSITIONING?!?! Am I &#8230; <a href="http://ericfickes.com/2006/05/how-to-customize-webform1aspx-in-visual-studio-2003/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I finally found out where to customize the WebForm1.aspx template for Visual Studio 03.</p>
<p>C:\Program Files\Microsoft Visual Studio .NET 2003\VC#\VC#Wizards\CSharpAddWebFormWiz\Templates\1033\WebForm1.aspx</p>
<p>Now I don&#8217;t have to keep removing all those extra tags that Visual Studio likes to add.  MS_POSITIONING?!?!  Am I the only programmer who knows HTML and CSS?</p>
<p>Of course, you could just read this <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/customwebwiz.asp">article and build your own custom form wizard.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ericfickes.com/2006/05/how-to-customize-webform1aspx-in-visual-studio-2003/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

