NuGetGallery.FunctionalTests.NuspecHelper.RemoveSampleNuspecValues C# (CSharp) Method

RemoveSampleNuspecValues() static private method

Given a nuspec file, this removes the default sample nuspec values.
static private RemoveSampleNuspecValues ( string nuspecFilePath ) : void
nuspecFilePath string
return void
        internal static void RemoveSampleNuspecValues(string nuspecFilePath)
        {
            UpdateNuspecFile(nuspecFilePath, "<licenseUrl>http://LICENSE_URL_HERE_OR_DELETE_THIS_LINE</licenseUrl>", null);
            UpdateNuspecFile(nuspecFilePath, "<projectUrl>http://PROJECT_URL_HERE_OR_DELETE_THIS_LINE</projectUrl>", string.Empty);
            UpdateNuspecFile(nuspecFilePath, "<projectUrl>http://PROJECT_URL_HERE_OR_DELETE_THIS_LINE</projectUrl>", string.Empty);
            UpdateNuspecFile(nuspecFilePath, "<iconUrl>http://ICON_URL_HERE_OR_DELETE_THIS_LINE</iconUrl>", string.Empty);
            var searchString = new StringBuilder(@"<dependency id=" + @"""" + SampleDependency + @"""" + " version=" + @"""" + SampleDependencyVersion + @"""" + @" />");
            UpdateNuspecFile(nuspecFilePath, searchString.ToString(), string.Empty);
        }