Unknown css class when using a cdn


I am using bootstrap from a CDN and as a result Resharper is unable to find most of my css classes. I get a blue squiggle with the error, "Unknown css class".  How do I tell resharper about the cdn so that it can download the resources and I don't have to include them in my project just for resharper.

1 comment

Hello! The same problem is described here on our bug tracker. Please comment or vote for the issue to get notifications about status changes.

A workaround is the following: disable the "Unknown CSS class" option in "ReSharper | Options | Code Inspection | Inspection Severity | CSS | Potential Code Quality Issues".

Justin, I remember that you contacted us about this problem earlier, I just decided to duplicate the link to the ticket here. Sorry for the inconvenience.


Please sign in to leave a comment.