Inheritance: System.Operation
コード例 #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);
        }
コード例 #2
0
        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);
        }