Question

On final stage of bundling my files, on a View page i have this:

@Styles.Render("~/bundles/app")

if look in browser f12 - i see this

<link href="/bundles/app?v=msuiGrpPHwW0spb2jAusEby6pbx1AF86dWvqCB0GeVU1" rel="stylesheet"/>

but it says "404 Not Found" in other hand , if i go localhost:8384/bundles/app?v=msuiGrpPHwW0spb2jAusEby6pbx1AF86dWvqCB0GeVU1 i see well-optimized css file which i actually wanted. Why is this happening and how do i use this file in my css\html?

Was it helpful?

Solution

So , problem was with extension : i had to add extension .css to file when creating bundle and on Render moment

app.css

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top