protected OnNuGetPackageCreated ( string stdout ) : void | ||
stdout | string | |
Результат | void |
void CreateNupkg(MachineWideInstallation mwInstl) { var toolsPath = EnvironmentRepository.GetToolsPath(); var pkgName = "Prig"; mwInstl.OnNuGetPackageCreating(pkgName); var nugetPackageFolder = Path.Combine(toolsPath, "NuGet"); var stdout = NuGetExecutor.StartPacking(Path.Combine(nugetPackageFolder, "Prig.nuspec"), toolsPath); mwInstl.OnNuGetPackageCreated(stdout); }
void CreateNupkg(MachineWideInstallation mwInstl) { var toolsPath = EnvironmentRepository.GetToolsPath(); var pkgName = "Prig"; mwInstl.OnNuGetPackageCreating(pkgName); var nugetPackageFolder = Path.Combine(toolsPath, "NuGet"); var stdout = NuGetExecutor.StartPacking(Path.Combine(nugetPackageFolder, "Prig.nuspec"), toolsPath); mwInstl.OnNuGetPackageCreated(stdout); }