Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Virtual path not available in Visual studio 2015

$
0
0
Hi,

I have a website working fine in Visual Studio 2010 where a virtual path is configured to a folder
Now I am trying to debug the same piece of code(website) using Visual Studio 2015. While running from my development system , the url is coming as http://localhost:6815/ , but it should come as http://localhost:6815/appfolder. Since the "appfolder" is not coming , HttpRequest.Applicationpath is coming as / but I need it to come as /appfolder and because of this my js files are not working as expected.

I tried to add the virtual directory in the .vs application host config file in the solution folder but it did not help.

Pls suggest how to resolve .

Thanks,
kd

Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>