常用方法
常用方法
常用方法
常用方法
/// <summary> /// Create a new solution instance with the project specified updated to no longer include /// the specified metadata reference. /// </summary> public Solution RemoveMetadataReference(ProjectId projectId, MetadataReference metadataReference) { var newState = _state.RemoveMetadataReference(projectId, metadataReference); if (newState == _state) { return(this); } return(new Solution(newState)); }