protected OnNuGetPackageCreating ( string packageName ) : void | ||
packageName | string | |
Résultat | 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); }