WithBindMount methods failing when running in integration tests because paths aren't resolved relative to AppHost project #3323
Labels
area-app-model
Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
Milestone
AppHost projects using the
WithBindMount
method to mount a host directory in a container can fail when running in the context of an integration test because the source path passed toWithBindMount
isn't being resolved relative to the AppHost project.Workaround is to explicitly resolve bind mount paths to full paths in the AppHost, e.g.:
@davidfowl mentioned he had a fix for this at one point but that it didn't quite get in. We should fix this for preview.6
The text was updated successfully, but these errors were encountered: