コード例 #1
0
		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);
			}
		}