共用方式為


Solution.WithProjectOutputFilePath(ProjectId, String) 方法

定義

建立新的方案實例,其中包含指定的專案已更新為具有輸出檔路徑。

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

參數

projectId
ProjectId
outputFilePath
String

傳回

適用於