Msteams-docs: Hello world sample does not run

Created on 21 Sep 2018  Â·  4Comments  Â·  Source: MicrosoftDocs/msteams-docs

The Hello World Team App will build, but when running under Debug mode get the following error:
Could not find a part of the path 'D:\Teams_Repos\msteams-samples-hello-world-csharp\Microsoft.Teams.Samples.HelloWorld.Web\bin\roslyn\csc.exe'. Looking at my directory, there is no roslyn directory under the bin folder


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

All 4 comments

Explain the botId further please, you never explain where it comes from or how to get it.

@jxs0900 :
Here is the documentation on Creating a new bot. Microsoft App Id created in this process is your Bot Id.

@Navyjetfixer :
For missing "csc.exe" could you please delete your packages folder and restore packages one more time.

Navyjetfixer,

Run this in Package Manager Console:

update-package Microsoft.CodeDom.Providers.DotNetCompilerPlatform -r

Deleted packages and ran package update in Package Manager Console and it works as advertised. Thank you for your help, bug resolved.

Was this page helpful?
0 / 5 - 0 ratings