modul manager - missing Repository for nuget.

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
Bilgerk
Posts: 5
Joined: Sun Mar 03, 2013 12:44 pm

modul manager - missing Repository for nuget.

Post by Bilgerk » Mon Feb 04, 2019 12:32 pm

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.

User avatar
brittneyr
Site Admin
Posts: 120
Joined: Thu Jun 01, 2017 7:20 am

Re: modul manager - missing Repository for nuget.

Post by brittneyr » Mon Feb 04, 2019 2:38 pm

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:
Brittney Ryn
SAPIEN Technologies, Inc.

User avatar
Bilgerk
Posts: 5
Joined: Sun Mar 03, 2013 12:44 pm

Re: modul manager - missing Repository for nuget.

Post by Bilgerk » Sat Feb 16, 2019 3:16 am

Hi
sure

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

rgd.
klaus

User avatar
brittneyr
Site Admin
Posts: 120
Joined: Thu Jun 01, 2017 7:20 am

Re: modul manager - missing Repository for nuget.

Post by brittneyr » Sat Feb 16, 2019 10:22 am

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?
Brittney Ryn
SAPIEN Technologies, Inc.

User avatar
Bilgerk
Posts: 5
Joined: Sun Mar 03, 2013 12:44 pm

Re: modul manager - missing Repository for nuget.

Post by Bilgerk » Fri Feb 22, 2019 6:34 am

well i can start MM without problems but i see not the repository for Nuget

User avatar
brittneyr
Site Admin
Posts: 120
Joined: Thu Jun 01, 2017 7:20 am

Re: modul manager - missing Repository for nuget.

Post by brittneyr » Fri Feb 22, 2019 8:14 am

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:

Code: Select all

Get-PSRepository
Each registered repository is associated with a package source. This is specified when registering a repository.
Brittney Ryn
SAPIEN Technologies, Inc.

User avatar
Bilgerk
Posts: 5
Joined: Sun Mar 03, 2013 12:44 pm

Re: modul manager - missing Repository for nuget.

Post by Bilgerk » Mon Mar 11, 2019 2:13 pm

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?

User avatar
brittneyr
Site Admin
Posts: 120
Joined: Thu Jun 01, 2017 7:20 am

Re: modul manager - missing Repository for nuget.

Post by brittneyr » Mon Mar 11, 2019 3:07 pm

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?
Brittney Ryn
SAPIEN Technologies, Inc.