From 2c2800007be56c32cba2c8d9f2caf4bd9f7a6a52 Mon Sep 17 00:00:00 2001 From: Darren Kopp Date: Mon, 6 Jan 2014 20:56:20 -0700 Subject: [PATCH] likely cause... so might as well log. --- SassyStudio.2012/InteropHelper.cs | 3 +++ 1 file changed, 3 insertions(+) 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) {