-
Notifications
You must be signed in to change notification settings - Fork 46
Description
If I have <EnableSdkContainerDebugging>True</EnableSdkContainerDebugging> enabled in my project, then Visual Studio continually rebuilds my project's container, even when there are no changes to the project and I'm not actually running my project . This is adding ~20-30 seconds onto every time Visual studio builds the project, adding a lot of lag into the inner loop.
e.g. I'm working on an Aspire App Host which references the project that is marked as EnableSdkContainerDebugging. Even though I'm not changing the containerized project, every time I build the app host. Similar happens if I'm running unit tests in a test project that itself references my containerized project.
I'd expect Visual Studio to only build the image if I try to run/debug the image, and for the build process to be aware of Incremental builds, and only build if something has actually changed.