共用方式為


Solution.WithProjectAssemblyName(ProjectId, String) Method

Definition

Creates a new solution instance with the project specified updated to have the new assembly name.

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

Parameters

projectId
ProjectId
assemblyName
String

Returns

Applies to