Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Commit

Permalink
Fix null ref when writing assembly to runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfowl committed Dec 4, 2014
1 parent b76457e commit 1eec12b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Microsoft.Framework.DesignTimeHost/ApplicationContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -429,8 +429,8 @@ private bool DoStageTwo()
project.Outputs = new OutputsMessage
{
FrameworkData = project.Sources.Framework,
AssemblyBytes = compilation.AssemblyBytes,
PdbBytes = compilation.PdbBytes,
AssemblyBytes = compilation.AssemblyBytes ?? new byte[0],
PdbBytes = compilation.PdbBytes ?? new byte[0],
AssemblyPath = compilation.AssemblyPath,
EmbeddedReferences = compilation.EmbeddedReferences
};
Expand Down

0 comments on commit 1eec12b

Please sign in to comment.