visual studio – convert default vsc theme to vs


Today I tried to convert some VSC themes for VS with theme-converter-for-vs and everything worked ok, but when I tried to convert one of the default ( built in ) themes, it gives exception:

System.NullReferenceException: Object reference not set to an instance of an object.
   at ThemeConverter.Converter.GroupColorsByCategory(ThemeFileContract theme) in C:\Users\bobkata75\Desktop\theme-converter-for-vs\ThemeConverter\ThemeConverter\Converter.cs:line 214
   at ThemeConverter.Converter.ConvertFile(String themeJsonFilePath, String pkgdefOutputPath) in C:\Users\bobkata75\Desktop\theme-converter-for-vs\ThemeConverter\ThemeConverter\Converter.cs:line 68
   at ThemeConverter.Program.Convert(String sourcePath, String pkgdefOutputPath, String deployInstall) in C:\Users\bobkata75\Desktop\theme-converter-for-vs\ThemeConverter\ThemeConverter\Program.cs:line 100
   at ThemeConverter.Program.Main(String[] args) in C:\Users\bobkata75\Desktop\theme-converter-for-vs\ThemeConverter\ThemeConverter\Program.cs:line 62

Leave a Reply

Your email address will not be published. Required fields are marked *