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.
This topic is 5 years and 1 week old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
Bilgerk
Posts: 7
Last visit: Fri Mar 15, 2024 5:47 am

modul manager - missing Repository for nuget.

Post 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.
User avatar
brittneyr
Site Admin
Posts: 1649
Last visit: Mon Mar 18, 2024 1:47 pm
Answers: 38
Been upvoted: 30 times

Re: modul manager - missing Repository for nuget.

Post 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:
Brittney
SAPIEN Technologies, Inc.
User avatar
Bilgerk
Posts: 7
Last visit: Fri Mar 15, 2024 5:47 am

Re: modul manager - missing Repository for nuget.

Post by Bilgerk »

Hi
sure

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

rgd.
klaus
User avatar
brittneyr
Site Admin
Posts: 1649
Last visit: Mon Mar 18, 2024 1:47 pm
Answers: 38
Been upvoted: 30 times

Re: modul manager - missing Repository for nuget.

Post 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?
Brittney
SAPIEN Technologies, Inc.
User avatar
Bilgerk
Posts: 7
Last visit: Fri Mar 15, 2024 5:47 am

Re: modul manager - missing Repository for nuget.

Post by Bilgerk »

well i can start MM without problems but i see not the repository for Nuget
User avatar
brittneyr
Site Admin
Posts: 1649
Last visit: Mon Mar 18, 2024 1:47 pm
Answers: 38
Been upvoted: 30 times

Re: modul manager - missing Repository for nuget.

Post 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.
Brittney
SAPIEN Technologies, Inc.
User avatar
Bilgerk
Posts: 7
Last visit: Fri Mar 15, 2024 5:47 am

Re: modul manager - missing Repository for nuget.

Post 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?
User avatar
brittneyr
Site Admin
Posts: 1649
Last visit: Mon Mar 18, 2024 1:47 pm
Answers: 38
Been upvoted: 30 times

Re: modul manager - missing Repository for nuget.

Post 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?
Brittney
SAPIEN Technologies, Inc.
This topic is 5 years and 1 week old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.