Does Resharper support code analysis for css files from CDN? (avoid unkown css class warning)

439 Views Asked by At

Is there a way to make R# code analysis work when using an external css file?

e.g if i include the following:

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css">

Resharper does not recognize the classes from the css.

Therefore I Resharper complains with the blue squiggly line complaing about "unkwon css class" for all class from the remote cdn.

enter image description here

I know that I could add a copy of the file to my project.

However is this really the only way?

0

There are 0 best solutions below