Angel02
asked on
ASP.NET 2.0 web application linked to Live webserver
I had to make changes to a project build using Visual Studio 2003. It was hosted on a Live webserver from where I copied it. I pasted it on my local machine on the same network. I had to put in under C:\inetpub\wwwroot\myproje ct to get it to open. I checked the path on the references and they pointed to the Live webserver \\Livewebserver\wwwroot$\m yproject. I ignored it.
When I compiled the project on my machine, the dlls got updated in the \bin on Live webserver. The dlls on my machine at C:\inetpub\wwwroot\myproje ct\bin remained the same. Gladly I did not make any change!
What is happening here? I don't want the Live dlls to effect when I compile on my local machine. How can I create version independent of Live webserver to use for development purpose. Please advise.
When I compiled the project on my machine, the dlls got updated in the \bin on Live webserver. The dlls on my machine at C:\inetpub\wwwroot\myproje
What is happening here? I don't want the Live dlls to effect when I compile on my local machine. How can I create version independent of Live webserver to use for development purpose. Please advise.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
@becraig
I opened .sln in notepad. Below is how it looks. Should I change 'LiveWebserver' in "http://LiveWebserver:/myproject/myProject.vbproj" to 'localhost'?
I want to make sure it would not change on the Live server. Please advise.
Microsoft Visual Studio Solution File, Format Version 8.00
Project("{F184B08F-C81C-45 F6-A57F-5A BD9991F28F }") = "myProject", "http://LiveWebserver:/myproject/myProject.vbproj", "{CFC17A85-D26E-4270-8B72- 4473827B07 B7}"
ProjectSection(ProjectDepe ndencies) = postProject
EndProjectSection
EndProject
Global
GlobalSection(SolutionConf iguration) = preSolution
Debug = Debug
Release = Release
EndGlobalSection
GlobalSection(ProjectConfi guration) = postSolution
{CFC17A85-D26E-4270-8B72-4 473827B07B 7}.Debug.A ctiveCfg = Debug|.NET
{CFC17A85-D26E-4270-8B72-4 473827B07B 7}.Debug.B uild.0 = Debug|.NET
{CFC17A85-D26E-4270-8B72-4 473827B07B 7}.Release .ActiveCfg = Release|.NET
{CFC17A85-D26E-4270-8B72-4 473827B07B 7}.Release .Build.0 = Release|.NET
EndGlobalSection
GlobalSection(Extensibilit yGlobals) = postSolution
EndGlobalSection
GlobalSection(Extensibilit yAddIns) = postSolution
EndGlobalSection
EndGlobal
I opened .sln in notepad. Below is how it looks. Should I change 'LiveWebserver' in "http://LiveWebserver:/myproject/myProject.vbproj" to 'localhost'?
I want to make sure it would not change on the Live server. Please advise.
Microsoft Visual Studio Solution File, Format Version 8.00
Project("{F184B08F-C81C-45
ProjectSection(ProjectDepe
EndProjectSection
EndProject
Global
GlobalSection(SolutionConf
Debug = Debug
Release = Release
EndGlobalSection
GlobalSection(ProjectConfi
{CFC17A85-D26E-4270-8B72-4
{CFC17A85-D26E-4270-8B72-4
{CFC17A85-D26E-4270-8B72-4
{CFC17A85-D26E-4270-8B72-4
EndGlobalSection
GlobalSection(Extensibilit
EndGlobalSection
GlobalSection(Extensibilit
EndGlobalSection
EndGlobal
http://blogs.msdn.com/b/br
No need to edit the file in a notepad.