CommandLineProject.CreateProjectInfo 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
CreateProjectInfo(String, String, IEnumerable<String>, String, Workspace) |
ProjectInfo创建从编译器命令行参数初始化的结构。 |
CreateProjectInfo(String, String, String, String, Workspace) |
ProjectInfo使用编译器命令行中的数据创建初始化的结构。 |
CreateProjectInfo(String, String, IEnumerable<String>, String, Workspace)
- Source:
- CommandLineProject.cs
- Source:
- CommandLineProject.cs
- Source:
- CommandLineProject.cs
- Source:
- CommandLineProject.cs
- Source:
- CommandLineProject.cs
- Source:
- CommandLineProject.cs
- Source:
- CommandLineProject.cs
- Source:
- CommandLineProject.cs
- Source:
- CommandLineProject.cs
- Source:
- CommandLineProject.cs
- Source:
- CommandLineProject.cs
- Source:
- CommandLineProject.cs
- Source:
- CommandLineProject.cs
ProjectInfo创建从编译器命令行参数初始化的结构。
public static Microsoft.CodeAnalysis.ProjectInfo CreateProjectInfo (string projectName, string language, System.Collections.Generic.IEnumerable<string> commandLineArgs, string projectDirectory, Microsoft.CodeAnalysis.Workspace workspace = default);
public static Microsoft.CodeAnalysis.ProjectInfo CreateProjectInfo (string projectName, string language, System.Collections.Generic.IEnumerable<string> commandLineArgs, string projectDirectory, Microsoft.CodeAnalysis.Workspace? workspace = default);
static member CreateProjectInfo : string * string * seq<string> * string * Microsoft.CodeAnalysis.Workspace -> Microsoft.CodeAnalysis.ProjectInfo
Public Shared Function CreateProjectInfo (projectName As String, language As String, commandLineArgs As IEnumerable(Of String), projectDirectory As String, Optional workspace As Workspace = Nothing) As ProjectInfo
参数
- projectName
- String
- language
- String
- commandLineArgs
- IEnumerable<String>
- projectDirectory
- String
- workspace
- Workspace
返回
适用于
CreateProjectInfo(String, String, String, String, Workspace)
- Source:
- CommandLineProject.cs
- Source:
- CommandLineProject.cs
- Source:
- CommandLineProject.cs
- Source:
- CommandLineProject.cs
- Source:
- CommandLineProject.cs
- Source:
- CommandLineProject.cs
- Source:
- CommandLineProject.cs
- Source:
- CommandLineProject.cs
- Source:
- CommandLineProject.cs
- Source:
- CommandLineProject.cs
- Source:
- CommandLineProject.cs
- Source:
- CommandLineProject.cs
- Source:
- CommandLineProject.cs
ProjectInfo使用编译器命令行中的数据创建初始化的结构。
public static Microsoft.CodeAnalysis.ProjectInfo CreateProjectInfo (string projectName, string language, string commandLine, string baseDirectory, Microsoft.CodeAnalysis.Workspace workspace = default);
public static Microsoft.CodeAnalysis.ProjectInfo CreateProjectInfo (string projectName, string language, string commandLine, string baseDirectory, Microsoft.CodeAnalysis.Workspace? workspace = default);
static member CreateProjectInfo : string * string * string * string * Microsoft.CodeAnalysis.Workspace -> Microsoft.CodeAnalysis.ProjectInfo
Public Shared Function CreateProjectInfo (projectName As String, language As String, commandLine As String, baseDirectory As String, Optional workspace As Workspace = Nothing) As ProjectInfo
参数
- projectName
- String
- language
- String
- commandLine
- String
- baseDirectory
- String
- workspace
- Workspace