Stack trace linking from local path

My .NET project creates stack traces containing the location of the files on my local machine. I want to map it to the git repo using stack trace linking. When I try to enter the local base path of my project in the field “Stack Trace Root” while configuring the code mapping, I get the error message “Path may not contain spaces or quotations” (which it unfortunately does). Is there a way around it to make the linking work?