[mtouch] Make sure output directory exists.

This commit is contained in:
Rolf Bjarne Kvinge 2017-01-25 17:35:18 +01:00
Родитель dc70a0e254
Коммит da0a7ffdd3
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -490,6 +490,8 @@ namespace Xamarin.Bundler
if (!string.IsNullOrEmpty (Language))
CompilerFlags.AddOtherFlag ($"-x {Language}");
Directory.CreateDirectory (Path.GetDirectoryName (OutputFile));
var rv = Driver.RunCommand (App.CompilerPath, CompilerFlags.ToString (), null, null);
return rv;