CommandLineProject.CreateProjectInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateProjectInfo(String, String, IEnumerable<String>, String, Workspace) |
Create a ProjectInfo structure initialized from a compilers command line arguments. |
CreateProjectInfo(String, String, String, String, Workspace) |
Create a ProjectInfo structure initialized with data from a compiler command line. |
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
Create a ProjectInfo structure initialized from a compilers command line arguments.
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
Parameters
- projectName
- String
- language
- String
- commandLineArgs
- IEnumerable<String>
- projectDirectory
- String
- workspace
- Workspace
Returns
Applies to
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
Create a ProjectInfo structure initialized with data from a compiler command line.
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
Parameters
- projectName
- String
- language
- String
- commandLine
- String
- baseDirectory
- String
- workspace
- Workspace
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.