Compile the add-ins solution and then deploy the TagScripts.dll in the following folders:
•The bin folder from which you run srv4, typically C:\TERA\GN4\BIN or C:\TERA\GN4\BIN64
•The Web bin folder, typically C:\TERA\GN4\WEB\GNPORTAL\BIN.
•The i4 bin folder, typically C:\TERA\GN4\WEB\i4\BIN.
Re-deploy the TagScript.dll file after each compilation that affected it.
You need to copy the TagScripts.dll file BEFORE updating system with the new schema.