ServiceClientGenerator.SolutionFileCreator.TestProjectFromFile C# (CSharp) Method

TestProjectFromFile() private method

private TestProjectFromFile ( string folderName, string projectFile ) : Project
folderName string
projectFile string
return Project
        Project TestProjectFromFile(string folderName, string projectFile)
        {
            var fi = new FileInfo(projectFile);
            var projectName = Path.GetFileNameWithoutExtension(fi.Name);
            return new Project
            {
                Name = Path.GetFileNameWithoutExtension(projectFile),
                ProjectGuid = _allProjects[projectName].ProjectGuid,
                ProjectPath = string.Format(@"test\{0}\{1}", folderName, fi.Name)
            };
        }