
After I used the designer to set the Document lanaguage, I get this error message every time I open my form in designer mode:
An encryption key greater than zero must be specified for secured languages.
To fix this, I have to manually edit the .designer.cs file and change this line:
this.dynamicSyntaxLanguage1 = new ActiproSoftware.SyntaxEditor.Addons.Dynamic.DynamicSyntaxLanguage(this.components);
to:
this.dynamicSyntaxLanguage1 = new ActiproSoftware.SyntaxEditor.Addons.Dynamic.DynamicSyntaxLanguage("VBscript", false);
I have to do this every time I make a change to the syntax editor control and it is very annoying.
How can I solve this?
An encryption key greater than zero must be specified for secured languages.
To fix this, I have to manually edit the .designer.cs file and change this line:
this.dynamicSyntaxLanguage1 = new ActiproSoftware.SyntaxEditor.Addons.Dynamic.DynamicSyntaxLanguage(this.components);
to:
this.dynamicSyntaxLanguage1 = new ActiproSoftware.SyntaxEditor.Addons.Dynamic.DynamicSyntaxLanguage("VBscript", false);
I have to do this every time I make a change to the syntax editor control and it is very annoying.
How can I solve this?