To help you better we need some information from you.
*** Please fill in the fields below if you are currently using a Trial Version of the Product. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***
Product, version and build: Module Manager 1.0.1Beta
32 or 64 bit version of product:64 bit
Operating system:
32 or 64 bit OS:64 bit
*** Please add details and screenshots as needed below. ***
I have Nuget installed when I installed Visual Studio 2017 Enterprise Edition on my laptop. When I launch Module Manager, it displays a message that Nuget does not appear to be installed.
Module Manager - Nuget Issue
Forum rules
DO NOT POST SUBSCRIPTION 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.
DO NOT POST SUBSCRIPTION 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.
- timstspry17
- Posts: 45
- Last visit: Tue Apr 18, 2023 2:49 pm
- mxtrinidad
- Posts: 399
- Last visit: Tue May 16, 2023 6:52 am
Re: Module Manager - Nuget Issue
Keep in mind, Visual Studio Nuget installation is not related PowerShell. You need to register Nuget/PowerShellGet repository first in Windows PowerShell, And, preferably use the ".. Run as Administrator" when opening the console.
Use the following script code to register Nuget in PowerShell. At the PowerShell console prompt, execute the following code:
After this is done, then reinstall Module Manager.
As this is a Preview version, we'll make a note to verify that Nuget is already register in Windows PowerShell.
Hope this will clear the issue!
Use the following script code to register Nuget in PowerShell. At the PowerShell console prompt, execute the following code:
Code: Select all
function Verify-NugetRegistered
{
[CmdletBinding()]
Param ()
# Microsoft provided code:
# Register NuGet package source, if needed
# The package source may not be available on some systems (e.g. Linux/Windows)
if (-not (Get-PackageSource | Where-Object{ $_.Name -eq 'Nuget' }))
{
Register-PackageSource -Name Nuget -ProviderName NuGet -Location https://www.nuget.org/api/v2
}
else
{
Write-Host "NuGet Already Exist! No Need to install." -ForegroundColor Yellow;
};
};
## - Execute:
Verify-NugetRegistered
As this is a Preview version, we'll make a note to verify that Nuget is already register in Windows PowerShell.
Hope this will clear the issue!
- timstspry17
- Posts: 45
- Last visit: Tue Apr 18, 2023 2:49 pm