protected override ProjectId CreateInitialProject() { var compilationOptions = CreateCompilationOptions(); var parseOptions = CreateParseOptions(); var name = "Prj" + Guid.NewGuid().ToString(); var projectId = ProjectId.CreateNewId(name); var projectInfo = ProjectInfo.Create( projectId, VersionStamp.Create(), name, // project name name, // assembly name LanguageNames.CSharp, // language parseOptions: parseOptions, compilationOptions: compilationOptions, metadataReferences: StaticReferences ); var newSolution = CurrentSolution.AddProject(projectInfo); base.SetCurrentSolution(newSolution); return(projectId); }