Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Update instructions for VS code extension #512

Closed
natke opened this issue Sep 4, 2019 · 2 comments
Closed

Update instructions for VS code extension #512

natke opened this issue Sep 4, 2019 · 2 comments
Labels
Area-Conceptual Issue relates to conceptual documentation and articles bug

Comments

@natke
Copy link
Member

natke commented Sep 4, 2019

As it stands, creating a new Q# project fails if you install the VS code extension, using these instructions: https://docs.microsoft.com/en-us/quantum/quickstart?tabs=tabid-vscode&view=qsharp-preview

The templates need to be installed as a separate step:

From within VS you can create a new project with the standard GUI option (right click solution, new project etc). If you want to create a project from the command line you have to install the project templates, which are a separate nuget package: https://www.nuget.org/packages/Microsoft.Quantum.ProjectTemplates/0.9.1908.2906

@cgranade
Copy link
Contributor

cgranade commented Sep 4, 2019

Thanks for filing this, I agree we should be more clear about the requirement that project templates are installed before hand. From the command line (whether standalone or the integrated terminal within VS Code), dotnet new -i Microsoft.Quantum.ProjectTemplates should do it. For VS Code in particular, the "Q#: Install project templates..." command from the Command Palette can also be used.

@bromeg bromeg added bug Area-Conceptual Issue relates to conceptual documentation and articles labels Sep 5, 2019
@natke
Copy link
Member Author

natke commented Oct 1, 2019

This is fixed by #533

@natke natke closed this as completed Oct 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Area-Conceptual Issue relates to conceptual documentation and articles bug
Projects
None yet
Development

No branches or pull requests

3 participants