diff --git a/SassyStudio.2012/InteropHelper.cs b/SassyStudio.2012/InteropHelper.cs index 3766a12..509b4d1 100644 --- a/SassyStudio.2012/InteropHelper.cs +++ b/SassyStudio.2012/InteropHelper.cs @@ -43,6 +43,9 @@ internal static void AddNestedFile(DTE2 dte, string parent, string child, BuildA return; // add the child item and save project + if (parentItem.ProjectItems == null) + Logger.Log("ProjectItems is null. Bad news is about to happen."); + childItem = parentItem.ProjectItems.AddFromFile(child); if (childItem != null) {