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

Add Crossgen pack support to shared framework tooling #4650

Closed
wants to merge 2 commits into from

Conversation

dagood
Copy link
Member

@dagood dagood commented Jan 17, 2020

In theory this code can be added to the crossgen pack project itself, however it requires a specific placement due to MSBuild evaluation order. I used that to test out the change in an official build, but to keep things simple let's add support here.

For dotnet/runtime#906.

Supports PR dotnet/runtime#1859.

@dagood dagood self-assigned this Jan 17, 2020
@@ -23,6 +23,16 @@
</PropertyGroup>
</Target>

<Target Name="GetCrossgenPackInstallerProperties"

Choose a reason for hiding this comment

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

Are these changes part of the work needed to create the crossgen2 packages? If so, shouldn't we reflect "2" in the names here?

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 would argue that since the pack name is "Crossgen pack" it should match that. It just so happens that the tool filename in a "crossgen pack" is crossgen2. Note the proposed package ID is Microsoft.NETCore.App.Crossgen.<RID> over at dotnet/runtime#906, definitely open to change but haven't gotten any feedback on it yet.

Copy link
Member Author

Choose a reason for hiding this comment

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

Are these changes part of the work needed to create the crossgen2 packages?

Oh, and yes. 😄

Copy link

@fadimounir fadimounir Jan 17, 2020

Choose a reason for hiding this comment

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

Note the proposed package ID is Microsoft.NETCore.App.Crossgen. over at dotnet/runtime#906,

Hmm... Would it be better to make this Crossgen2? There's a whole thread around the naming of this thing, and it would be much simpler after a name is picked to just findstr all "crossgen2" instances in all repos and change them. Mixing crossgen and crossgen2 names here is pretty confusing (especially that for a period of time, we'll be shipping both)

Copy link
Member Author

Choose a reason for hiding this comment

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

Didn't realize it was still quite that changeable... in that case, sure, I'll name everything crossgen2. I think we should also keep this code in dotnet/runtime to keep the volatile names in the same place for now.

Copying it over to dotnet/runtime#1859

@dagood dagood closed this Jan 17, 2020
@dagood dagood deleted the crossgen-pack branch January 17, 2020 18:47
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.

3 participants