Example #1
0
        /// <summary>
        /// Creates a new solution instance with the project specified updated to have the project file path.
        /// </summary>
        public Solution WithProjectFilePath(ProjectId projectId, string filePath)
        {
            var newState = _state.WithProjectFilePath(projectId, filePath);

            if (newState == _state)
            {
                return(this);
            }

            return(new Solution(newState));
        }