private void FindNuGet() { if (StringHelper.IsNullOrWhiteSpace(NuGetExePath) || !fileSystem.FileExists(NuGetExePath)) { var nuGetPath = Path.Combine(Path.GetDirectoryName(AssemblyExtensions.FullLocalPath(typeof(CreateOctoPackPackage).Assembly)), "NuGet.exe"); NuGetExePath = nuGetPath; } }