Iustinian Olaru
Iustinian Olaru

Reputation: 1337

Visual studio 2015 can't find fonts at location

I'm having a weird issue with VS2015 after installing the WebCompiler for SASS.

Before installing the WebCompiler I had several css files . After installing the compile I converted those files in scss files manually. Somewhere along the way Visual Studio stopped finding my woff files although all the font-face's are pointing at the correct location.

My solution files are as follows:

enter image description here

And my font-face's look like this :

@font-face { font-family: LatoBlack; src: url('../fonts/Lato-Black.woff'); }

Although intelisense is telling me that the url is the correct one and there is a file called Lato-Black.woff , when I run the application i get a 404 error.

Upvotes: 0

Views: 494

Answers (1)

user3316920
user3316920

Reputation:

It is probably the solution not including the files automatically.

Here is an old thread telling how to auto include files in Visual Studio:

Is there a way to automatically include content files into asp.net project file?

Upvotes: 0

Related Questions