Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Roybott opened this issue Oct 5, 2023 · 0 comments
Open

Comments

@Roybott
Copy link
Contributor

Roybott commented Oct 5, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant