-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run _GenerateResxSource target before BeforeCompile target. #4062
Conversation
The Common.targets convention is to hook code-generation targets to BeforeCompile. Fixes dotnet/sourcelink#392
@hoyosjs Could you please follow up with revert of dotnet/coreclr#26394 once this change gets propagated to coreclr? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll take a look to see what's the first Arcade package with this bits that we can uptake in CoreClr. Thanks for the fix!
@hoyosjs I think we should also set |
In general, I agree. It's good that even build-time generated artifacts are diagnosable. CoreClr generates some for eventing, but for example arcade itself will always generate some for file metadata and resources. I created #4064, let me know if that's the right place. |
Realized we will also need to push the latest Source Link package to Arcade - need to add DependsOnTargets there to guarantee ordering. |
* Update dependencies from https://github.com/dotnet/arcade build 20191015.1 - Microsoft.DotNet.ApiCompat - 5.0.0-beta.19515.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19515.1 - Microsoft.DotNet.CodeAnalysis - 5.0.0-beta.19515.1 - Microsoft.DotNet.GenAPI - 5.0.0-beta.19515.1 - Microsoft.DotNet.Helix.Sdk - 5.0.0-beta.19515.1 * Fix configure-toolset.ps1 to ensure the existence of the properties variable. * Fixing scope and adding comment * Update dependencies from https://github.com/dotnet/arcade build 20191015.2 - Microsoft.DotNet.ApiCompat - 5.0.0-beta.19515.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19515.2 - Microsoft.DotNet.CodeAnalysis - 5.0.0-beta.19515.2 - Microsoft.DotNet.GenAPI - 5.0.0-beta.19515.2 - Microsoft.DotNet.Helix.Sdk - 5.0.0-beta.19515.2 * Adding workaround for dotnet/arcade#4062 * Removing workaround for dotnet/arcade#4062 as a fix has been affected in Arcade * Update dependencies from https://github.com/dotnet/arcade build 20191017.7 - Microsoft.DotNet.ApiCompat - 5.0.0-beta.19517.7 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19517.7 - Microsoft.DotNet.CodeAnalysis - 5.0.0-beta.19517.7 - Microsoft.DotNet.GenAPI - 5.0.0-beta.19517.7 - Microsoft.DotNet.Helix.Sdk - 5.0.0-beta.19517.7
) The Common.targets convention is to hook code-generation targets to BeforeCompile. Fixes dotnet/sourcelink#392
* Run _GenerateResxSource target before BeforeCompile target. (#4062) The Common.targets convention is to hook code-generation targets to BeforeCompile. Fixes dotnet/sourcelink#392 * Change BeforeTargets of _GenerateResxSource to BeforeCompile;CoreCompile (#4134)
The Common.targets convention is to hook code-generation targets to BeforeCompile.
Fixes dotnet/sourcelink#392