Package Manager Console - Default Project

I was looking to add MahApps and Elysium Theme to play around with more GUI options, but I can’t select a default project. Even if I select a startup project, the Default Project dropdown is empty.

It works if I create a C# solution.



Tool: Visual Studio, Visual Studio Code, PSScriptPad, PowerShell Module
Version: VS2019 & 2022

This is a limitation of the NuGet extension for Visual Studio. They need to add support for PowerShell projects. I actually opened an issue with them years ago and it was never completed. I could follow up to see if there is any way we can contribute back to the extension to see if we could support it.

You can download the NuGet package directly from NuGet:

Invoke-WebRequest -OutFile .\ 
Expand-Archive .\ .\elysium.theme

As always… Thanks Adam!


1 Like