Maintenance
Upgrading to V8
V8 Scripts
3 min
net core is architected quite differently and is split up into more dll's so some functions that were previously in the core system dll and now is another dll from example, this script works in v7 using system; using system web; using innovation activate; class script scriptbase { public void main() { trace writeline(system web httputility htmlencode("hello world")); } } in v8 the following error occurs when the script is complied (9,19) error cs1069 the type name 'httputility' could not be found in the namespace 'system web' this type has been forwarded to assembly 'system web httputility, version=6 0 0 0, culture=neutral, publickeytoken=cc7b13ffcd2ddd51' consider adding a reference to that assembly this is because the httputility classes have been moved this is very simple to fix by adding a reference to system web utility at the top of the file //@import system web utility so the final script becomes //@import system web utility using system; using system web; using innovation activate; class script scriptbase { public void main() { trace writeline(system web httputility htmlencode("hello world")); } } these issues can easily be found using a verify within activate administrator the following are some examples of changes that are required true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type