WeihanLi / dotnet-exec

dotnet execute with custom entry point, another dotnet run without project file
https://weihanli.github.io/dotnet-exec/
Apache License 2.0
51 stars 5 forks source link

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

Closed WeihanLi closed 11 months ago

WeihanLi commented 11 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