Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Commit d22a2bb

Browse files
authored
[C#] Update dependencies and imports
* Update dependencies version * Update dependencies version * Update test * Update imports
1 parent 03c5298 commit d22a2bb

6 files changed

Lines changed: 23 additions & 40 deletions

File tree

samples/csharp/assistants/virtual-assistant/VirtualAssistantSample/VirtualAssistantSample.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.0" />
1515
<PackageReference Include="Microsoft.Azure.CognitiveServices.ContentModerator" Version="2.0.0" />
1616
<PackageReference Include="Microsoft.Azure.CognitiveServices.Language" Version="1.0.1-preview" />
17-
<PackageReference Include="Microsoft.Bot.Builder.AI.Luis" Version="4.9.3" />
18-
<PackageReference Include="Microsoft.Bot.Builder.AI.QnA" Version="4.9.3" />
19-
<PackageReference Include="Microsoft.Bot.Builder.ApplicationInsights" Version="4.9.3" />
20-
<PackageReference Include="Microsoft.Bot.Builder.Azure" Version="4.9.3" />
21-
<PackageReference Include="Microsoft.Bot.Builder.Integration.ApplicationInsights.Core" Version="4.9.3" />
22-
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.9.3" />
23-
<PackageReference Include="Microsoft.Bot.Builder.LanguageGeneration" Version="4.9.3" />
2417
<PackageReference Include="Microsoft.Bot.Solutions" Version="1.0.1" />
18+
<PackageReference Include="Microsoft.Bot.Builder.AI.Luis" Version="4.11.1" />
19+
<PackageReference Include="Microsoft.Bot.Builder.AI.QnA" Version="4.11.1" />
20+
<PackageReference Include="Microsoft.Bot.Builder.ApplicationInsights" Version="4.11.1" />
21+
<PackageReference Include="Microsoft.Bot.Builder.Azure.Blobs" Version="4.11.1" />
22+
<PackageReference Include="Microsoft.Bot.Builder.Integration.ApplicationInsights.Core" Version="4.11.1" />
23+
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.11.1" />
24+
<PackageReference Include="Microsoft.Bot.Builder.LanguageGeneration" Version="4.11.1" />
2525
</ItemGroup>
2626

2727
<ItemGroup>

samples/csharp/skill/SkillSample/SkillSample.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.0" />
1010
<PackageReference Include="Microsoft.Azure.CognitiveServices.ContentModerator" Version="2.0.0" />
1111
<PackageReference Include="Microsoft.Azure.CognitiveServices.Language" Version="1.0.1-preview" />
12-
<PackageReference Include="Microsoft.Bot.Builder.AI.Luis" Version="4.9.3" />
13-
<PackageReference Include="Microsoft.Bot.Builder.AI.QnA" Version="4.9.3" />
14-
<PackageReference Include="Microsoft.Bot.Builder.ApplicationInsights" Version="4.9.3" />
15-
<PackageReference Include="Microsoft.Bot.Builder.Azure" Version="4.9.3" />
16-
<PackageReference Include="Microsoft.Bot.Builder.Integration.ApplicationInsights.Core" Version="4.9.3" />
17-
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.9.3" />
12+
<PackageReference Include="Microsoft.Bot.Builder.AI.Luis" Version="4.11.1" />
13+
<PackageReference Include="Microsoft.Bot.Builder.AI.QnA" Version="4.11.1" />
14+
<PackageReference Include="Microsoft.Bot.Builder.ApplicationInsights" Version="4.11.1" />
15+
<PackageReference Include="Microsoft.Bot.Builder.Azure.Blobs" Version="4.11.1" />
16+
<PackageReference Include="Microsoft.Bot.Builder.Integration.ApplicationInsights.Core" Version="4.11.1" />
17+
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.11.1" />
1818
<PackageReference Include="Microsoft.Bot.Solutions" Version="1.0.1" />
1919
</ItemGroup>
2020

sdk/csharp/libraries/microsoft.bot.solutions/Microsoft.Bot.Solutions.csproj

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@
4242
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.8.1" />
4343
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.2.2" />
4444
<PackageReference Include="Microsoft.Azure.CognitiveServices.ContentModerator" Version="2.0.0" />
45-
<PackageReference Include="Microsoft.Bot.Builder.AI.Luis" Version="4.9.3" />
46-
<PackageReference Include="Microsoft.Bot.Builder.AI.QnA" Version="4.9.3" />
47-
<PackageReference Include="Microsoft.Bot.Builder.Azure" Version="4.9.3" />
48-
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.9.3" />
49-
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.9.3" />
50-
<PackageReference Include="Microsoft.Bot.Builder.LanguageGeneration" Version="4.9.3" />
51-
<PackageReference Include="Microsoft.Bot.Builder.TemplateManager" Version="4.9.3" />
52-
<PackageReference Include="Microsoft.Bot.Configuration" Version="4.9.3" />
53-
<PackageReference Include="Microsoft.Bot.Schema" Version="4.9.3" />
45+
<PackageReference Include="Microsoft.Bot.Builder.AI.Luis" Version="4.11.1" />
46+
<PackageReference Include="Microsoft.Bot.Builder.AI.QnA" Version="4.11.1" />
47+
<PackageReference Include="Microsoft.Bot.Builder.Azure" Version="4.11.1" />
48+
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.11.1" />
49+
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.11.1" />
50+
<PackageReference Include="Microsoft.Bot.Builder.LanguageGeneration" Version="4.11.1" />
51+
<PackageReference Include="Microsoft.Bot.Builder.TemplateManager" Version="4.11.1" />
52+
<PackageReference Include="Microsoft.Bot.Configuration" Version="4.11.1" />
53+
<PackageReference Include="Microsoft.Bot.Schema" Version="4.11.1" />
5454
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="2.1.0" />
5555
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="2.1.0" />
5656
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="2.2.0" />

sdk/csharp/tests/microsoft.bot.solutions.tests/Skills/SkillConversationIdFactoryTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class SkillConversationIdFactoryTests
2222
public void SkillConversationIdFactoryNullStorageTest()
2323
{
2424
var ex = Assert.ThrowsException<ArgumentNullException>(() => new SkillConversationIdFactory(null));
25-
Assert.IsTrue(ex.Message.Contains("Value cannot be null.\r\nParameter name: storage"));
25+
Assert.IsTrue(ex.Message.Contains("Value cannot be null. (Parameter 'storage')"));
2626
}
2727

2828
[TestMethod]

sdk/csharp/tests/microsoft.bot.solutions.tests/TaskExtensionTests/BackgroundWorkerTests.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,7 @@
22
using System.Diagnostics.CodeAnalysis;
33
using System.Threading;
44
using System.Threading.Tasks;
5-
using System.Xml.Linq;
6-
using Microsoft.Bot.Builder;
7-
using Microsoft.Bot.Builder.Adapters;
8-
using Microsoft.Bot.Schema;
9-
using Microsoft.Bot.Solutions.Feedback;
10-
using Microsoft.Bot.Solutions.Middleware;
11-
using Microsoft.Bot.Solutions.Proactive;
125
using Microsoft.Bot.Solutions.TaskExtensions;
13-
using Microsoft.Bot.Solutions.Util;
146
using Microsoft.Extensions.DependencyInjection;
157
using Microsoft.Extensions.Hosting;
168
using Microsoft.VisualStudio.TestTools.UnitTesting;

sdk/csharp/tests/microsoft.bot.solutions.tests/Util/UtilTests.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
using System.Diagnostics.CodeAnalysis;
2-
using System.Security.Policy;
3-
using System.Threading.Tasks;
4-
using System.Xml.Linq;
5-
using Microsoft.Bot.Builder;
6-
using Microsoft.Bot.Builder.Adapters;
7-
using Microsoft.Bot.Schema;
8-
using Microsoft.Bot.Solutions.Feedback;
9-
using Microsoft.Bot.Solutions.Middleware;
10-
using Microsoft.Bot.Solutions.Proactive;
112
using Microsoft.Bot.Solutions.Util;
123
using Microsoft.VisualStudio.TestTools.UnitTesting;
134

0 commit comments

Comments
 (0)