コード例 #1
0
        public static ProjectInfo CreateProjectInfo(string projectName, string language, string commandLine, string baseDirectory, Workspace workspace = null)
#pragma warning restore RS0026 // Type is forwarded from MS.CA.Workspaces.Desktop.
        {
            var args = CommandLineParser.SplitCommandLineIntoArguments(commandLine, removeHashComments: true);

            return(CreateProjectInfo(projectName, language, args, baseDirectory, workspace));
        }
コード例 #2
0
ファイル: CommandLineProject.cs プロジェクト: belav/roslyn
        public static ProjectInfo CreateProjectInfo(
            string projectName,
            string language,
            string commandLine,
            string baseDirectory,
            Workspace workspace = null
            )
        {
            var args = CommandLineParser.SplitCommandLineIntoArguments(
                commandLine,
                removeHashComments: true
                );

            return(CreateProjectInfo(projectName, language, args, baseDirectory, workspace));
        }