CreateEwlNuGetPackage() static private method

static private CreateEwlNuGetPackage ( DevelopmentInstallation installation, bool useDebugAssembly, string outputFolderPath, bool prerelease ) : byte[]
installation DevelopmentInstallation
useDebugAssembly bool
outputFolderPath string
prerelease bool
return byte[]
Ejemplo n.º 1
0
        void Operation.Execute(Installation genericInstallation, OperationResult operationResult)
        {
            var installation = genericInstallation as RecognizedDevelopmentInstallation;

            // NuGet.exe has problems if the folder doesn't exist.
            Directory.CreateDirectory(outputPath);

            ExportLogic.CreateEwlNuGetPackage(installation, false, outputPath, false);
        }
        void Operation.Execute(Installation genericInstallation, OperationResult operationResult)
        {
            var installation             = genericInstallation as RecognizedDevelopmentInstallation;
            var localNuGetFeedFolderPath = StandardLibraryMethods.CombinePaths(ConfigurationStatics.RedStaplerFolderPath, "Local NuGet Feed");

            // NuGet.exe has problems if the folder doesn't exist.
            Directory.CreateDirectory(localNuGetFeedFolderPath);

            ExportLogic.CreateEwlNuGetPackage(installation, true, localNuGetFeedFolderPath, null);
        }