Skip to content

sk-csharp-hello-world starter project doesn't build and run in VSCode #75

Open
@Roybott

Description

@Roybott

Describe the bug
Using the Get Started link from the SK Tools in VSCode, I created a new app and selected Console Chat. This got the required files for running the sk-csharp-hello-world starter project but hitting F5 fails due to the tasks.json referencing sk-csharp-hello-world.sln which does not exist.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Helpful Links -> Get Started from the Semantic Kernal VSCode Extension
  2. Click on 'Create a new App'
image
  1. Select 'C# Console App' (select a folder and let it setup the files)
  2. Hit F5 to build, run, debug the app
  3. See error in terminal:

MSBUILD : error MSB1009: Project file does not exist.
Switch: C:\Dev\SK\Scratch\ConsoleChat\sk-csharp-console-chat/sk-csharp-console-chat.sln

Expected behavior
App should build, run and enter debug

Desktop (please complete the following information):

  • OS: Windows
  • IDE: VS Code

Additional context
This can be fixed by editing the tasks.json to reference the sk-csharp-hello-world.proj project file rather than the sln file that doesn't exist.

I will open a PR to address this soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions