C#C
C#10mo ago
WhiteCharun

✅ [Docker Compose] The path must be absolute. (Parameter 'root')

I added docker orchestration to my MVC project using Docker Compose but when I start the application in debug mode I get
System.ArgumentException: 'The path must be absolute. (Parameter 'root')' 
on the line
var builder = WebApplication.CreateBuilder(args);
.
The strange thing is that I don't get that exception in release mode.
Was this page helpful?