Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

How can I change the user path for .NET?

$
0
0

After changing my username and user path (e.g. /Users/) in OSX settings, when I try to use the dotnet command to install a package like dotnet new --install CelesteMod.Templates I get the following error:

[2023-01-18 16:09:16.528] [Debug] [Microsoft.TemplateEngine.Edge.Installers.NuGet.NuGetInstaller] => [Execute]: Uninstalling CelesteMod.Templates::1.0.2 failed. Details:System.IO.DirectoryNotFoundException: Could not find a part of the path '/Users/<old username>/.templateengine/packages/CelesteMod.Templates.1.0.2.nupkg'.   at System.IO.FileSystem.DeleteFile(String fullPath)   at Microsoft.TemplateEngine.Edge.Installers.NuGet.NuGetInstaller.UninstallAsync(IManagedTemplatePackage templatePackage, IManagedTemplatePackageProvider provider, CancellationToken cancellationToken)Failed to install CelesteMod.Templates::1.0.2, the template package is invalid.

Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>