Monday, March 26, 2012

Newbie confusion with MS .net IDE

I was hoping someone could help me with some things I'm finding rather confusing. I recently migrated from command-line c# development to using Visual Studio .net.

1) The IDE seems to use HTTP to access the files in my project, but when one attempts to add an existing file to a project it uses standard file io. Thus, one is required to have both types of connectivity to a directory where one is doing work, which from my perspective kind of obviates the whole point of the HTTP requirement in the first place. How can I turn this HTTP functionality off? Any logic I can think of that supports the case for HTTP was dashed in the bit bucket when I came across the standard file io requirement for adding existing files. Any light that one could shed on this issue would be great.

2) When I moved a directory containing a project and its associated files from one web server to another, and then opened up the project, all the .cs files associated with my .aspx (these are all in the same directory as the project) disappeared. Why? This is very confusing and really annoying.

Does anyone have any idea how I can go back to the old IDE that I'm used to, or make the new one behave in the ways that I'm accustomed to?I don't know about your first question, but for the second one... try this...

There is an icon in the 'solution explorer' view in VS.net that will show all files in the project. (I had the same thing happen when moving a project, and this made the hidded code behind files visible. For some reason, VS.net did not want to show all the files by default after the move.)

- Jigster

0 comments:

Post a Comment