T
T
Turtle_Onni2015-11-08 09:48:37
css
Turtle_Onni, 2015-11-08 09:48:37

Styles and scripts are not loaded on the hosting, why?

Hello!
I'm building an asp.net mvc project in visual studio, the paths on the page are written normally. As soon as I transfer to hosting, the paths do not look correct.
I add it to .cshtml in the form:
@Styles.Render("~/Content/css")
in head
The path gives out in the form:

<link href="/Content/css/app.css" rel="stylesheet">

I collect publish and upload it to hosting. The path looks like:
<link href="/Content/css?v=efkqrQHSmKSqzPpIbzLaQYLejG0d-57gLoEjaOUGoGo1" rel="stylesheet">

What is the problem? Missing some attribute/property/setting?
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nash, 2015-11-08
@mrTyler

Cyrillic is not found anywhere along the way? MB some character in the Russian layout typed?

A
amf1k, 2015-11-08
@amf1k

Look maybe in the build settings (release), maybe there is something there

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question