Skip to content

Commit bf3d141

Browse files
author
BruceHaley
authored
Set state.bot property to "Copy always"
This is critical for having the bot work when it is deployed to Azure. Without it, "Test in Web Chat" hangs forever with "Waiting for bot to be ready". The other projects in this group of dotnet_core bot samples are correct. This is the only one that lacks the setting. Best, Bruce.
1 parent e6720f9 commit bf3d141

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

SDKV4-Samples/dotnet_core/StateBot/StateBot.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@
99

1010

1111
<ItemGroup>
12+
<Content Include="state.bot">
13+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
14+
</Content>
15+
</ItemGroup>
16+
17+
18+
<ItemGroup>
1219
<PackageReference Include="Microsoft.AspNetCore" Version="2.1.3" />
1320
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.7" />
1421
<PackageReference Include="AsyncUsageAnalyzers" Version="1.0.0-alpha003" PrivateAssets="all" />

0 commit comments

Comments
 (0)