Last post Apr 18, 2012 08:55 PM by Mikee1504
Apr 18, 2012 05:48 PM|peggy_girl|LINK
I have a C# web form 2010 application that I obtained from a contract shop that wrote this application for my small company. it is now my job to support this application. I can get the application to execute from my visual studio.net 2010 professional
ide. However my problem is the project file that contains the 'web' component is unavailable to me? i know the files are there since I can see the code through windows explorer.
Thus can you tell me what I need to do so I can open the 'unavailable' files in the visual studio.net 2010 ide?
Apr 18, 2012 05:59 PM|pierrefrc|LINK
Do you know how what language is your code? This language is installed in you VS 2010 IDE?
Apr 18, 2012 06:26 PM|peggy_girl|LINK
the language is C#.net 2010
Apr 18, 2012 06:29 PM|pierrefrc|LINK
Have paste an image of VS with your problem?
Apr 18, 2012 06:55 PM|markfitzme|LINK
It could be that the project is looking for the files in a different location, such as a url like
http://localhost/devsite or something.
You can just add the web files again. Does the web directory have a project file? If it doesn't, it could be a website project. You can then just add an existing website project to your solution and point to the directory with the web files in it. If it's
a web application project you just add it to the solution as if it was an ordinary project.
Apr 18, 2012 08:36 PM|peggy_girl|LINK
How do you tell if the project is looking for a file in a different location?
Apr 18, 2012 08:43 PM|pierrefrc|LINK
In this link have a any kind of templates:
The web project is configured to virtual directory in IIS, then your code should in the directory mappead in IIS or your project is FileSystem where your code is in directory.
Apr 18, 2012 08:55 PM|Mikee1504|LINK
If I understand correctly you can see the files in Windows Explorer but not in the Solution Explorer.
It is possible that the folders containing the content you want are set to not be included in the project.
IF this is the case then do the following...
At the top of Solution Explorer there is a button that when hovered over displays the tooltip "Show all files" click this and if the folder appears but is white rather than yellow then this is your problem. Right click on the folder and select "Include in
Project". Problem solved :-)