More renaming

This commit is contained in:
Elitsa Marinovska
2021-08-18 11:50:48 +02:00
parent 460df9bfd2
commit f3115a8b05
3 changed files with 7 additions and 7 deletions

2
.vscode/tasks.json vendored
View File

@@ -50,7 +50,7 @@
},
{
"label": "Dotnet watch",
"detail": "Dotnet run and watch of Web.UI.NetCore",
"detail": "Dotnet run and watch of Web.UI",
"promptOnClose": true,
"command": "dotnet",
"type": "process",

View File

@@ -189,7 +189,7 @@ stages:
- powershell: Invoke-Sqlcmd -Query "CREATE DATABASE $env:UmbracoDatabaseName" -ServerInstance $env:UmbracoDatabaseServer
displayName: Create database
# - task: DotNetCoreCLI@2
# displayName: dotnet build (Netcore)
# displayName: dotnet build
# inputs:
# command: build
# projects: '**/Umbraco.Web.UI.csproj'
@@ -209,9 +209,9 @@ stages:
targets: build
workingDirectory: src\Umbraco.Web.UI.Client
- powershell: Start-Process -FilePath "dotnet" -ArgumentList "run", "-p", "src\Umbraco.Web.UI\Umbraco.Web.UI.csproj"
displayName: dotnet run (Netcore)
displayName: dotnet run
# - powershell: dotnet run --no-build -p .\src\Umbraco.Web.UI\Umbraco.Web.UI.csproj
# displayName: dotnet run (Netcore)
# displayName: dotnet run
- task: PowerShell@1
displayName: Generate Cypress.env.json
inputs:
@@ -302,7 +302,7 @@ stages:
targets: build
workingDirectory: src/Umbraco.Web.UI.Client
- task: Bash@3
displayName: dotnet run (Netcore)
displayName: dotnet run
inputs:
targetType: 'inline'
script: 'nohup dotnet run -p ./src/Umbraco.Web.UI/Umbraco.Web.UI.csproj &'

View File

@@ -85,8 +85,8 @@ namespace Umbraco.Cms.Tests.Integration.DependencyInjection
currFolder = currFolder.Parent;
}
DirectoryInfo netcoreUI = currFolder.GetDirectories("Umbraco.Web.UI", SearchOption.TopDirectoryOnly).First();
var mainLangFolder = new DirectoryInfo(Path.Combine(netcoreUI.FullName, globalSettings.Value.UmbracoPath.TrimStart("~/"), "config", "lang"));
DirectoryInfo uiProject = currFolder.GetDirectories("Umbraco.Web.UI", SearchOption.TopDirectoryOnly).First();
var mainLangFolder = new DirectoryInfo(Path.Combine(uiProject.FullName, globalSettings.Value.UmbracoPath.TrimStart("~/"), "config", "lang"));
return new LocalizedTextServiceFileSources(
loggerFactory.CreateLogger<LocalizedTextServiceFileSources>(),