issue in copying files from websites folder to some other location
-
hi gents, In ASP.NET solution file is in Projects folder and project files are in Websites folder. I wanna to put both in the same folder in another location.. I have copied the files from projects folder to the websites folder and its working but when i move the files to some other location its giving error "One or more files cannot be loaded...." Please help me to find a solution for this Thanks in advance Regards
Ahamed Azeem software Programmer
-
hi gents, In ASP.NET solution file is in Projects folder and project files are in Websites folder. I wanna to put both in the same folder in another location.. I have copied the files from projects folder to the websites folder and its working but when i move the files to some other location its giving error "One or more files cannot be loaded...." Please help me to find a solution for this Thanks in advance Regards
Ahamed Azeem software Programmer
-
Can you please elaborate your question.
Please don't forget to mark 'Good Answer', if you find it really a good one! Kashif
Thanks a lot for your reply I created a new website. The files are inside the visualstudio2005\projects\website1 and visualstudio2005\websites\website1 I have copied the files(.sln and .suo) in visualstudio2005\projects\website1\ to the visualstudio2005\websites\website1\ and then open the project. Its working fine. But if i copy the website1 folder from visualstudio2005\websites\website1\ to c: drive.. i cannot open the project. It is saying one or more files cannot be loaded. If I put inside Websites folder in c drive then its working.. How can i solve this The error showing is
One or more projects in the solution could not be loaded for the following reason(s): The project file or web has been moved, renamed or is not on your computer These projects will be labelled as unavailable in solution explorer, Expand the project node to show the reason the project could not be loaded.
Hope you understand Thanks and RegardsAhamed Azeem software Programmer
-
Thanks a lot for your reply I created a new website. The files are inside the visualstudio2005\projects\website1 and visualstudio2005\websites\website1 I have copied the files(.sln and .suo) in visualstudio2005\projects\website1\ to the visualstudio2005\websites\website1\ and then open the project. Its working fine. But if i copy the website1 folder from visualstudio2005\websites\website1\ to c: drive.. i cannot open the project. It is saying one or more files cannot be loaded. If I put inside Websites folder in c drive then its working.. How can i solve this The error showing is
One or more projects in the solution could not be loaded for the following reason(s): The project file or web has been moved, renamed or is not on your computer These projects will be labelled as unavailable in solution explorer, Expand the project node to show the reason the project could not be loaded.
Hope you understand Thanks and RegardsAhamed Azeem software Programmer
Open the Solution(which eventually an XML file) in Notepad or any XML editor and modify with the relative path in the project section. For example : Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "MyProject", "MyProject\MyProject.vbproj", "{4A2C4FC2-3D9B-4911-B5CC-3147EC7E8D6C}" EndProject Modify the section in bold. .NET IDE loads the project based on the project file path mentioned in project section. For multiple projects there should be more than one project block. :-D
Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript