Page 1 of 1

modul manager - missing Repository for nuget.

Posted: Mon Feb 04, 2019 12:32 pm
by Bilgerk
hi
i have the same problem with [/img]the modul manager
But I have the nutget installed. Restart the application same problem, restart the machien same result.



PS C:\Users\administrator> Get-PackageProvider

Name Version DynamicOptions
---- ------- --------------
msi 3.0.0.0 AdditionalArguments
msu 3.0.0.0
NuGet 3.0.0.1 Destination, ExcludeVersion, Scope, SkipDependencies, Headers, FilterOnTag, Contains, AllowPrereleaseVersions, ConfigFile, SkipVal...
PowerShellGet 1.0.0.1 PackageManagementProvider, Type, Scope, AllowClobber, SkipPublisherCheck, InstallUpdate, NoPathUpdate, Filter, Tag, Includes, DscR...
Programs 3.0.0.0 IncludeWindowsInstaller, IncludeSystemComponent


Get-PackageSource

Name ProviderName IsTrusted Location
---- ------------ --------- --------
nuget.org NuGet False https://api.nuget.org/v3/index.json
PSGallery PowerShellGet False https://www.powershellgallery.com/api/v2

to install a nuget without error

Install-Package NLog -ProviderName NuGet

Name Version Source Summary
---- ------- ------ -------
NLog 4.1.2 nuget.org NLog - Advanced .NET and Silverlight Logging


Please help me.
thx.

Re: modul manager - missing Repository for nuget.

Posted: Mon Feb 04, 2019 2:38 pm
by brittneyr
Thanks for reporting your issue.
Can you please provide the following information?
Product, version and build:
32 or 64 bit version of product:
Operating system:
32 or 64 bit OS:

Re: modul manager - missing Repository for nuget.

Posted: Sat Feb 16, 2019 3:16 am
by Bilgerk
Hi
sure

a) Windows 10, 64bit (1809, 17763.316)
b) MM 2019 1.1.0 64Bit

rgd.
klaus

Re: modul manager - missing Repository for nuget.

Posted: Sat Feb 16, 2019 10:22 am
by brittneyr
Just for my clarification, when you say you are missing repository for NuGet, do you mean that ModuleManager doesn’t detect it is installed and keeps asking if you would like to install NuGet? What is happening when you start the application?

Re: modul manager - missing Repository for nuget.

Posted: Fri Feb 22, 2019 6:34 am
by Bilgerk
well i can start MM without problems but i see not the repository for Nuget

Re: modul manager - missing Repository for nuget.

Posted: Fri Feb 22, 2019 8:14 am
by brittneyr
NuGet is a package provider, not a repository. The command Get-PackageSource shows you a list of package sources that are registered with Package Management.
The following PowerShell command will show you what repositories are registered on your local machine:
  1. Get-PSRepository
Each registered repository is associated with a package source. This is specified when registering a repository.

Re: modul manager - missing Repository for nuget.

Posted: Mon Mar 11, 2019 2:13 pm
by Bilgerk
ok
thx for your answer. I'm very thankful for your help
but what is the tool for when i need the Repository. I think with Nuget I have also access to PowerShell Modules and the Application is called Module Manager?

Re: modul manager - missing Repository for nuget.

Posted: Mon Mar 11, 2019 3:07 pm
by brittneyr
NuGet isn't a repository, it is the package provider that is required when installing or updating from the PowerShell Gallery or any other NuGet-based repository. The PowerShell Gallery, or PSGallery, is the default repository in PowerShell. I'm not quite sure what you mean by 'access to PowerShell Modules', can you please elaborate?