Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Bundling is not working after deploying to virtual directory

$
0
0

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 >


Viewing all articles
Browse latest Browse all 9386

Trending Articles



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