B
Bennett Haselton
When you create a C# Web Application project, you have to specify at
project creation time the URL you want to publish the project to. Is
there any way in the IDE to change the server that the project is
published to at build time?
You can go into Project properties -> Common Properties -> Web
Settings and under "Web Server Information" it shows the name of the
Web server -- but it's greyed out so that you can't edit it. Is that
intentional for some reason?
I tried to see if there was some local file that I could edit to
change the server that the project is Web-published to, but the
hostname seemed to be stored in several different files, including
binary files, that it didn't seem to be as simple as changing a single
line in a configuration file.
What I'd like to be able to do is make some changes to a project and
deploy it to an incremental server, and do a quick test pass on that
server to make sure everything is working correctly, before deploying
to a live site. Is there no elegant way to do that in Visual Studio
..Net?
-Bennett
project creation time the URL you want to publish the project to. Is
there any way in the IDE to change the server that the project is
published to at build time?
You can go into Project properties -> Common Properties -> Web
Settings and under "Web Server Information" it shows the name of the
Web server -- but it's greyed out so that you can't edit it. Is that
intentional for some reason?
I tried to see if there was some local file that I could edit to
change the server that the project is Web-published to, but the
hostname seemed to be stored in several different files, including
binary files, that it didn't seem to be as simple as changing a single
line in a configuration file.
What I'd like to be able to do is make some changes to a project and
deploy it to an incremental server, and do a quick test pass on that
server to make sure everything is working correctly, before deploying
to a live site. Is there no elegant way to do that in Visual Studio
..Net?
-Bennett