CSS region not working in Visual Studio 2012
问题 I have the following in my css file but css region doesn't work. There's no collapse or expand icon to click on. But the C# region is working, just css region isn't. /*#region shared styles */ .blah { background-color: red; } .foo { line-height: 1.2em; } /*endregion */ 回答1: Your missing the '#' between the '*' and 'endregion' try /*#region shared styles */ .blah { background-color: red; } .foo { line-height: 1.2em; } /*#endregion */ 回答2: Not sure why, but after doing this, it works now: type