Fixed project updates.

This commit is contained in:
David Fowler 2014-01-26 02:52:30 -08:00
parent 513295e19c
commit e5fb47158b
1 changed files with 10 additions and 1 deletions

View File

@ -266,7 +266,16 @@ functions
}
string output = Path.Combine(projectDir, GetProjectFileName(projectName, targetFramework));
string current = File.ReadAllText(output);
string current = "";
try
{
current = File.Exists(output) ? File.ReadAllText(output) : "";
}
catch (Exception ex)
{
Warn(ex.Message);
}
if (current != template)
{