/// <summary> /// Creates a new solution instance with the project specified updated to have the reference assembly output file path. /// </summary> public Solution WithProjectOutputRefFilePath(ProjectId projectId, string outputRefFilePath) { var newState = _state.WithProjectOutputRefFilePath(projectId, outputRefFilePath); if (newState == _state) { return(this); } return(new Solution(newState)); }