コード例 #1
0
        public static void Main(string[] args)
        {
            //VSO Alternate Authentication Credential https://www.visualstudio.com/integrate/get-started/auth/overview
            string _userName = ConfigurationManager.AppSettings["user"];
            string _password = ConfigurationManager.AppSettings["password"];
            string _url = ConfigurationManager.AppSettings["url"];
            vso = new VSOQuery(_url, _userName, _password);

            Task.Run(() => MainAsync()).Wait();
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: nzthiago/CreateVSOProjects
        static void Main(string[] args)
        {

            //Using alternate authentication credential, see app.config.
            //Could also use OAuth https://www.visualstudio.com/integrate/get-started/auth/overview
            string _userName = ConfigurationManager.AppSettings["user"];
            string _password = ConfigurationManager.AppSettings["password"];
            string _url = ConfigurationManager.AppSettings["url"];
            vso = new VSOQuery(_url, _userName, _password);
            
            Console.WriteLine("Creating the projects");

            Task.Run(() => MainAsync()).Wait();

            Console.WriteLine("All done! Press any key to continue...");
            Console.ReadKey();
        }