public ProjectsSynchronizer (ApplicationArguments args)
		{
			this.args = args;

			_xamarinProjectPath = Path.GetDirectoryName (args.XamarinProjectPath);
			_projectName = Path.GetFileNameWithoutExtension (args.XamarinProjectPath);
		}
Пример #2
0
		public async Task RunAsync (ApplicationArguments args)
		{
			try {
				var projectsSynchronizer = new ProjectsSynchronizer (args);
				await projectsSynchronizer.MakeResourcesSubdirectoriesAndFilesLowercase (async () => {
					System.Console.WriteLine ("Permissions to change original project has been requested and granted.");
					return true;
				});
				projectsSynchronizer.Sync ();
			} catch (Exception e) {
				System.Console.WriteLine(e.Message);
			}
		}