WeihanLi / dotnet-exec

dotnet execute with custom entry point, another dotnet run without project file
Apache License 2.0
43 stars 4 forks source link

The type initializer for 'Exec.Services.ConfigProfileManager' threw an exception #13

Closed WeihanLi closed 6 months ago

WeihanLi commented 6 months ago
Unhandled exception. System.TypeInitializationException: The type initializer for 'Exec.Services.ConfigProfileManager' threw an exception.
 ---> System.IO.DirectoryNotFoundException: Could not find a part of the path '/root/.dotnet/tools/dotnet-exec/profiles'.
   at System.IO.FileSystem.CreateDirectory(String fullPath, UnixFileMode unixCreateMode)
   at System.IO.Directory.CreateDirectory(String path)
   at Exec.Services.ConfigProfileManager..cctor() in /_/src/dotnet-exec/Services/ConfigProfileManager.cs:line 23