dotnet / sdk

Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
https://dot.net/core
MIT License
2.66k stars 1.06k forks source link

Support ReadyToRun for dotnet tools #10801

Open wli3 opened 4 years ago

wli3 commented 4 years ago

I can think about 2 direction.

  1. package already crossgened asset. However that means the package will need to be prepared for all RIDs. It will be big and we don't have support for RID specific tools.

  2. crossgen after installing on user's machine. This is smilar to full framework. We need to figure out if we want to crossgen for all tools, or it is controlled by the package author. And we also need to investigate the perf impact.

nojaf commented 7 months ago

Hello, using ReadyToRun for console applications does make them start noticeably faster. It would be great if some mechanism existed to ship tools like that. @baronfel were there any more thoughts on this?