Share via


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

返回

适用于