When using Telerik with .net 5 the output includes all the Telerik .dlls even the ones that are not used. The output from a project containing an empty window is over 100mb.
With .net framework there was a way to configure the project and only include the referenced assemblies. Is there a way to do the same for a .net 5 project?
I agree it's crazy that a basic app using one or two controls has over 100Mb of .dll's in the folder. There needs to be a way of removing the unused files (like you can with .NET Framework).
Ni Andrew,
Can you please, provide more details about your project like:
Hi Andrew,
I suppose that your projects have package references to some of our full NuGet packages like Telerik.UI.for.Wpf.60.Xaml. These packages contain all the assemblies which is the reason why you end up with all the controls in the bin folder. Until we provide an easy way to select the required assemblies in your projects you can manage your individual dependencies using our NuGet feed. There you will find the exact packages that you need like Telerik.Windows.Controls.Chart.for.Wpf.
Another approach is App Trimming which is an option to remove unused assemblies as part of publishing your application. Here is an article that may be useful regarding application trimming.