public WapBuilder(IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string sourcePath, string projectPath, string tempPath, string solutionPath) : base(settings, propertyProvider, sourcePath, tempPath) { _projectPath = projectPath; _tempPath = tempPath; _solutionPath = solutionPath; }
public AspNet5Builder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string sourcePath, string projectPath) : base(environment, settings, propertyProvider, sourcePath) { _projectPath = projectPath; var properties = propertyProvider.GetProperties(); properties[WellKnownEnvironmentVariables.DnxVersion] = AspNet5Helper.GetAspNet5RuntimeVersion(sourcePath); }
public CustomBuilder(string repositoryPath, string tempPath, string command, IBuildPropertyProvider propertyProvider) { _repositoryPath = repositoryPath; _tempPath = tempPath; _command = command; _propertyProvider = propertyProvider; }
public SiteBuilderFactoryDispatcher(IDeploymentSettingsManager settingsManager, IBuildPropertyProvider propertyProvider, IEnvironment environment) { _settingsManager = settingsManager; _originalSiteBuilderFactory = new SiteBuilderFactory(settingsManager, propertyProvider, environment); _generatorSiteBuilderFactory = new Generator.SiteBuilderFactory(settingsManager, propertyProvider, environment); }
public WapBuilder(IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string sourcePath, string projectPath, string tempPath, string solutionPath) : base(settings, propertyProvider, sourcePath) { _projectPath = projectPath; _tempPath = tempPath; _solutionPath = solutionPath; }
public MsBuildSiteBuilder(IBuildPropertyProvider propertyProvider, string workingDirectory, string tempPath, string nugetCachePath) { _propertyProvider = propertyProvider; _msbuildExe = new Executable(PathUtility.ResolveMSBuildPath(), workingDirectory); _msbuildExe.EnvironmentVariables[NuGetCachePathKey] = nugetCachePath; _tempPath = tempPath; }
public WapBuilder(IBuildPropertyProvider propertyProvider, string sourcePath, string projectPath, string tempPath, string nugetCachePath, string solutionPath) : base(propertyProvider, sourcePath, tempPath, nugetCachePath) { _projectPath = projectPath; _tempPath = tempPath; _solutionPath = solutionPath; }
public AspNet5Builder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string sourcePath, string projectPath, bool isConsoleApp) : base(environment, settings, propertyProvider, sourcePath) { _projectPath = projectPath; _sourcePath = sourcePath; _isConsoleApp = isConsoleApp; }
public OryxBuilder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string sourcePath) : base(environment, settings, propertyProvider, sourcePath) { this.environment = environment; this.settings = settings; this.propertyProvider = propertyProvider; this.sourcePath = sourcePath; }
protected MsBuildSiteBuilder(IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string workingDirectory) { _settings = settings; _propertyProvider = propertyProvider; _msbuildExe = new Executable(PathUtility.ResolveMSBuildPath(), workingDirectory, settings.GetCommandIdleTimeout()); // NuGet.exe 1.8 will require an environment variable to make package restore work _msbuildExe.EnvironmentVariables[WellKnownEnvironmentVariables.NuGetPackageRestoreKey] = "true"; }
public CustomBuilder(string repositoryPath, string tempPath, string command, IBuildPropertyProvider propertyProvider, string homePath, IDeploymentSettingsManager settings) { _repositoryPath = repositoryPath; _tempPath = tempPath; _command = command; _propertyProvider = propertyProvider; _homePath = homePath; _settings = settings; }
public ExternalCommandBuilder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string repositoryPath) { Environment = environment; DeploymentSettings = settings; RepositoryPath = repositoryPath; PropertyProvider = propertyProvider; HomePath = environment.SiteRootPath; }
public CustomBuilder(string repositoryPath, string tempPath, string command, IBuildPropertyProvider propertyProvider, string homePath, string scriptPath, IDeploymentSettingsManager settings) { _repositoryPath = repositoryPath; _tempPath = tempPath; _command = command; _propertyProvider = propertyProvider; _homePath = homePath; _scriptPath = scriptPath; _settings = settings; }
protected ExternalCommandBuilder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string repositoryPath) { Environment = environment; DeploymentSettings = settings; RepositoryPath = repositoryPath; PropertyProvider = propertyProvider; ExternalCommandFactory = new ExternalCommandFactory(environment, settings, repositoryPath); }
public MsBuildSiteBuilder(IBuildPropertyProvider propertyProvider, string workingDirectory, string tempPath, string nugetCachePath) { _propertyProvider = propertyProvider; _msbuildExe = new Executable(PathUtility.ResolveMSBuildPath(), workingDirectory); // Disable this for now // _msbuildExe.EnvironmentVariables[NuGetCachePathKey] = nugetCachePath; // NuGet.exe 1.8 will require an environment variable to make package restore work _msbuildExe.EnvironmentVariables[NuGetPackageRestoreKey] = "true"; _tempPath = tempPath; }
public MsBuildSiteBuilder(IBuildPropertyProvider propertyProvider, string workingDirectory, string tempPath, string nugetCachePath) { _propertyProvider = propertyProvider; _msbuildExe = new Executable(PathUtility.ResolveMSBuildPath(), workingDirectory); // Disable this for now // _msbuildExe.EnvironmentVariables[NuGetCachePathKey] = nugetCachePath; // NuGet.exe 1.8 will require an environment variable to make package restore work _msbuildExe.EnvironmentVariables[WellKnownEnvironmentVariables.NuGetPackageRestoreKey] = "true"; _tempPath = tempPath; }
public SolutionBuilder(IBuildFolderPathProvider buildFolderPathProvider, IBuildPropertyProvider buildPropertyProvider) { if (buildFolderPathProvider == null) { throw new ArgumentNullException("buildFolderPathProvider"); } if (buildPropertyProvider == null) { throw new ArgumentNullException("buildPropertyProvider"); } this.buildFolder = buildFolderPathProvider.GetBuildFolderPath(); this.buildPropertyProvider = buildPropertyProvider; }
public MSBuild14SolutionBuilder(IBuildFolderPathProvider buildFolderPathProvider, IBuildPropertyProvider buildPropertyProvider, IUserInterface userInterface) { if (buildFolderPathProvider == null) { throw new ArgumentNullException("buildFolderPathProvider"); } if (buildPropertyProvider == null) { throw new ArgumentNullException("buildPropertyProvider"); } this.buildFolder = buildFolderPathProvider.GetBuildFolderPath(); this.buildPropertyProvider = buildPropertyProvider; this.userInterface = userInterface; }
public CustomBuilder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string repositoryPath, string command) : base(environment, settings, propertyProvider, repositoryPath) { _command = command; }
protected SolutionBasedSiteBuilder(IBuildPropertyProvider propertyProvider, string repositoryPath, string solutionPath, IDeploymentSettingsManager settings) : base(settings, propertyProvider, repositoryPath) { SolutionPath = solutionPath; }
public WapBuilder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string sourcePath, string projectPath, string solutionPath) : base(environment, settings, propertyProvider, sourcePath) { _projectPath = projectPath; _solutionPath = solutionPath; }
public SolutionBasedSiteBuilder(IBuildPropertyProvider propertyProvider, string repositoryPath, string solutionPath) { _propertyProvider = propertyProvider; SolutionPath = solutionPath; _msbuildExe = new Executable(ResolveMSBuildPath(), repositoryPath); }
public AspNetCoreBuilder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string sourcePath, string projectPath, string solutionPath = null) : base(environment, settings, propertyProvider, sourcePath) { _projectPath = projectPath; // either xproj, csproj or project.json _solutionPath = solutionPath; if (_projectPath.EndsWith(".csproj", StringComparison.OrdinalIgnoreCase)) { _version = "csproj"; } else if (_projectPath.EndsWith(".xproj", StringComparison.OrdinalIgnoreCase)) { _version = "xproj"; } else { _version = "project.json"; } }
public BaseBasicBuilder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string repositoryPath, string projectPath, string commandArgument) : base(environment, settings, propertyProvider, repositoryPath) { ProjectPath = CleanPath(projectPath); _commandArgument = commandArgument; }
public CustomGeneratorCommandSiteBuilder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string sourcePath, string scriptGeneratorArgs) : base(environment, settings, propertyProvider, sourcePath) { _scriptGeneratorArgs = scriptGeneratorArgs; }
public MsBuildSiteBuilder(IBuildPropertyProvider propertyProvider, string workingDirectory) { _propertyProvider = propertyProvider; _msbuildExe = new Executable(ResolveMSBuildPath(), workingDirectory); }
public DotNetConsoleMSBuild1607Builder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string sourcePath, string projectFilePath, string solutionPath) : base(environment, settings, propertyProvider, sourcePath, projectFilePath, solutionPath, "--dotNetConsoleMSBuild1607") { }
public AspNetCoreBuilder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string sourcePath, string projectFilePath, string solutionPath, string targetFramework) : base(environment, settings, propertyProvider, sourcePath, projectFilePath, solutionPath, "--aspNetCore", targetFramework) { if (projectFilePath.EndsWith(".csproj", StringComparison.OrdinalIgnoreCase)) { _version = "CSPROJ"; } else if (projectFilePath.EndsWith(".xproj", StringComparison.OrdinalIgnoreCase)) { // if it's xproj, throw invalidOperationException throw new InvalidOperationException(@"Building Asp.Net Core .xproj is no longer supported in Azure, please move to .csproj For more information, please visit https://go.microsoft.com/fwlink/?linkid=850964"); } else { _version = "PROJECT.JSON"; } }
public AspNet5Builder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string sourcePath, string projectPath) : base(environment, settings, propertyProvider, sourcePath) { _projectPath = projectPath; }
protected BaseBasicBuilder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string repositoryPath, string projectPath, string commandArgument) : base(environment, settings, propertyProvider, repositoryPath) { ProjectPath = CleanPath(projectPath); _commandArgument = commandArgument; }
public OryxBuilder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string sourcePath) : base(environment, settings, propertyProvider, sourcePath) { }
public WapBuilder(IBuildPropertyProvider propertyProvider, string sourcePath, string projectPath, string tempPath) : this(propertyProvider, sourcePath, projectPath, tempPath, null) { }
public SiteBuilderFactory(IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, IEnvironment environment) { _settings = settings; _propertyProvider = propertyProvider; _environment = environment; }
protected MicrosoftSiteBuilder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string sourcePath, string projectFilePath, string solutionPath, string commandArgument, string targetFramework = "") : base(environment, settings, propertyProvider, sourcePath) { ProjectFilePath = CleanPath(projectFilePath); SolutionPath = CleanPath(solutionPath); CommandArgument = commandArgument; TargetFramework = targetFramework; }
public BasicConsoleBuilder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string sourcePath, string projectPath) : base(environment, settings, propertyProvider, sourcePath, projectPath) { }
protected GeneratorSiteBuilder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string repositoryPath) : base(environment, settings, propertyProvider, repositoryPath) { }
public NodeSiteBuilder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string repositoryPath, string projectPath) : base(environment, settings, propertyProvider, repositoryPath, projectPath, "--node") { }
public MsBuildSiteBuilder(IBuildPropertyProvider propertyProvider, string workingDirectory, string tempPath, string nugetCachePath) : this(null, propertyProvider, workingDirectory, tempPath, nugetCachePath) { }
public FunctionMsbuildBuilder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string sourcePath, string projectFilePath, string solutionPath) : base(environment, settings, propertyProvider, sourcePath, projectFilePath, solutionPath, "--functionApp") { }
public SiteBuilderFactoryDispatcher(IBuildPropertyProvider propertyProvider, IEnvironment environment) { _originalSiteBuilderFactory = new SiteBuilderFactory(propertyProvider, environment); _generatorSiteBuilderFactory = new Generator.SiteBuilderFactory(propertyProvider, environment); }
public AspNetCoreBuilder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string sourcePath, string projectPath, string solutionPath = null) : base(environment, settings, propertyProvider, sourcePath) { _projectPath = projectPath; // either xproj, csproj or project.json _solutionPath = solutionPath; if (_projectPath.EndsWith(".csproj", StringComparison.OrdinalIgnoreCase)) { _version = "csproj"; } else if (_projectPath.EndsWith(".xproj", StringComparison.OrdinalIgnoreCase)) { // if it's xproj, throw invalidOperationException throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, Resources.Error_ProjectNotDeployable, projectPath)); } else { _version = "project.json"; } }
public SiteBuilderFactory(IBuildPropertyProvider propertyProvider, IEnvironment environment) { _propertyProvider = propertyProvider; _environment = environment; }
public GeneratorSiteBuilder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string repositoryPath) : base(environment, settings, propertyProvider, repositoryPath) { }
public GoSiteBuilder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string repositoryPath, string projectPath) : base(environment, settings, propertyProvider, repositoryPath, projectPath, "--go") { }
public CustomBuilder(string repositoryPath, string targetFile, IBuildPropertyProvider propertyProvider) { _repositoryPath = repositoryPath; _targetFile = targetFile; _propertyProvider = propertyProvider; }
public FunctionDotNetCoreBuilder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string sourcePath, string projectFilePath, string solutionPath) : base(environment, settings, propertyProvider, sourcePath, projectFilePath, solutionPath, "--dotNetCoreFunctionApp") { FunctionAppHelper.ThrowsIfVersionMismatch(projectFilePath); }
public SolutionBasedSiteBuilder(IBuildPropertyProvider propertyProvider, string repositoryPath, string tempPath, string nugetCachePath, string solutionPath) : base(propertyProvider, repositoryPath, tempPath, nugetCachePath) { SolutionPath = solutionPath; }
public WebSiteBuilder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string sourcePath, string projectPath, string solutionPath) : base(environment, settings, propertyProvider, sourcePath) { _projectPath = projectPath; _solutionPath = solutionPath; }
public AspNet5Builder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, IFileFinder fileFinder, string sourcePath, string projectPath, bool isConsoleApp) : base(environment, settings, propertyProvider, sourcePath) { _fileFinder = fileFinder; _projectPath = projectPath; _sourcePath = sourcePath; _isConsoleApp = isConsoleApp; }
public WebSiteBuilder(IBuildPropertyProvider propertyProvider, string sourcePath, string projectPath, string tempPath, string solutionPath) : base(propertyProvider, sourcePath, tempPath, solutionPath) { _projectPath = projectPath; }
public AspNet5Builder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvider propertyProvider, string sourcePath, string projectPath) : base(environment, settings, propertyProvider, sourcePath) { _projectPath = projectPath; var properties = propertyProvider.GetProperties(); properties[WellKnownEnvironmentVariables.KreVersion] = AspNet5Helper.GetAspNet5RuntimeVersion(sourcePath); }
public MsBuildSiteBuilder(IBuildPropertyProvider propertyProvider, string workingDirectory, string tempPath) : this(null, propertyProvider, workingDirectory, tempPath) { }