System.NullReferenceException in FilterModulesBasedOnRole

Topics: CAB & Smart Client Software Factory
Jun 4, 2007 at 4:37 PM
This is just to save anyone who happens to run across this a few hours of banging his or her head against a wall. When publishing a SCSF solution using the ManifestManagerUtility, uncheck the Data File checkbox for ProfileCatalog.xml. If you leave it checked, it installs into a separate data directory and the application can't find it once installed. Therefore, it can't load the modules and generates an exception. If it is unchecked, it installs into the application directory and everything works fine. (It works fine assuming you've already rebuilt CAB and the SCSF Extensions using ObjectBuilder v1.0.51206.0, which were the first pains of deployment.) Hope this helps someone...