Skip to content

Conversation

@jevansaks
Copy link
Member

We were seeing situations where DesignTimeBuild was not re-running when folks changed NativeMethods.txt and that caused the intellisense experience to get out of sync with the build. @davkean suggested I use AdditionalDesignTimeBuildInput and that seems to do the trick.

The downside is that this ItemGroup seems to need to be populated during project evaluation and can't be the output of an ItemGroup, and that limits our ability to use any kind of complex conditions. I ended up having to grab all AdditionalFiles instead of AdditionalFiles which end in NativeMethods.txt.

@jevansaks jevansaks force-pushed the AdditionalDesignTimeBuildInput branch from b06af86 to c8f0632 Compare November 22, 2025 04:43
@jevansaks jevansaks requested a review from manodasanW November 22, 2025 04:49
@jevansaks jevansaks enabled auto-merge (squash) November 22, 2025 05:19
@jevansaks jevansaks merged commit 8e6314f into main Nov 22, 2025
7 checks passed
@jevansaks jevansaks deleted the AdditionalDesignTimeBuildInput branch November 22, 2025 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants