- net8.0
+ net9.0
f277272c-9113-411f-addd-a4acfa9701a2
Microsoft.BotBuilderSamples
diff --git a/tests/Microsoft.Bot.Builder.TestBot/wwwroot/default.htm b/tests/Microsoft.Bot.Builder.TestBot/wwwroot/default.htm
index 1af048a674..80b737fec2 100644
--- a/tests/Microsoft.Bot.Builder.TestBot/wwwroot/default.htm
+++ b/tests/Microsoft.Bot.Builder.TestBot/wwwroot/default.htm
@@ -5,7 +5,7 @@
- TestBot using ASP.Net 8
+ TestBot using ASP.Net 9
Describe your bot here and your terms of use etc.
To debug your bot using the Bot Framework Emulator, paste this URL into the Emulator window:
diff --git a/tests/Microsoft.Bot.Builder.TestProtocol/Microsoft.Bot.Builder.TestProtocol.csproj b/tests/Microsoft.Bot.Builder.TestProtocol/Microsoft.Bot.Builder.TestProtocol.csproj
index 700d5827d8..112c6e31a4 100644
--- a/tests/Microsoft.Bot.Builder.TestProtocol/Microsoft.Bot.Builder.TestProtocol.csproj
+++ b/tests/Microsoft.Bot.Builder.TestProtocol/Microsoft.Bot.Builder.TestProtocol.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
1ae6e573-b022-4bd5-b6b5-7ea57e4977f8
diff --git a/tests/Microsoft.Bot.Builder.Testing.Tests/Microsoft.Bot.Builder.Testing.Tests.csproj b/tests/Microsoft.Bot.Builder.Testing.Tests/Microsoft.Bot.Builder.Testing.Tests.csproj
index 2e5d7bd9c3..bfb7c642b9 100644
--- a/tests/Microsoft.Bot.Builder.Testing.Tests/Microsoft.Bot.Builder.Testing.Tests.csproj
+++ b/tests/Microsoft.Bot.Builder.Testing.Tests/Microsoft.Bot.Builder.Testing.Tests.csproj
@@ -1,9 +1,9 @@
- net6.0
net8.0
- net6.0;net8.0
+ net9.0
+ net8.0;net9.0
false
false
Debug;Release
diff --git a/tests/Microsoft.Bot.Builder.Tests/Microsoft.Bot.Builder.Tests.csproj b/tests/Microsoft.Bot.Builder.Tests/Microsoft.Bot.Builder.Tests.csproj
index 2b3c4afcb0..bd9d858a31 100644
--- a/tests/Microsoft.Bot.Builder.Tests/Microsoft.Bot.Builder.Tests.csproj
+++ b/tests/Microsoft.Bot.Builder.Tests/Microsoft.Bot.Builder.Tests.csproj
@@ -1,9 +1,9 @@
- net6.0
net8.0
- net6.0;net8.0
+ net9.0
+ net8.0;net9.0
false
false
Debug;Release
diff --git a/tests/Microsoft.Bot.Builder.Tests/Teams/TeamsActivityHandlerTests.cs b/tests/Microsoft.Bot.Builder.Tests/Teams/TeamsActivityHandlerTests.cs
index 4cc3263efb..12506422c5 100644
--- a/tests/Microsoft.Bot.Builder.Tests/Teams/TeamsActivityHandlerTests.cs
+++ b/tests/Microsoft.Bot.Builder.Tests/Teams/TeamsActivityHandlerTests.cs
@@ -1201,7 +1201,7 @@ void CaptureSend(Activity[] arg)
Assert.Equal("OnTeamsMeetingStartAsync", bot.Record[1]);
Assert.NotNull(activitiesToSend);
Assert.Single(activitiesToSend);
- Assert.Contains("12:01:02 AM", activitiesToSend[0].Text); // Date format differs between OSs, so we just Assert.Contains instead of Assert.Equals
+ Assert.Contains("12:01:02", activitiesToSend[0].Text); // Date format differs between OSs, so we just Assert.Contains instead of Assert.Equals
}
[Fact]
@@ -1234,7 +1234,7 @@ void CaptureSend(Activity[] arg)
Assert.Equal("OnTeamsMeetingEndAsync", bot.Record[1]);
Assert.NotNull(activitiesToSend);
Assert.Single(activitiesToSend);
- Assert.Contains("1:02:03 AM", activitiesToSend[0].Text); // Date format differs between OSs, so we just Assert.Contains instead of Assert.Equals
+ Assert.Contains("1:02:03", activitiesToSend[0].Text); // Date format differs between OSs, so we just Assert.Contains instead of Assert.Equals
}
[Fact]
diff --git a/tests/Microsoft.Bot.Builder.Transcripts.Tests/Microsoft.Bot.Builder.Transcripts.Tests.csproj b/tests/Microsoft.Bot.Builder.Transcripts.Tests/Microsoft.Bot.Builder.Transcripts.Tests.csproj
index 24f7e91042..2146f0bd58 100644
--- a/tests/Microsoft.Bot.Builder.Transcripts.Tests/Microsoft.Bot.Builder.Transcripts.Tests.csproj
+++ b/tests/Microsoft.Bot.Builder.Transcripts.Tests/Microsoft.Bot.Builder.Transcripts.Tests.csproj
@@ -1,8 +1,8 @@
- net6.0
net8.0
- net6.0;net8.0
+ net9.0
+ net8.0;net9.0
false
false
Debug;Release
diff --git a/tests/Microsoft.Bot.Configuration.Tests/Microsoft.Bot.Configuration.Tests.csproj b/tests/Microsoft.Bot.Configuration.Tests/Microsoft.Bot.Configuration.Tests.csproj
index 10ad7c96fb..fc4dd71ef2 100644
--- a/tests/Microsoft.Bot.Configuration.Tests/Microsoft.Bot.Configuration.Tests.csproj
+++ b/tests/Microsoft.Bot.Configuration.Tests/Microsoft.Bot.Configuration.Tests.csproj
@@ -1,8 +1,8 @@
- net6.0
net8.0
- net6.0;net8.0
+ net9.0
+ net8.0;net9.0
false
false
Debug;Release
diff --git a/tests/Microsoft.Bot.Connector.Streaming.Perf/Microsoft.Bot.Connector.Streaming.Perf.csproj b/tests/Microsoft.Bot.Connector.Streaming.Perf/Microsoft.Bot.Connector.Streaming.Perf.csproj
index e7fbe472a0..399f3f9a71 100644
--- a/tests/Microsoft.Bot.Connector.Streaming.Perf/Microsoft.Bot.Connector.Streaming.Perf.csproj
+++ b/tests/Microsoft.Bot.Connector.Streaming.Perf/Microsoft.Bot.Connector.Streaming.Perf.csproj
@@ -3,7 +3,7 @@
Exe
- net8.0
+ net9.0
diff --git a/tests/Microsoft.Bot.Connector.Streaming.Tests.Client/Microsoft.Bot.Connector.Streaming.Tests.Client.csproj b/tests/Microsoft.Bot.Connector.Streaming.Tests.Client/Microsoft.Bot.Connector.Streaming.Tests.Client.csproj
index c4eab565ea..89aa1f0de4 100644
--- a/tests/Microsoft.Bot.Connector.Streaming.Tests.Client/Microsoft.Bot.Connector.Streaming.Tests.Client.csproj
+++ b/tests/Microsoft.Bot.Connector.Streaming.Tests.Client/Microsoft.Bot.Connector.Streaming.Tests.Client.csproj
@@ -2,7 +2,7 @@
Exe
- net8.0
+ net9.0
diff --git a/tests/Microsoft.Bot.Connector.Streaming.Tests.Server/Microsoft.Bot.Connector.Streaming.Tests.Server.csproj b/tests/Microsoft.Bot.Connector.Streaming.Tests.Server/Microsoft.Bot.Connector.Streaming.Tests.Server.csproj
index 2c914a3546..6de73e6083 100644
--- a/tests/Microsoft.Bot.Connector.Streaming.Tests.Server/Microsoft.Bot.Connector.Streaming.Tests.Server.csproj
+++ b/tests/Microsoft.Bot.Connector.Streaming.Tests.Server/Microsoft.Bot.Connector.Streaming.Tests.Server.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
latest
diff --git a/tests/Microsoft.Bot.Connector.Streaming.Tests/Microsoft.Bot.Connector.Streaming.Tests.csproj b/tests/Microsoft.Bot.Connector.Streaming.Tests/Microsoft.Bot.Connector.Streaming.Tests.csproj
index 7587366d30..5dbb290a68 100644
--- a/tests/Microsoft.Bot.Connector.Streaming.Tests/Microsoft.Bot.Connector.Streaming.Tests.csproj
+++ b/tests/Microsoft.Bot.Connector.Streaming.Tests/Microsoft.Bot.Connector.Streaming.Tests.csproj
@@ -1,9 +1,9 @@
- net6.0
net8.0
- net6.0;net8.0
+ net9.0
+ net8.0;net9.0
false
false
Debug;Release
diff --git a/tests/Microsoft.Bot.Connector.Tests/AttachmentsTests.cs b/tests/Microsoft.Bot.Connector.Tests/AttachmentsTests.cs
index 0e8a4d92d2..6cec18ff13 100644
--- a/tests/Microsoft.Bot.Connector.Tests/AttachmentsTests.cs
+++ b/tests/Microsoft.Bot.Connector.Tests/AttachmentsTests.cs
@@ -138,7 +138,7 @@ await UseClientFor(async client =>
stream.Position = 0;
var length = stream.Length > int.MaxValue ? int.MaxValue : Convert.ToInt32(stream.Length);
var buffer = new byte[length];
- stream.Read(buffer, 0, length);
+ stream.ReadExactly(buffer);
var actualAsString = Convert.ToBase64String(buffer, Base64FormattingOptions.None);
diff --git a/tests/Microsoft.Bot.Connector.Tests/Microsoft.Bot.Connector.Tests.csproj b/tests/Microsoft.Bot.Connector.Tests/Microsoft.Bot.Connector.Tests.csproj
index 0014aef311..cc62ceea72 100644
--- a/tests/Microsoft.Bot.Connector.Tests/Microsoft.Bot.Connector.Tests.csproj
+++ b/tests/Microsoft.Bot.Connector.Tests/Microsoft.Bot.Connector.Tests.csproj
@@ -1,8 +1,8 @@
- net6.0
net8.0
- net6.0;net8.0
+ net9.0
+ net8.0;net9.0
false
false
Debug;Release
diff --git a/tests/Microsoft.Bot.Schema.Tests/Microsoft.Bot.Schema.Tests.csproj b/tests/Microsoft.Bot.Schema.Tests/Microsoft.Bot.Schema.Tests.csproj
index f363d68fc0..1403646795 100644
--- a/tests/Microsoft.Bot.Schema.Tests/Microsoft.Bot.Schema.Tests.csproj
+++ b/tests/Microsoft.Bot.Schema.Tests/Microsoft.Bot.Schema.Tests.csproj
@@ -1,8 +1,8 @@
- net6.0
net8.0
- net6.0;net8.0
+ net9.0
+ net8.0;net9.0
false
false
Debug;Release
diff --git a/tests/Microsoft.Bot.Streaming.Tests/Microsoft.Bot.Streaming.Tests.csproj b/tests/Microsoft.Bot.Streaming.Tests/Microsoft.Bot.Streaming.Tests.csproj
index 9356f03676..10613b26e9 100644
--- a/tests/Microsoft.Bot.Streaming.Tests/Microsoft.Bot.Streaming.Tests.csproj
+++ b/tests/Microsoft.Bot.Streaming.Tests/Microsoft.Bot.Streaming.Tests.csproj
@@ -1,9 +1,9 @@
- net6.0
net8.0
- net6.0;net8.0
+ net9.0
+ net8.0;net9.0
false
diff --git a/tests/Parsers/Microsoft.Bot.Builder.Parsers.LU.Tests/Microsoft.Bot.Builder.Parsers.LU.Tests.csproj b/tests/Parsers/Microsoft.Bot.Builder.Parsers.LU.Tests/Microsoft.Bot.Builder.Parsers.LU.Tests.csproj
index fcf9f0830b..55c3a580a5 100644
--- a/tests/Parsers/Microsoft.Bot.Builder.Parsers.LU.Tests/Microsoft.Bot.Builder.Parsers.LU.Tests.csproj
+++ b/tests/Parsers/Microsoft.Bot.Builder.Parsers.LU.Tests/Microsoft.Bot.Builder.Parsers.LU.Tests.csproj
@@ -1,9 +1,9 @@
- net6.0
net8.0
- net6.0;net8.0
+ net9.0
+ net8.0;net9.0
false
false
Debug;Release
diff --git a/tests/Skills/Bot1/Bot1.csproj b/tests/Skills/Bot1/Bot1.csproj
index acd671f4f5..f7bd4e0da8 100644
--- a/tests/Skills/Bot1/Bot1.csproj
+++ b/tests/Skills/Bot1/Bot1.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
diff --git a/tests/Skills/Bot2/Bot2.csproj b/tests/Skills/Bot2/Bot2.csproj
index acd671f4f5..f7bd4e0da8 100644
--- a/tests/Skills/Bot2/Bot2.csproj
+++ b/tests/Skills/Bot2/Bot2.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
diff --git a/tests/Skills/Bot3/Bot3.csproj b/tests/Skills/Bot3/Bot3.csproj
index acd671f4f5..f7bd4e0da8 100644
--- a/tests/Skills/Bot3/Bot3.csproj
+++ b/tests/Skills/Bot3/Bot3.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
diff --git a/tests/Skills/Child/Child.csproj b/tests/Skills/Child/Child.csproj
index e7d4b6730f..65e8e14476 100644
--- a/tests/Skills/Child/Child.csproj
+++ b/tests/Skills/Child/Child.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
f277272c-9113-411f-addd-a4acfa9701a2
Microsoft.BotBuilderSamples
diff --git a/tests/Skills/Parent/Parent.csproj b/tests/Skills/Parent/Parent.csproj
index e02384503c..5d4152c5ea 100644
--- a/tests/Skills/Parent/Parent.csproj
+++ b/tests/Skills/Parent/Parent.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net9.0
f277272c-9113-411f-addd-a4acfa9701a2
Microsoft.BotBuilderSamples
diff --git a/tests/integration/Microsoft.Bot.ApplicationInsights.Core.Tests/Microsoft.Bot.ApplicationInsights.Core.Tests.csproj b/tests/integration/Microsoft.Bot.ApplicationInsights.Core.Tests/Microsoft.Bot.ApplicationInsights.Core.Tests.csproj
index 48fddc7e51..b9e5a462af 100644
--- a/tests/integration/Microsoft.Bot.ApplicationInsights.Core.Tests/Microsoft.Bot.ApplicationInsights.Core.Tests.csproj
+++ b/tests/integration/Microsoft.Bot.ApplicationInsights.Core.Tests/Microsoft.Bot.ApplicationInsights.Core.Tests.csproj
@@ -1,22 +1,22 @@
- net6.0
net8.0
- net6.0;net8.0
+ net9.0
+ net8.0;net9.0
false
false
Debug;Release
-
-
-
-
+
+
+
+
diff --git a/tests/integration/Microsoft.Bot.Builder.Integration.AspNet.Core.Tests/Microsoft.Bot.Builder.Integration.AspNet.Core.Tests.csproj b/tests/integration/Microsoft.Bot.Builder.Integration.AspNet.Core.Tests/Microsoft.Bot.Builder.Integration.AspNet.Core.Tests.csproj
index ce630ea141..5612952c24 100644
--- a/tests/integration/Microsoft.Bot.Builder.Integration.AspNet.Core.Tests/Microsoft.Bot.Builder.Integration.AspNet.Core.Tests.csproj
+++ b/tests/integration/Microsoft.Bot.Builder.Integration.AspNet.Core.Tests/Microsoft.Bot.Builder.Integration.AspNet.Core.Tests.csproj
@@ -1,9 +1,9 @@
- net6.0
net8.0
- net6.0;net8.0
+ net9.0
+ net8.0;net9.0
false
false
Debug;Release