共用方式為


Solution.WithProjectOutputRefFilePath(ProjectId, String) Method

Definition

Creates a new solution instance with the project specified updated to have the reference assembly output file path.

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

Parameters

projectId
ProjectId
outputRefFilePath
String

Returns

Applies to