Persistence SQL Scripts with ASP.NET Core Single-file executable issues

An interesting buggy behavior I found while persistence execution scripts did not run when publishing my dotnet application using the /p:PublishSingleFile attribute:

Hi Tal,

Thanks for linking that here. We’ll keep an eye on it. At first glance, it’s likely they aren’t parsing paths correctly on Linux. Possibly a \ vs. / thing.

– Kyle

Hey Kyle,

Please see swaroop-sridhar response at since the problem is caused both due to NServiceBus and dotnet SDK.


Hi Tal

We did as part of the v5 release that should address this issue. Can you give it a go and report back?