File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ class Program
18
18
{
19
19
private static IEnumerable < SourceRepository > _nugetRepositories ;
20
20
private static DependencyInfoResource _dependencyInfoResourceNuGet ;
21
- private static readonly string _versionReplacementValue = $ "9.99.999.9999+{ Guid . NewGuid ( ) : N} ";
22
21
23
22
/// <param name="solutionToCheck">Path to the solution to check.</param>
24
23
/// <param name="workingDirectory">Path of the working directory where solutions will be searched.</param>
@@ -783,7 +782,7 @@ private static NuspecReader GetNuspecReader(string nuspecFileName)
783
782
// The replacement value is unique, so it will not match any literal version value.
784
783
// The assumption is that all packages share the same value of $version$
785
784
// at the time of packaging.
786
- nuspecAsText = nuspecAsText . Replace ( "$version$" , _versionReplacementValue ) ;
785
+ nuspecAsText = nuspecAsText . Replace ( "$version$" , "9.99.999.9999" ) ;
787
786
788
787
return new NuspecReader ( XDocument . Parse ( nuspecAsText ) ) ;
789
788
}
You can’t perform that action at this time.
0 commit comments