public static string CreateAndGetSettingFilePath()
        {
            var tempFolder = TestFilesystemUtility.CreateRandomTestFolder();
            var fileName   = "nuget.config";

            File.WriteAllText(Path.Combine(tempFolder, fileName), TempPackageSourceContents);
            return(tempFolder);
        }
 public TestSolutionManager(string solutionDirectory = null)
 {
     SolutionDirectory   = String.IsNullOrEmpty(solutionDirectory) ? TestFilesystemUtility.CreateRandomTestFolder() : solutionDirectory;
     NuGetProjects       = new List <NuGetProject>();
     NuGetProjectContext = new TestNuGetProjectContext();
 }