Remove direct dependency on step (#627)
This commit is contained in:
Родитель
2bca807392
Коммит
e71d6c50ad
|
@ -21,7 +21,6 @@
|
|||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\src\cli\Microsoft.DotNet.UpgradeAssistant.Cli\Microsoft.DotNet.UpgradeAssistant.Cli.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\steps\Microsoft.DotNet.UpgradeAssistant.Steps.Packages\Microsoft.DotNet.UpgradeAssistant.Steps.Packages.csproj" />
|
||||
<ProjectReference Include="..\..\Microsoft.DotNet.UpgradeAssistant.TestHelpers\Microsoft.DotNet.UpgradeAssistant.TestHelpers.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
|
|
@ -9,8 +9,6 @@ using Autofac;
|
|||
using Microsoft.DotNet.UpgradeAssistant;
|
||||
using Microsoft.DotNet.UpgradeAssistant.Cli;
|
||||
using Microsoft.DotNet.UpgradeAssistant.MSBuildPath;
|
||||
using Microsoft.DotNet.UpgradeAssistant.Steps.Packages;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Xunit.Abstractions;
|
||||
|
@ -46,13 +44,6 @@ namespace Integration.Tests
|
|||
};
|
||||
|
||||
var status = await Program.RunUpgradeAsync(options, host => host
|
||||
.ConfigureServices(services =>
|
||||
{
|
||||
services.AddOptions<PackageUpdaterOptions>().Configure(o =>
|
||||
{
|
||||
o.PackageMapPath = "PackageMaps";
|
||||
});
|
||||
})
|
||||
.ConfigureContainer<ContainerBuilder>(builder =>
|
||||
{
|
||||
builder.RegisterInstance(MSBuildPathInstance.Locator);
|
||||
|
|
Загрузка…
Ссылка в новой задаче