abp icon indicating copy to clipboard operation
abp copied to clipboard

CLI : Can not use cli create new app when nuget path changed.

Open RobersonLuo opened this issue 9 months ago • 1 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Description

When I use CLI to create a new App, it failed! Please see the detail info below:

Image

I have changed the Nuget config path from "C:\xxx.nuget\packages" to "D:.nuge\packages", but The CLI seems still use the old Nuget config Path of "C:\xxx.nuget\packages" and can't find templates.

Please have a check, Thanks.

Reproduction Steps

No response

Expected behavior

No response

Actual behavior

No response

Regression?

No response

Known Workarounds

No response

Version

the latest new version 0.9.26

User Interface

Angular

Database Provider

EF Core (Default)

Tiered or separate authentication server

Tiered

Operation System

Windows (Default)

Other information

No response

RobersonLuo avatar May 15 '25 07:05 RobersonLuo

hi

Can you add your folder as a NUGET_PACKAGES environment variable?

NUGET_PACKAGES: Path to use for the global-packages folder as described on Managing the global packages and cache folders. | Specified as absolute path.

https://learn.microsoft.com/en-us/nuget/consume-packages/managing-the-global-packages-and-cache-folders

maliming avatar May 16 '25 01:05 maliming

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 18 '25 23:07 stale[bot]