Skip to content
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

Fix build correctness #34421

Merged

Conversation

jaredpar
Copy link
Member

@jaredpar jaredpar commented Mar 25, 2019

The project which deploys ILASM tools ends up bringing two runtime
packages that have the same assets:

  • runtime.win-x64.microsoft.netcore.runtime.coreclr
  • runtime.win-x64.microsoft.netcore.app

Specifically assets like SOS.NetCore.dll exists at different versions in
these packages and end up getting copied twice to the output directory.
This double write ends up breaking our build (as well as basic
isolation).

The short term fix here is to no longer treat this as a code project but
instead a tools project. That eliminates the MS.NetCore.app package and
the associated double writes

Long term though the root issue needs to be addressed: making ilasm and
ildasm easier to deploy.

dotnet/coreclr#15059

@jaredpar jaredpar force-pushed the fix-build branch 2 times, most recently from 05b70d8 to 01d5b59 Compare March 26, 2019 16:06
@jaredpar jaredpar closed this Mar 26, 2019
@jaredpar jaredpar reopened this Mar 26, 2019
@jaredpar jaredpar requested a review from tmat March 26, 2019 23:37
@jaredpar
Copy link
Member Author

@dotnet/roslyn-infrastructure for review

@jaredpar jaredpar marked this pull request as ready for review March 26, 2019 23:38
@jaredpar jaredpar requested a review from a team as a code owner March 26, 2019 23:38
The project which deploys ILASM tools ends up bringing two runtime
packages that have the same assets:

- runtime.win-x64.microsoft.netcore.runtime.coreclr
- runtime.win-x64.microsoft.netcore.app

Specifically assets like SOS.NetCore.dll exists at different versions in
these packages and end up getting copied twice to the output directory.
This double write ends up breaking our build (as well as basic
isolation).

The short term fix here is to no longer treat this as a code project but
instead a tools project. That eliminates the MS.NetCore.app package and
the associated double writes

Long term though the root issue needs to be addressed: making ilasm and
ildasm easier to deploy.

https://github.com/dotnet/coreclr/issues/15059
@jaredpar jaredpar merged commit 7582489 into dotnet:features/DefaultInterfaceImplementation Mar 27, 2019
@jaredpar jaredpar deleted the fix-build branch March 27, 2019 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants