Ejemplo n.º 1
0
 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;
     }
 }