Solution.WithProjectAssemblyName(ProjectId, String) 方法

定义

创建一个新的解决方案实例,其中指定的项目已更新为具有新的程序集名称。

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

参数

projectId
ProjectId
assemblyName
String

返回

适用于