You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[.NET 8] perf regression in <LinkAssembliesNoShrink/> #7684
This step is converting old Resource.designer.cs code over to the new system. So once Maui has switched over to using the newer system it should be better as it will have less work to do.
Yeah, we can keep an eye and test again when we have a new MAUI.
What made me think something else is going on, is this target builds partially:
Target Name=_LinkAssembliesNoShrink Project=bar.csproj
Building target "_LinkAssembliesNoShrink" partially, because some output files are out of date with respect to their input files.
[ResolvedAssemblies: Input=obj\Debug\net8.0-android\android-arm64\bar.dll, Output=obj\Debug\net8.0-android\android-arm64\android\assets\bar.dll] Input file is newer than output file.
So in theory it should only be looking at bar.dll in this example?
Previously @(_AllResolvedAssemblies) was only used for search paths on the DirectoryAssemblyResolver -- it's possible Mono.Cecil would need to go load other assemblies.
Activity
dellis1972 commentedon Jan 10, 2023
This step is converting old Resource.designer.cs code over to the new system. So once Maui has switched over to using the newer system it should be better as it will have less work to do.
jonathanpeppers commentedon Jan 11, 2023
Yeah, we can keep an eye and test again when we have a new MAUI.
What made me think something else is going on, is this target builds partially:
So in theory it should only be looking at
bar.dllin this example?dellis1972 commentedon Jan 11, 2023
It is buiding partially. but the Task in the target is not using any of the "partial" calculated ItemGroups
Its using
@(_AllResolvedAssemblies), so all the items will be processed.jonathanpeppers commentedon Jan 11, 2023
Previously
@(_AllResolvedAssemblies)was only used for search paths on theDirectoryAssemblyResolver-- it's possible Mono.Cecil would need to go load other assemblies.The "partial" part is:
[Xamarin.Android.Build.Tasks] lazily populate Resource lookup
jonathanpeppers commentedon Jan 11, 2023
If I'm reading the code right, I think this will fix this: #7686
But let's see if anything breaks?
[Xamarin.Android.Build.Tasks] lazily populate Resource lookup
[Xamarin.Android.Build.Tasks] lazily populate Resource lookup (#7686)