Search code examples
visual-studio-2017quantum-computingq#

Unable to create new Q# project using Microsoft Quantum Development Kit


Having just installed the Microsoft Quantum Development Kit, creating a new Q# project fails with the obscure message:

Argument can't be null: Parameter name: node.

(I am using a clean install of Visual Studio 2017 Community, with latest updates applied.)

Screen shot illustrating how to reproduce the problem: enter image description here


And the resultant error message:

enter image description here

Does anyone know what causes this error, and how it may be resolved?


Solution

  • I had a similar issue (also with VS Community 2017 and Q#) - a repair of VS fixed the issue for me and it's worked fine since.