Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CSS file not opening in Visual Studio 2010 SP1?

People also ask

How do I open CSS files in Visual Studio?

In the Name box, type Layout. css, and then click Add. The editor opens with a new style sheet that contains an empty body style rule.

Where can I open a CSS file?

How to open a CSS file. You can open and edit CSS files with various web development applications and source code editors. Examples of programs that support CSS files include Adobe Dreamweaver (Windows and macOS), Adobe ColdFusion Builder (Windows and macOS), and Microsoft Visual Studio Code (multiplatform).


I found the solution from here:

I was having the same issue and found that by going to the Tools -> Extension Manager -> Online Gallery and search for/install the "Web Standards Update for Microsoft Visual Studio 2010 sp1" I was able to open CSS files again.

And it worked for me.


Probably it can happen after installing the Visual Studio LightSwitch beta

OR

Windows Azure tools installed

OR

SQL Server 2012 installed

Download this and install it if already installed then repair it and it'll fix the issue:

http://visualstudiogallery.msdn.microsoft.com/a15c3ce9-f58f-42b7-8668-53f6cdc2cd83