You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using BeforeTargets="CoreCompile", in my experience, is buggy in most cases. We need to verify, but in many cases such targets end up running after_GenerateCompileDependencyCache so they are not included in the hash. This can cause weird incremental build issues. Usually BeforeCompile is a better hook. See [Bug]: Input file "*.CoreCompileInputs.cache" is newer than output file "*.pdb" dotnet/msbuild#8807 for example of the kind of issue this can cause.
We should also consider running it before XamlPreCompile (important for WinUI), and potentially provide an extensibility so that people with special infrastructure can run the target earlier per their requirements.
The text was updated successfully, but these errors were encountered:
BeforeTargets="CoreCompile"
, in my experience, is buggy in most cases. We need to verify, but in many cases such targets end up running after_GenerateCompileDependencyCache
so they are not included in the hash. This can cause weird incremental build issues. UsuallyBeforeCompile
is a better hook. See [Bug]: Input file "*.CoreCompileInputs.cache" is newer than output file "*.pdb" dotnet/msbuild#8807 for example of the kind of issue this can cause.XamlPreCompile
(important for WinUI), and potentially provide an extensibility so that people with special infrastructure can run the target earlier per their requirements.The text was updated successfully, but these errors were encountered: