예제 #1
0
        public object Execute(IRepl repl, object[] args)
        {
            if (PlatformID != PlatformID.Win32NT)
            {
                _console.WriteLine("Requires Windows 8 or later to run");
                return(null);
            }
            var fs       = repl.FileSystem;
            var launcher = _writer.WriteSolution(fs, (string)args[0], new VisualStudioSolution());

            _console.WriteLine("Opening Visual Studio");
            LaunchSolution(launcher);
            return(null);
        }