WinUI 3 unpackaged app #89
Annotations
2 errors and 10 warnings
build (Release, x64)
Optimizing assemblies for size is not supported for the selected publish configuration. Please ensure that you are publishing a self-contained app.
|
build (Release, x64)
Process completed with exit code 1.
|
build (Release, x64):
src/EasyTidy/App.xaml.cs#L108
Using member 'Microsoft.Extensions.DependencyInjection.OptionsConfigurationServiceCollectionExtensions.Configure<TOptions>(IServiceCollection, IConfiguration)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. TOptions's dependent types may have their members trimmed. Ensure all required members are preserved.
|
build (Release, x64):
src/EasyTidy/Common/Database/AppDbContext.cs#L11
Using member 'Microsoft.EntityFrameworkCore.DbContext.DbContext(DbContextOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. EF Core isn't fully compatible with trimming, and running the application may generate unexpected runtime failures. Some specific coding pattern are usually required to make trimming work properly, see https://aka.ms/efcore-docs-trimming for more details.
|
build (Release, x64):
src/EasyTidy/Common/Database/AppDbContext.cs#L95
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
build (Release, x64):
src/EasyTidy/Common/Database/AppDbContext.cs#L121
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(String, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
build (Release, x64):
src/EasyTidy/Common/Database/AppDbContext.cs#L156
Value passed to parameter 'type' of method 'System.Activator.CreateInstance(Type)' can not be statically determined and may not meet 'DynamicallyAccessedMembersAttribute' requirements.
|
build (Release, x64):
src/EasyTidy/Common/Database/AppDbContext.cs#L159
Value passed to implicit 'this' parameter of method 'System.Type.GetProperty(String)' can not be statically determined and may not meet 'DynamicallyAccessedMembersAttribute' requirements.
|
build (Release, x64):
src/EasyTidy/Service/FileService.cs#L17
'T' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in 'System.Activator.CreateInstance<T>()'. The generic parameter 'T' of 'EasyTidy.Service.FileService.Read<T>(String, String)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
build (Release, x64):
src/EasyTidy/Service/FileService.cs#L17
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(String, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
build (Release, x64):
src/EasyTidy/ViewModels/TaskOrchestration/TaskOrchestrationViewModel.cs#L307
Using member 'CommunityToolkit.Mvvm.ComponentModel.ObservableRecipient.IsActive.set' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. When this property is set to true, the OnActivated() method will be invoked, which will register all necessary message handlers for this recipient. This method requires the generated CommunityToolkit.Mvvm.Messaging.__Internals.__IMessengerExtensions type not to be removed to use the fast path. If this type is removed by the linker, or if the target recipient was created dynamically and was missed by the source generator, a slower fallback path using a compiled LINQ expression will be used. This will have more overhead in the first invocation of this method for any given recipient type. Alternatively, OnActivated() can be manually overwritten, and registration can be done individually for each required message for this recipient.
|
build (Release, x64):
src/EasyTidy/ViewModels/TaskOrchestration/TaskOrchestrationViewModel.cs#L329
Using member 'CommunityToolkit.WinUI.Collections.AdvancedCollectionView.AdvancedCollectionView(IList, Boolean)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Item sorting uses reflection to get property types and may not be AOT compatible.
|