Solved

asp.net mvc how do I change my root directory

Posted on 2010-09-23
3
585 Views
Last Modified: 2013-11-08
I have a site working in visual studio.  I want to test it on my webserver.  I can deploy to mydomain.com/test, but my application is set up to work with mydomain.com.  Is there an easy way to change the root in my mvc project to be down one level?
0
Comment
Question by:jackjohnson44
  • 2
3 Comments
 
LVL 30

Accepted Solution

by:
Brad Howe earned 500 total points
ID: 33746524
Hi,
Could you not simply just change the WEB properties Virtual Path location from / to /test and then deploy?
I just removed VS2010 last month so I cannot confirm.
-Hades666
0
 

Author Comment

by:jackjohnson44
ID: 33746707
Thanks, how?
0
 
LVL 30

Expert Comment

by:Brad Howe
ID: 33746790
Should be something like right click on your Project, Click Properties and then the WEB tab. - Hades666
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently I spent hours debugging an issue in a Rails project where ActiveRecord was causing MySQL errors trying to create a User object of a class at the top level of a Single Table Inheritance model structure.  It turns out `.create` behaves differ…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now