This project is read-only.

T4 Toolbox settings are not loaded/saved properly


Using the current version of T4 Toolbox, the setting are listed in Tools | Options | T4 Toolbox, and appear to be stored in the Registry under

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\T4 Toolbox

However when you disable all the options, even though they can be seen as set to 'false' in the Registry, the extension seems to ignore the saved values and is showing the settings as being set to 'true'.



In short, trying to disable settings permanently isn't working, and I suspect this is why I can't get the formatting for Tangible to work because Toolbox is overriding it.

file attachments


KorsG wrote Sep 9, 2013 at 1:45 PM

Just writing to let you know I have exactly the same problem.
Confirmed on 3 different machines.

wrote Sep 9, 2013 at 1:46 PM

KeesDijk wrote Apr 30, 2014 at 1:59 PM

Just writing to let you know I have kind of the same problem. I also see that the options are changed in the registry but when reopening visual studio and the t4 toolbox options they all show the setting as true.

This setting does interfere somehow with tangible t4 syntax highlighting.

I don't have all the info but it looks to me that in the t4ToolboxOptions page a call to LoadSettingsFromStorageIsMissing or the initialization of localOptions should be changed to:

private readonly T4ToolboxOptions localOptions = T4ToolboxOptions.Instance;

instead of

private readonly T4ToolboxOptions localOptions = new T4ToolboxOptions();