Closed sierrodc closed 1 year ago
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.
Hi,
I've just created a console application and I've installed the package Microsoft.Graph.Beta 5.10.0-preview. When I compile the output this is what I can see:
The previous version, Microsoft.Graph.Beta 4.52.0-preview, install an assembly of 23Mb:
It is not a huge problem even if the file is quite big. If it's not possible to reduce the size, maybe it is possible to split it in different funcionalities (calendars, events, mails, tasks in different assemblies).
Wowsers! This concerns me too. I really hope this is a mistake. If we include the .xml file with the app, that's almost 200 MB!
@andrueastman You're looking at the size of the .nuget package itself, which is compressed like a .zip. Download the package manually and extract the files, and you'll see the real file sizes.
Thanks for the clarification @Dean-NC.
This indeed needs to be better and we'll be looking to improve this as we investigate this further.
Hello @sierrodc ,
The difference between the two packages is that we now use kiota....
In V4 there are a lot of interfaces / abstractions and in V5 each class has a single implementation because it uses a code generator. The code generator is not the best solution for me because it adds a lot of code deduplication and makes it difficult to debug
Kind regards Thomas
closing older issues. please file a new issue if occurs with latest versions.
Hi,
about assembly size:
Are you going to shrink the assembly file or ~60Mb will be the default size?