CssTools icon indicating copy to clipboard operation
CssTools copied to clipboard

Possible issues with VS 2017 version

Open ScottRFrost opened this issue 9 years ago • 4 comments

CSS Tools (apparently) hung in VS 2017. I was able to type other places in my HTML documents but not in my inline

When trying to uninstall it and reinstall it, it hung on uninstall: image

Not sure what logs / etc I can provide to help. Please advise.

ScottRFrost avatar Mar 14 '17 20:03 ScottRFrost

The ability to convert images directly from css files into base64 has disappeared. For me very much used functionality. Thanks for any repairs.

siberit avatar Apr 28 '17 06:04 siberit

@siberit This is a known issue. Please see the post below by the package creator:

They were implemented as Smart Tags and that API was deprecated in VS2017. Instead, Light Bulbs should be used and I just need to convert the Smart Tags implementation to Light Bulbs. It's not that simple but it is coming as soon as I get to it

  • @madskristensen

TheBrambleShark avatar May 29 '17 21:05 TheBrambleShark

Hello @madskristensen, I can confirm the issue with Visual Studio 2017 15.5 and CSS Tools of October 2017. When I try to edit a "style" attribute of a div (in a .cshtml) Visual Studio IDE crashes. Always. Checking the Activities.log I can find this kind of errors:

System.MissingMethodEcception: method not found "Microsoft.CSS.Core.Utilities.SortedRangeList<...." at CssTools.EmbeddedImageClassifier.UpdateDeclarationCache(ParseItem item) in C:\projects\csstols\src\Classify\EmebeddedImageClassifier.cs: line 64

Disabling the extension in Visual Studio allows me to edit the tag, and the VS2017 IDE does not crash any more.

Thanx V.

zazza1973 avatar Dec 19 '17 10:12 zazza1973

Same Problem here using 15.7.3. This seems not limited to style attribute. It also crashes e.g. on <style> tags. After disabling the CssTools extensions, everything works fine.

weber-d avatar Jun 21 '18 09:06 weber-d