BrijBhasin
asked on
move project folder in Visual Studio.NEt
Hi,
I moved my VS.NET project(CVCWeb) files folder from 'c:\Inetpub\wwwroot\CVCWeb ' to 'c:\Intepub\wwwroot' so that I could view the project by just typing localhost. But now I can't open the project in VS.NET as the VS project file is looking for the folder called cvcweb. how do I change it so that the project opens up using the files that now reside in the wwwrooot folder???
I moved my VS.NET project(CVCWeb) files folder from 'c:\Inetpub\wwwroot\CVCWeb
no move it back to cvcweb and then create a index.html or default.html in the c:\inetpub\wwwroot
and
<html>
<script language="JavaScript">
location.href = "cvcweb\\default.aspx"
</script>
</html>
and
<html>
<script language="JavaScript">
location.href = "cvcweb\\default.aspx"
</script>
</html>
Try this one:
Suppose your project file is XXX.proj
Open file XXX.proj.webinfo
Change URLPath from http://localhost/XXX/XXX.proj to
http://localhost/XXX.proj
Suppose your project file is XXX.proj
Open file XXX.proj.webinfo
Change URLPath from http://localhost/XXX/XXX.proj to
http://localhost/XXX.proj
to change default pages in IIS
* Start "Internet Information Services Manager" and double click on the "WWW Service"
* Change to the "Directories" tab
* Type a list of pages that should be considered as default pages separated by commas (,) in the "Default Document" input box.
Example: default.htm,default.html,i ndex.html, home.htm
* Start "Internet Information Services Manager" and double click on the "WWW Service"
* Change to the "Directories" tab
* Type a list of pages that should be considered as default pages separated by commas (,) in the "Default Document" input box.
Example: default.htm,default.html,i
ASKER
ok guys, here is how I think it can be done and I think it has worked for me.
Open the XXXX.vbproj file and recompile the project. VS will ask you to create a .sln file in the same folder, create the file (overrides the previous file)
then close VS and open the project using teh .sln file and it should open properly.
What do guys think??
Open the XXXX.vbproj file and recompile the project. VS will ask you to create a .sln file in the same folder, create the file (overrides the previous file)
then close VS and open the project using teh .sln file and it should open properly.
What do guys think??
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
alrite Laotz2000 I will award you the points.
--Michael