Skip to content

Commit

Permalink
likely cause... so might as well log.
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenkopp committed Jan 7, 2014
1 parent 26bfa8f commit 2c28000
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SassyStudio.2012/InteropHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 2c28000

Please sign in to comment.