-
Notifications
You must be signed in to change notification settings - Fork 715
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
Using 9.3.0-preview.1.25230.17', I get an unexpected error if I run aspire in my user profile directory.
It seems like aspire is trying to scan the directory structure, but the Application Data folder in your user profile is a special Junction point which aspire doesn't seem to cope with.
Expected Behavior
No response
Steps To Reproduce
cd ~
aspire publish --publisher kubernetes --output-path helm --debugExceptions (if any)
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
Content root path: C:\Users\alexanderc
dbug: Aspire.Cli.Projects.ProjectLocator[0]
Finding project file in C:\Users\alexanderc
dbug: Aspire.Cli.Projects.ProjectLocator[0]
No project file specified, searching for *.csproj files in %USERPROFILE%
dbug: Aspire.Cli.Projects.ProjectLocator[0]
Searching for project files in C:\Users\alexanderc
👎 An unexpected error occurred: Access to the path '%USERPROFILE%\Application Data' is denied.
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
.NET Version info
No response
Anything else?
No response