Skip to content

.net error when trying to run emulsion #175

@AfganSindrom

Description

@AfganSindrom

Server: Debian 11, .NET Runtime 6.0
I'm installing on a server for the first time.
When trying to run the command dotnet run --project ./Emulsion emulsion.json an error

Unhandled exception. System.ArgumentException: The path must be absolute. (Parameter 'root')
   at Microsoft.Extensions.FileProviders.PhysicalFileProvider..ctor(String root, ExclusionFilters filters)
   at Microsoft.Extensions.FileProviders.PhysicalFileProvider..ctor(String root)
   at Microsoft.Extensions.Configuration.FileConfigurationExtensions.SetBasePath(IConfigurationBuilder builder, String basePath)
   at Emulsion.Program.getConfiguration(String directory, String fileName) in /home/www-user/emulsion/Emulsion/Program.fs:line 20
   at Emulsion.Program.main(String[] _arg1) in /home/www-user/emulsion/Emulsion/Program.fs:line 121

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions