Reputation: 1310
I have a website project and it was all working fine until I updated my OS to Win8.1 this morning. This also included VS2013 which I used earlier as well but on Win 7. I had to configure the IIS Express to use proper authentication settings and allow parts of config file. That out the way, I fired up a website project and it had lost its baseUrl property ie. everything crashed. We have to use baseUrl as we use it in production sites like www.xyz.com/myApps/Calculator & www.xyz.com/myApps/RaiseABug etc.
Since, the project does not run in VS2013 at all... I did a bit of research and found this :
http://connect.microsoft.com/VisualStudio/feedback/details/793989
and
http://forums.asp.net/t/1978467.aspx?Can+t+change+URL+for+ASP+NET+website
but none of them really answer the question. And the workaround in my first link doesn't work. The option to set the baseUrl is greyed out and changing it in the solution file doesn't get affected.
So, may I take this opportunity to ask you.. HOW DO I CHANGE THE BASE-URL and GET IT TO WORK WITH IIS-EXPRESS
This image shows what I get when I try to edit the url from the VS2013 front-end.
Upvotes: 0
Views: 4102
Reputation: 6814
To specify the remote Web server for a Web site project
In Solution Explorer, right-click the name of the Web site project for which you want to specify a Web server, and then click Property Pages.
In the Property Pages dialog box, click the Start Options tab.
Under Server, click Use custom server.
In the Base URL box, type the URL that Visual Studio should start when it runs the current project.
http://msdn.microsoft.com/en-us/library/vstudio/ms178108(v=vs.100).aspx
If that option is unavailable, check this article
Upvotes: 2