Improve build-bits-linux.sh (removed dotnet restore (doing with publish now) and set quiet on verbosity in order to reduce issues with System.Console.dll on build container). Remove unnecesary namespace on Identity.Api startup.cs

This commit is contained in:
Unai Zorrilla Castro 2017-09-06 18:43:38 +02:00
Родитель e85ce8332c
Коммит 6c5bdda2f5
2 изменённых файлов: 4 добавлений и 7 удалений

Просмотреть файл

@ -30,10 +30,8 @@ do
echo -e "\e[33m\tRemoving old publish output"
pushd $path/$project
rm -rf obj/Docker/publish
echo -e "\e[33m\tRestoring project $project"
dotnet restore --verbosity minimal
echo -e "\e[33m\tBuilding and publishing $project"
dotnet publish -c Release -o obj/Docker/publish --verbosity minimal
dotnet publish -c Release -o obj/Docker/publish --verbosity quiet
popd
done

Просмотреть файл

@ -1,4 +1,6 @@
using Identity.API.Certificate;
using Autofac;
using Autofac.Extensions.DependencyInjection;
using Identity.API.Certificate;
using Identity.API.Configuration;
using Identity.API.Data;
using Identity.API.Models;
@ -16,9 +18,6 @@ using Microsoft.eShopOnContainers.Services.Catalog.API.Infrastructure;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.HealthChecks;
using Identity.API.Certificate;
using Autofac.Extensions.DependencyInjection;
using Autofac;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;