News

Microsoft Updates Quantum Development Kit to .NET 6, VS 2022

Microsoft updated its Quantum Development Kit (QDK) to support.NET 6 instead of .NET Core 3.1, and Visual Studio 2022 instead of VS 2019.

"This change will enable a simpler onboarding experience for new users, allow us to offer an extension for Visual Studio 2022, and enable our contributors to leverage new features available in C# 10," Microsoft's Ricardo Espinoza said in a June 8 blog post.

The QDK was still using .NET Core 3.1 because the dev team chose to align with Long Term Support (LTS) .NET releases, which are supported for three years after initial release instead of Current releases, which are supported for 18 months.

"The last time we updated the Quantum Development Kit to a new .NET version was in January 2020 when we adopted the just released .NET Core 3.1," said Espinoza, a senior software engineer. "Since then, we made the decision to stay in the LTS version and not migrate into Current releases, which have a shorter support period. This provides stability and avoids possible disruptions when migrating from one version to another while at the same time. It also ensures that the QDK runs on a fully supported .NET release."

Microsoft Quantum Development Kit Extension
[Click on image for larger view.] Microsoft Quantum Development Kit Extension (source: Microsoft).

At the same time, the team decided to support VS 2022, which arrived with .NET 6 last November. That required a new Visual Studio extension in the IDE's marketplace. Now, the new Microsoft Quantum Development Kit extension for "developing quantum algorithms in the Q# programming language" shows 602 installations. "The Quantum Development Kit contains the tools you'll need to build your own quantum computing programs and experiments," its marketplace entry states. "Assuming some experience with Visual Studio, beginners can write their first quantum program, and experienced researchers can quickly and efficiently develop new quantum algorithms."

For those who don't want to update to VS 2022, the old and no-longer-updated VS 2019 QDK extension is still available, showing more than 80,000 installs and earnings an average 3.6 (scale 1-5) from 52 developers who reviewed it.

The announcement post details how to migrate existing projects.

"If you have an older project that references an previous version of the QDK you can continue using it as is with the Visual Studio Code and Visual Studio 2019 extensions; however, you might also want to manually update those Q# projects to a newer version of the Quantum Development Kit to benefit from newer features or if you have migrated to Visual Studio 2022," Espinoza said.

About the Author

David Ramel is an editor and writer for Converge360.

comments powered by Disqus

Featured

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

  • .NET 9 Preview 3: 'I've Been Waiting 9 Years for This API!'

    Microsoft's third preview of .NET 9 sees a lot of minor tweaks and fixes with no earth-shaking new functionality, but little things can be important to individual developers.

  • Data Anomaly Detection Using a Neural Autoencoder with C#

    Dr. James McCaffrey of Microsoft Research tackles the process of examining a set of source data to find data items that are different in some way from the majority of the source items.

  • What's New for Python, Java in Visual Studio Code

    Microsoft announced March 2024 updates to its Python and Java extensions for Visual Studio Code, the open source-based, cross-platform code editor that has repeatedly been named the No. 1 tool in major development surveys.

Subscribe on YouTube