if (fetch_target != null){
var directory = Path.Combine (targets_dir, fetch_target);
var zip_download = Path.Combine (directory, "sdk.zip");
- Directory.CreateDirectory (Path.GetDirectoryName (directory));
+ Directory.CreateDirectory (directory);
var wc = new WebClient ();
var uri = new Uri ($"{target_server}{fetch_target}");
try {
}
}
- if (error)
+ if (error) {
+ Error ("Couldn't load one or more of the assemblies.");
Environment.Exit (1);
-
+ }
+
return assemblies;
}
}
}
- if (error)
+ if (error) {
+ Error ("Couldn't load one or more of the i18n assemblies.");
Environment.Exit (1);
+ }
}