Delen via


Solution.AddProject Method

Definition

Overloads

AddProject(ProjectId, String, String, String)

Creates a new solution instance that includes a project with the specified language and names.

AddProject(ProjectInfo)

Create a new solution instance that includes a project with the specified project information.

AddProject(String, String, String)

Creates a new solution instance that includes a project with the specified language and names. Returns the new project.

AddProject(ProjectId, String, String, String)

Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs

Creates a new solution instance that includes a project with the specified language and names.

public:
 Microsoft::CodeAnalysis::Solution ^ AddProject(Microsoft::CodeAnalysis::ProjectId ^ projectId, System::String ^ name, System::String ^ assemblyName, System::String ^ language);
public Microsoft.CodeAnalysis.Solution AddProject (Microsoft.CodeAnalysis.ProjectId projectId, string name, string assemblyName, string language);
member this.AddProject : Microsoft.CodeAnalysis.ProjectId * string * string * string -> Microsoft.CodeAnalysis.Solution
Public Function AddProject (projectId As ProjectId, name As String, assemblyName As String, language As String) As Solution

Parameters

projectId
ProjectId
name
String
assemblyName
String
language
String

Returns

Applies to

AddProject(ProjectInfo)

Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs

Create a new solution instance that includes a project with the specified project information.

public:
 Microsoft::CodeAnalysis::Solution ^ AddProject(Microsoft::CodeAnalysis::ProjectInfo ^ projectInfo);
public Microsoft.CodeAnalysis.Solution AddProject (Microsoft.CodeAnalysis.ProjectInfo projectInfo);
member this.AddProject : Microsoft.CodeAnalysis.ProjectInfo -> Microsoft.CodeAnalysis.Solution
Public Function AddProject (projectInfo As ProjectInfo) As Solution

Parameters

projectInfo
ProjectInfo

Returns

Applies to

AddProject(String, String, String)

Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs

Creates a new solution instance that includes a project with the specified language and names. Returns the new project.

public:
 Microsoft::CodeAnalysis::Project ^ AddProject(System::String ^ name, System::String ^ assemblyName, System::String ^ language);
public Microsoft.CodeAnalysis.Project AddProject (string name, string assemblyName, string language);
member this.AddProject : string * string * string -> Microsoft.CodeAnalysis.Project
Public Function AddProject (name As String, assemblyName As String, language As String) As Project

Parameters

name
String
assemblyName
String
language
String

Returns

Applies to