FritzAndFriends / StreamDeckToolkit

A .NET Standard library, template, and tools for building extensions to the Elgato Stream Deck
MIT License
157 stars 45 forks source link

unable to install #175

Open BloodyMikey opened 2 years ago

BloodyMikey commented 2 years ago

Describe the bug The following template packages will be installed: StreamDeckPluginTemplate

Error: No NuGet sources are defined or enabled. StreamDeckPluginTemplate could not be installed, no NuGet feeds are configured or they are invalid.

To Reproduce dotnet new -i StreamDeckPluginTemplate

Screenshots image

Desktop (please complete the following information):

Additional context just trying to install

AlexHedley commented 2 years ago

What’s your nuget package source?

hugodahl commented 2 years ago

You can get the list of NuGet sources you have configured by running the following command: dotnet nuget list source

Your output should be something similar to this:

Registered Sources:
  1.  nuget.org [Enabled]
      https://api.nuget.org/v3/index.json
  2.  Microsoft Visual Studio Offline Packages [Enabled]
      C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\
BloodyMikey commented 2 years ago

mikey@Cortex-PC MINGW64 ~/Desktop/plugin $ dotnet nuget list source No sources found.

damn how do i fix this

AlexHedley commented 2 years ago

https://docs.microsoft.com/en-us/nuget/consume-packages/install-use-packages-visual-studio#package-sources

https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-nuget-add-source

dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org