Skip to content

Commit

Permalink
(NuGet#9) Set version for ILMerge to 6.4.1-zlocal.1
Browse files Browse the repository at this point in the history
If you don't set it specifically, after ILMerge the NuGet libraries
will show up as having Chocolatey's version. This affects the user
agent, and other uses of the library version.

Brought forward from this commit:
chocolatey/nuget-chocolatey@2a0aa36

Co-Authored-By: Rob Reynolds <[email protected]>
  • Loading branch information
2 people authored and gep13 committed Nov 21, 2022
1 parent 3a2dc05 commit b9acf15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NuGet.Core/NuGet.Common/ClientVersionUtility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace NuGet.Common
public static class ClientVersionUtility
{
// Cache the value since it cannot change
private static string _clientVersion;
private static string _clientVersion = "6.4.1-zlocal.1";

/// <summary>
/// Find the current NuGet client version from the assembly info as a string.
Expand Down

0 comments on commit b9acf15

Please sign in to comment.