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
Instead of repeating the MSBuild logic in the SDK, we could add a hook to MSBuild to allow the SDK to specify a file to be imported directly after the Directory.Build.props file. Probably this would involve adding the following line here:
Fixes#8876
Context
The SDK has logic it wants to run immediately after importing Directory.Build.props. This adds a hook for that so the SDK doesn't have to manually import it, disable importing Microsoft.Common.props, then re-implement part of it.
For the Artifacts Output Format, the .NET SDK needs to add MSBuild logic to be evaluated immediately after any Directory.Build.props file is imported. In order to do this, it is currently importing Directory.Build.props itself and disabling the import from the common targets: https://github.com/dotnet/sdk/blob/d1773f68a8bbdaa7e2228a7f2f8f0ac341dfd65b/src/Tasks/Microsoft.NET.Build.Tasks/sdk/Sdk.props#L37-L58
Instead of repeating the MSBuild logic in the SDK, we could add a hook to MSBuild to allow the SDK to specify a file to be imported directly after the Directory.Build.props file. Probably this would involve adding the following line here:
The text was updated successfully, but these errors were encountered: