diff options
Diffstat (limited to 'src/qtvstools/QtMsBuildConverter.cs')
-rw-r--r-- | src/qtvstools/QtMsBuildConverter.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/qtvstools/QtMsBuildConverter.cs b/src/qtvstools/QtMsBuildConverter.cs index f161facb..24cb3661 100644 --- a/src/qtvstools/QtMsBuildConverter.cs +++ b/src/qtvstools/QtMsBuildConverter.cs @@ -97,8 +97,13 @@ namespace QtVsTools if (waitDialog.Canceled) break; } - if (!ConvertProject(projectPath)) - return false; + if (!ConvertProject(projectPath)) { + if (waitDialog != null) + waitDialog.Stop(); + Vsix.Instance.Dte.Solution.Open(solutionPath); + return ErrorMessage(string.Format(SR.GetString("ErrorConvertingProject"), + Path.GetFileName(projectPath))); + } ++projCount; } |