BotBuilder-Samples icon indicating copy to clipboard operation
BotBuilder-Samples copied to clipboard

Samples (csharp_webapi/13.core-bot) fail due to DirectoryNotFoundException

Open sw-joelmut opened this issue 3 years ago • 0 comments

Context

For more information, see the parent issue. #3436

Sample information

  1. Sample type: Samples
  2. Sample language: csharp_webapi
  3. Sample name: csharp_webapi/13.core-bot

Describe the bug

The Bot csharp_webapi/13.core-bot compiles successfully, but when accessing through to the /api/messages endpoint either through a browser or Bot Framework Emulator, it throws that couldn't find the \bin\roslyn\csc.exe file.

Bots Status
sharp_webapi/13.core-bot • Fails when accessing through the web or hitting the api/messages endpoint
• System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\repos\BotBuilder-Samples\samples\csharp_webapi\13.core-bot\bin\roslyn\csc.exe'.

Expected behavior

Being able to run the bot locally and in Azure, and should accomplish its functionality.

Actual behavior

Throws DirectoryNotFoundException due to couldn't find the \bin\roslyn\csc.exe file.

sw-joelmut avatar Aug 31 '21 12:08 sw-joelmut