diff options
Diffstat (limited to 'main/src/addins/MonoDevelop.Autotools/MakefileGeneratorTool.cs')
-rw-r--r-- | main/src/addins/MonoDevelop.Autotools/MakefileGeneratorTool.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.Autotools/MakefileGeneratorTool.cs b/main/src/addins/MonoDevelop.Autotools/MakefileGeneratorTool.cs index 8c483aff93..76af27790c 100644 --- a/main/src/addins/MonoDevelop.Autotools/MakefileGeneratorTool.cs +++ b/main/src/addins/MonoDevelop.Autotools/MakefileGeneratorTool.cs @@ -50,7 +50,7 @@ namespace MonoDevelop.Autotools Console.WriteLine (GettextCatalog.GetString ("Loading solution file {0}", filename)); ConsoleProgressMonitor monitor = new ConsoleProgressMonitor (); - Solution solution = Services.ProjectService.ReadWorkspaceItem (monitor, filename) as Solution; + Solution solution = Services.ProjectService.ReadWorkspaceItem (monitor, filename).Result as Solution; if (solution == null) { Console.WriteLine (GettextCatalog.GetString ("Error: Makefile generation supported only for solutions.\n")); return 1; |