public DotnetPublishAction(
     IEntryPointProjectFilePathProvider entryPointProjectFilePathProvider,
     IDotnetOperator dotnetCommandLineOperator,
     IEntryPointProjectBuildOutputPublishDirectoryPathProvider entryPointProjectBuildOutputPublishDirectoryPathProvider)
 {
     this.EntryPointProjectFilePathProvider = entryPointProjectFilePathProvider;
     this.DotnetOperator = dotnetCommandLineOperator;
     this.EntryPointProjectBuildOutputPublishDirectoryPathProvider = entryPointProjectBuildOutputPublishDirectoryPathProvider;
 }
Beispiel #2
0
        public static void Publish(this IDotnetOperator dotnetOperator, string projectFilePath, string outputDirectoryPath, string buildConfigurationName)
        {
            var frameworkName = NetCoreAppV2_2.FrameworkName;

            dotnetOperator.Publish(projectFilePath, outputDirectoryPath, buildConfigurationName, frameworkName);
        }
Beispiel #3
0
        public static void Publish(this IDotnetOperator dotnetOperator, string projectFilePath, string outputDirectoryPath)
        {
            var buildConfigurationName = ReleaseBuildConfiguration.BuildConfigurationName;

            dotnetOperator.Publish(projectFilePath, outputDirectoryPath, buildConfigurationName);
        }