diff --git a/src/NuGet.Clients/NuGet.CommandLine/Program.cs b/src/NuGet.Clients/NuGet.CommandLine/Program.cs index b9ca2988c32..bc4e0a13799 100644 --- a/src/NuGet.Clients/NuGet.CommandLine/Program.cs +++ b/src/NuGet.Clients/NuGet.CommandLine/Program.cs @@ -249,7 +249,6 @@ private Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEventArgs a AssemblyName name = new AssemblyName(args.Name); Assembly customLoadedAssembly = null; - Assembly customLoadedAssembly = null; if (string.Equals(name.Name, ThisExecutableName, StringComparison.OrdinalIgnoreCase)) { customLoadedAssembly = NuGetExeAssembly;