<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Migrating from Visual Studio .NET 2003 to Visual Studio 2005 </title><link>http://forums.asp.net/1012.aspx</link><description>Discuss issues, strategies, tips, etc. for migrating from Visual Studio .NET 2003 to Visual Studio 2005</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Show all files is disabled</title><link>http://forums.asp.net/thread/3181660.aspx</link><pubDate>Fri, 22 May 2009 19:14:34 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3181660</guid><dc:creator>Richard Waddell</dc:creator><author>Richard Waddell</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3181660.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1012&amp;PostID=3181660</wfw:commentRss><description>&lt;p&gt;&lt;font face="Verdana"&gt;&amp;quot;Show All Files&amp;quot; is grayed out since it is not needed in a WSP -- all files are already shown in the Solution Explorer.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Verdana"&gt;In other words - it&amp;#39;s not a bug, it&amp;#39;s a feature. &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Verdana"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Show all files is disabled</title><link>http://forums.asp.net/thread/1794411.aspx</link><pubDate>Mon, 09 Jul 2007 19:47:58 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1794411</guid><dc:creator>rajanam</dc:creator><author>rajanam</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1794411.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1012&amp;PostID=1794411</wfw:commentRss><description>&lt;p&gt;Since the &amp;#39;Show All Files&amp;#39; icon button is disabled is there a way to hide the files &amp;#39;Exclude(d) from Project&amp;#39;?&lt;/p&gt;
&lt;p&gt;Thanks.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Show all files is disabled</title><link>http://forums.asp.net/thread/1728254.aspx</link><pubDate>Mon, 28 May 2007 10:13:12 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1728254</guid><dc:creator>cgreeno@gmail.com</dc:creator><author>cgreeno@gmail.com</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1728254.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1012&amp;PostID=1728254</wfw:commentRss><description>&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;I don’t have the option to select&amp;nbsp;an asp net application. Is it under the templates section or under the main projects... Also I am using VS team addition.... What Version of VS are you using… &lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Show all files is disabled</title><link>http://forums.asp.net/thread/1728123.aspx</link><pubDate>Mon, 28 May 2007 08:48:19 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1728123</guid><dc:creator>Selecters</dc:creator><author>Selecters</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1728123.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1012&amp;PostID=1728123</wfw:commentRss><description>&lt;p&gt;sorry, double post&lt;/p&gt;</description></item><item><title>Re: Show all files is disabled</title><link>http://forums.asp.net/thread/1728122.aspx</link><pubDate>Mon, 28 May 2007 08:47:23 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1728122</guid><dc:creator>Selecters</dc:creator><author>Selecters</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1728122.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1012&amp;PostID=1728122</wfw:commentRss><description>&lt;p&gt;My first post on this forum :)&lt;/p&gt;
&lt;p&gt;I had the same problem, but I found why this could happen (for me at least).&lt;/p&gt;
&lt;p&gt;In VS2005, if you choose File &amp;gt; new &amp;gt; new website. The result will be a project with a website on it, BUT you will not see the designer files.&lt;/p&gt;
&lt;p&gt;BUT, if you use File &amp;gt; new &amp;gt; project &amp;gt; asp net web application ... The result will be a project with a website on it, BUT in this case you will see the designer files.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Show all files is disabled</title><link>http://forums.asp.net/thread/1718277.aspx</link><pubDate>Mon, 21 May 2007 22:17:41 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1718277</guid><dc:creator>cgreeno@gmail.com</dc:creator><author>cgreeno@gmail.com</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1718277.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1012&amp;PostID=1718277</wfw:commentRss><description>&lt;p&gt;This Link shows a aspx.designer.cs file&lt;/p&gt;
&lt;p&gt;&lt;a href="http://webproject.scottgu.com/CSharp/UnderstandingCodeBehind/UnderstandingCodeBehind.aspx"&gt;http://webproject.scottgu.com/CSharp/UnderstandingCodeBehind/UnderstandingCodeBehind.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There must be a way to see it it cant just be in &lt;font face="Times New Roman" size="3"&gt;memory... how is it being displayed in this solution?&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;Thanks&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Show all files is disabled</title><link>http://forums.asp.net/thread/1257772.aspx</link><pubDate>Fri, 14 Apr 2006 12:56:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1257772</guid><dc:creator>rmelancon</dc:creator><author>rmelancon</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1257772.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1012&amp;PostID=1257772</wfw:commentRss><description>&lt;p&gt;Just FYI I sent a zip file with the offending code.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Robb&lt;/p&gt;</description></item><item><title>Re: Show all files is disabled</title><link>http://forums.asp.net/thread/1257386.aspx</link><pubDate>Thu, 13 Apr 2006 23:52:10 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1257386</guid><dc:creator>mbund</dc:creator><author>mbund</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1257386.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1012&amp;PostID=1257386</wfw:commentRss><description>&lt;p&gt;&lt;font face=Verdana size=2&gt;That would be a bug. Could you create a simple reproducible case and send it to me as a zip file? You can send it to m b u n d @ m i c r o s o f t . c o m&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face=Verdana size=2&gt;Thanks!&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Show all files is disabled</title><link>http://forums.asp.net/thread/1257330.aspx</link><pubDate>Thu, 13 Apr 2006 22:24:18 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1257330</guid><dc:creator>rmelancon</dc:creator><author>rmelancon</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1257330.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1012&amp;PostID=1257330</wfw:commentRss><description>Ok, so the autogenerated code doesn't exist in a file, that is unfortunate but good to know.&amp;nbsp; So how do I&amp;nbsp;go about solving the fact that my controls in the aspx file aren't being generated&amp;nbsp;in the magic hidden code?&amp;nbsp; Is there a way to force the magic code to try again to regenerate itself?&amp;nbsp; I suppose I could just dim them all in the code behind like in 1.1.</description></item><item><title>Re: Show all files is disabled</title><link>http://forums.asp.net/thread/1257211.aspx</link><pubDate>Thu, 13 Apr 2006 20:12:27 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1257211</guid><dc:creator>mbund</dc:creator><author>mbund</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1257211.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1012&amp;PostID=1257211</wfw:commentRss><description>&lt;p&gt;&lt;font face=Verdana size=2&gt;I'm sorry you are having these problems. First off (and this is advice to others) -- always make a backup! It just makes good sense whenever you run a program which will modify the source code of your project.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face=Verdana size=2&gt;In the Web Site Project (WSP, the default web project in VS05 RTM), all control variables are generated in a hidden class which exists in memory. This is possible since in VS05 both C# and VB supports&amp;nbsp;partial classes, and allows us to separate auto-generated code such as control variables from user code -- this is a good thing in general.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face=Verdana size=2&gt;"Show All Files" is grayed out since it is not needed in a WSP -- all files are already shown in the Solution Explorer. Since the hidden class is not a file, it is not shown.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face=Verdana size=2&gt;I do admit it would be nice to see these hidden variables when you are trying to find a troublesome bug or you really want to know what is happening. Unfortunately, there is not an easy way to do it. However, you can trigger a run-time error which will show the temp file created from the hidden class which will allow you to see what is generated.&lt;/font&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;font face=Verdana size=2&gt;Open the code-behind file containing the partial class that you want to see the control variables created for. Let's assume it is Foo.aspx.cs and you have added a Label called "Label1" in Foo.aspx.&lt;/font&gt;&lt;/li&gt;
&lt;li&gt;&lt;font face=Verdana&gt;&lt;font size=2&gt;In the Page_Load(), add some code that will not compile, e.g.&lt;br /&gt;&lt;font face="Courier New"&gt;Label2.Text = "foo"; // this assumes that Label2 does not exist in Foo.aspx&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/li&gt;
&lt;li&gt;&lt;font face=Verdana size=2&gt;The trick now is to run this in IE without validating the page first. By default, when you press F5, VS05 will compile the page to validate it, and if it compiles fine it will run the page in IE. We want to skip the validation step. So instead, just go to the Solution Explorer and bring up the context menu for Foo.aspx and say "View in browser".&lt;/font&gt;&lt;/li&gt;
&lt;li&gt;&lt;font face=Verdana size=2&gt;This will run the page in IE. You will get an error like&lt;br /&gt;&lt;font face="Courier New"&gt;Compilation Error Message CS0103: The name 'Label2' does not exist in this context.&lt;/font&gt;&lt;/font&gt;&lt;/li&gt;
&lt;li&gt;&lt;font face=Verdana size=2&gt;Under this error, you should also see the command "Show Complete Compilation Source"&lt;/font&gt;&lt;/li&gt;
&lt;li&gt;&lt;font face=Verdana size=2&gt;Select this command and you will see the temp file generated from the hidden class. You will find a line like this:&lt;br /&gt;&lt;font face="Courier New"&gt;protected global::System.Web.UI.WebControls.Label Label1;&lt;/font&gt;&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&lt;font face=Verdana size=2&gt;HTH!&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Show all files is disabled</title><link>http://forums.asp.net/thread/1257159.aspx</link><pubDate>Thu, 13 Apr 2006 19:09:26 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1257159</guid><dc:creator>rmelancon</dc:creator><author>rmelancon</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1257159.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1012&amp;PostID=1257159</wfw:commentRss><description>&lt;p&gt;Why is the show all files button disabled in the solution for my Web project?&lt;/p&gt;
&lt;p&gt;I attempted a conversion of a 1.1 site that the converter destroyed so now I am trying to piece things back together.&amp;nbsp; One thing is that all of my form objects are undefined in the codebehind (now codeFile).&amp;nbsp; So if I have a text box called Text1 I get an error "Text1 is undefined" in the codeFile.&amp;nbsp; I really&amp;nbsp;HATE when things are generated behind the scenes and hidden from me and this is a primary reason.&amp;nbsp; At least in 1.1 it showed you all the crap it generated for you.&amp;nbsp; How the hell am I supposed to know what's gone wrong when the compiler is generating stuff that I can't see nor get to?&amp;nbsp; In searching for an answer I see all these refereces to the "Show All Files" option on the project/solution menu.&amp;nbsp; Well the button for "Show All Files" is disabled on all my projects so what now?&lt;/p&gt;
&lt;p&gt;Thanks, and sorry I'm just a little aggravated at the moment.&lt;/p&gt;
&lt;p&gt;Robb&lt;/p&gt;</description></item></channel></rss>