Skip to content

Stop building reference assembly packages #503

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

Merged
merged 4 commits into from
May 3, 2018

Conversation

dagood
Copy link
Member

@dagood dagood commented May 3, 2018

This will remove the possibility for a type of build error we've seen quite a few times, and is hard to debug: we have a prebuilt version of a package in the tarball, but the reference assembly package replaces it and doesn't contain the assets required to make a functional product.

Removing the reference assembly focuses our effort to removing prebuilts by using source-built packages, rather than maintaining these compile-only packages.

(I haven't run this locally yet.)

@weshaggard
Copy link
Member

I suspect we need something similar to this in the future for boot-strapping older packages but if we do I think we will likely do it differently so I'm find deleting all of it.

Wouldn't we have the same problem with the dummy packages? Shouldn't we just rely on pre-built for those as well?

@dagood
Copy link
Member Author

dagood commented May 3, 2018

Hmm, I'll leave the project files in, so we don't have to re-add if we use the same method, at least. (And maybe we'll just tweak the project if we want to do it differently.)

Wouldn't we have the same problem with the dummy packages? Shouldn't we just rely on pre-built for those as well?

Good point, the same kind of error can happen with dummy packages. I'll remove them too.

@@ -7,7 +7,6 @@
<Import Project="..\dir.props" />

<UsingTask AssemblyFile="$(TasksBinDir)Microsoft.DotNet.SourceBuild.Tasks.dll" TaskName="GetHostInformation" />
<UsingTask AssemblyFile="$(TasksBinDir)Microsoft.DotNet.SourceBuild.Tasks.dll" TaskName="BuildDummyPackages" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to remove this task as well?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is similar to whether or not we should remove the reference assembly project: I don't think we should, in case this becomes a valid way to work around a problem again in the future.

@dagood
Copy link
Member Author

dagood commented May 3, 2018

Offline tarball build output succeeds ./smoke-test.sh.

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.

5 participants