[C#] Update dependencies and imports

* Update dependencies version

* Update dependencies version

* Update test

* Update imports
This commit is contained in:
Victor Grycuk 2021-06-03 17:32:23 -03:00 коммит произвёл GitHub
Родитель 03c52986ca
Коммит d22a2bbe23
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
6 изменённых файлов: 23 добавлений и 40 удалений

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

@ -14,14 +14,14 @@
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.0" />
<PackageReference Include="Microsoft.Azure.CognitiveServices.ContentModerator" Version="2.0.0" />
<PackageReference Include="Microsoft.Azure.CognitiveServices.Language" Version="1.0.1-preview" />
<PackageReference Include="Microsoft.Bot.Builder.AI.Luis" Version="4.9.3" />
<PackageReference Include="Microsoft.Bot.Builder.AI.QnA" Version="4.9.3" />
<PackageReference Include="Microsoft.Bot.Builder.ApplicationInsights" Version="4.9.3" />
<PackageReference Include="Microsoft.Bot.Builder.Azure" Version="4.9.3" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.ApplicationInsights.Core" Version="4.9.3" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.9.3" />
<PackageReference Include="Microsoft.Bot.Builder.LanguageGeneration" Version="4.9.3" />
<PackageReference Include="Microsoft.Bot.Solutions" Version="1.0.1" />
<PackageReference Include="Microsoft.Bot.Builder.AI.Luis" Version="4.11.1" />
<PackageReference Include="Microsoft.Bot.Builder.AI.QnA" Version="4.11.1" />
<PackageReference Include="Microsoft.Bot.Builder.ApplicationInsights" Version="4.11.1" />
<PackageReference Include="Microsoft.Bot.Builder.Azure.Blobs" Version="4.11.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.ApplicationInsights.Core" Version="4.11.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.11.1" />
<PackageReference Include="Microsoft.Bot.Builder.LanguageGeneration" Version="4.11.1" />
</ItemGroup>
<ItemGroup>

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

@ -9,12 +9,12 @@
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.0" />
<PackageReference Include="Microsoft.Azure.CognitiveServices.ContentModerator" Version="2.0.0" />
<PackageReference Include="Microsoft.Azure.CognitiveServices.Language" Version="1.0.1-preview" />
<PackageReference Include="Microsoft.Bot.Builder.AI.Luis" Version="4.9.3" />
<PackageReference Include="Microsoft.Bot.Builder.AI.QnA" Version="4.9.3" />
<PackageReference Include="Microsoft.Bot.Builder.ApplicationInsights" Version="4.9.3" />
<PackageReference Include="Microsoft.Bot.Builder.Azure" Version="4.9.3" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.ApplicationInsights.Core" Version="4.9.3" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.9.3" />
<PackageReference Include="Microsoft.Bot.Builder.AI.Luis" Version="4.11.1" />
<PackageReference Include="Microsoft.Bot.Builder.AI.QnA" Version="4.11.1" />
<PackageReference Include="Microsoft.Bot.Builder.ApplicationInsights" Version="4.11.1" />
<PackageReference Include="Microsoft.Bot.Builder.Azure.Blobs" Version="4.11.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.ApplicationInsights.Core" Version="4.11.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.11.1" />
<PackageReference Include="Microsoft.Bot.Solutions" Version="1.0.1" />
</ItemGroup>

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

@ -42,15 +42,15 @@
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.8.1" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.2.2" />
<PackageReference Include="Microsoft.Azure.CognitiveServices.ContentModerator" Version="2.0.0" />
<PackageReference Include="Microsoft.Bot.Builder.AI.Luis" Version="4.9.3" />
<PackageReference Include="Microsoft.Bot.Builder.AI.QnA" Version="4.9.3" />
<PackageReference Include="Microsoft.Bot.Builder.Azure" Version="4.9.3" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.9.3" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.9.3" />
<PackageReference Include="Microsoft.Bot.Builder.LanguageGeneration" Version="4.9.3" />
<PackageReference Include="Microsoft.Bot.Builder.TemplateManager" Version="4.9.3" />
<PackageReference Include="Microsoft.Bot.Configuration" Version="4.9.3" />
<PackageReference Include="Microsoft.Bot.Schema" Version="4.9.3" />
<PackageReference Include="Microsoft.Bot.Builder.AI.Luis" Version="4.11.1" />
<PackageReference Include="Microsoft.Bot.Builder.AI.QnA" Version="4.11.1" />
<PackageReference Include="Microsoft.Bot.Builder.Azure" Version="4.11.1" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.11.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.11.1" />
<PackageReference Include="Microsoft.Bot.Builder.LanguageGeneration" Version="4.11.1" />
<PackageReference Include="Microsoft.Bot.Builder.TemplateManager" Version="4.11.1" />
<PackageReference Include="Microsoft.Bot.Configuration" Version="4.11.1" />
<PackageReference Include="Microsoft.Bot.Schema" Version="4.11.1" />
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="2.1.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="2.1.0" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="2.2.0" />

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

@ -22,7 +22,7 @@ namespace Microsoft.Bot.Solutions.Tests.Skills
public void SkillConversationIdFactoryNullStorageTest()
{
var ex = Assert.ThrowsException<ArgumentNullException>(() => new SkillConversationIdFactory(null));
Assert.IsTrue(ex.Message.Contains("Value cannot be null.\r\nParameter name: storage"));
Assert.IsTrue(ex.Message.Contains("Value cannot be null. (Parameter 'storage')"));
}
[TestMethod]

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

@ -2,15 +2,7 @@
using System.Diagnostics.CodeAnalysis;
using System.Threading;
using System.Threading.Tasks;
using System.Xml.Linq;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Adapters;
using Microsoft.Bot.Schema;
using Microsoft.Bot.Solutions.Feedback;
using Microsoft.Bot.Solutions.Middleware;
using Microsoft.Bot.Solutions.Proactive;
using Microsoft.Bot.Solutions.TaskExtensions;
using Microsoft.Bot.Solutions.Util;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.VisualStudio.TestTools.UnitTesting;

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

@ -1,13 +1,4 @@
using System.Diagnostics.CodeAnalysis;
using System.Security.Policy;
using System.Threading.Tasks;
using System.Xml.Linq;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Adapters;
using Microsoft.Bot.Schema;
using Microsoft.Bot.Solutions.Feedback;
using Microsoft.Bot.Solutions.Middleware;
using Microsoft.Bot.Solutions.Proactive;
using Microsoft.Bot.Solutions.Util;
using Microsoft.VisualStudio.TestTools.UnitTesting;