cssFile does not work with NS 3.1+

import application = require("application");
application.cssFile = 'styles/app.css';

I am doing a tutorial by Alex Ziskind on pluralsight but I cannot get around this error. “cssFile” appears to be removed from 3.1+. This tutorial was made with NS 2.5. I am trying to find a work around for this but no luck thus far. Can someone point me in the right direction?


It’s a method now instead of a property - setCssFileName


Thank you for your response.