We are using bundling concept. While running application locally in release mode it is working fine, but after deploying to server on to virtual directory all my CSS and Jquery files are not loading. When we are looking at view source, below is our observation.
Local:
CSS
<link href=”/content/bootstrap?v=xxxxxxxxxxxxx” ></ link >
Jquery
<Script src=”/bundles/juery?v=xxxxxxxxxxxxx” >< /Script >
Server with in Virtual Directory :
CSS
<link href=”/VirtualDirectoryName/content/bootstrap?v=xxxxxxxxxxxxx” ></ link >
Jquery
<Script src=”/VirtualDirectoryName /bundles/juery?v=xxxxxxxxxxxxx” >< /Script >