Update Core2D.csproj #1333
Annotations
33 warnings
Build ubuntu-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Build ubuntu-latest:
src/Core2D/Program.cs#L133
Possible null reference argument for parameter 'host' in 'int HeadlessVncPlatformExtensions.StartWithHeadlessVncPlatform(AppBuilder builder, string host, int port, string[] args, ShutdownMode shutdownMode = ShutdownMode.OnLastWindowClose)'.
|
Build ubuntu-latest:
src/Core2D/Modules/TextFieldWriter/OpenXml/OpenXmlWriter.cs#L185
'OpenXmlPackage.Close()' is obsolete: 'Close will be removed in later releases, use Dispose instead.'
|
Build ubuntu-latest:
src/Core2D/Modules/TextFieldReader/OpenXml/OpenXmlReader.cs#L91
'OpenXmlPackage.Close()' is obsolete: 'Close will be removed in later releases, use Dispose instead.'
|
Build ubuntu-latest:
src/Core2D/AppModule.cs#L54
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
|
Build ubuntu-latest:
src/Core2D/AppModule.cs#L96
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
|
Build ubuntu-latest:
src/Core2D/AppModule.cs#L103
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
|
Build ubuntu-latest:
src/Core2D/AppModule.cs#L112
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
|
Build ubuntu-latest:
src/Core2D/ViewLocator.cs#L15
Unrecognized value passed to the parameter 'typeName' of method 'System.Type.GetType(String)'. It's not possible to guarantee the availability of the target type.
|
Build ubuntu-latest:
src/Core2D/Views/Data/DatabaseView.axaml.cs#L157
Using member 'Avalonia.Data.Binding.Binding(String, BindingMode)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. BindingExpression and ReflectionBinding heavily use reflection. Consider using CompiledBindings instead.
|
Build ubuntu-latest:
src/Core2D/Json/ListContractResolver.cs#L24
Call to 'System.Type.MakeGenericType(params Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic type.
|
Build macos-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Build macos-latest:
src/Core2D/Program.cs#L133
Possible null reference argument for parameter 'host' in 'int HeadlessVncPlatformExtensions.StartWithHeadlessVncPlatform(AppBuilder builder, string host, int port, string[] args, ShutdownMode shutdownMode = ShutdownMode.OnLastWindowClose)'.
|
Build macos-latest:
src/Core2D/Modules/TextFieldWriter/OpenXml/OpenXmlWriter.cs#L185
'OpenXmlPackage.Close()' is obsolete: 'Close will be removed in later releases, use Dispose instead.'
|
Build macos-latest:
src/Core2D/Modules/TextFieldReader/OpenXml/OpenXmlReader.cs#L91
'OpenXmlPackage.Close()' is obsolete: 'Close will be removed in later releases, use Dispose instead.'
|
Build macos-latest:
src/Core2D/Views/Data/DatabaseView.axaml.cs#L157
Using member 'Avalonia.Data.Binding.Binding(String, BindingMode)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. BindingExpression and ReflectionBinding heavily use reflection. Consider using CompiledBindings instead.
|
Build macos-latest:
src/Core2D/AppModule.cs#L54
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
|
Build macos-latest:
src/Core2D/AppModule.cs#L96
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
|
Build macos-latest:
src/Core2D/AppModule.cs#L103
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
|
Build macos-latest:
src/Core2D/AppModule.cs#L112
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
|
Build macos-latest:
src/Core2D/Json/ListContractResolver.cs#L24
Call to 'System.Type.MakeGenericType(params Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic type.
|
Build macos-latest:
src/Core2D/Modules/FileWriter/Emf/EmfWriter.cs#L117
This call site is reachable on all platforms. 'Graphics.SmoothingMode' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
Build windows-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Build windows-latest:
src/Core2D/Program.cs#L133
Possible null reference argument for parameter 'host' in 'int HeadlessVncPlatformExtensions.StartWithHeadlessVncPlatform(AppBuilder builder, string host, int port, string[] args, ShutdownMode shutdownMode = ShutdownMode.OnLastWindowClose)'.
|
Build windows-latest:
src/Core2D/Modules/TextFieldWriter/OpenXml/OpenXmlWriter.cs#L185
'OpenXmlPackage.Close()' is obsolete: 'Close will be removed in later releases, use Dispose instead.'
|
Build windows-latest:
src/Core2D/Modules/TextFieldReader/OpenXml/OpenXmlReader.cs#L91
'OpenXmlPackage.Close()' is obsolete: 'Close will be removed in later releases, use Dispose instead.'
|
Build windows-latest:
src/Core2D/AppModule.cs#L54
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
|
Build windows-latest:
src/Core2D/AppModule.cs#L96
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
|
Build windows-latest:
src/Core2D/AppModule.cs#L103
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
|
Build windows-latest:
src/Core2D/AppModule.cs#L112
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
|
Build windows-latest:
src/Core2D/Views/Data/DatabaseView.axaml.cs#L157
Using member 'Avalonia.Data.Binding.Binding(String, BindingMode)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. BindingExpression and ReflectionBinding heavily use reflection. Consider using CompiledBindings instead.
|
Build windows-latest:
src/Core2D/ViewLocator.cs#L15
Unrecognized value passed to the parameter 'typeName' of method 'System.Type.GetType(String)'. It's not possible to guarantee the availability of the target type.
|
Build windows-latest:
src/Core2D/Json/ListContractResolver.cs#L24
Call to 'System.Type.MakeGenericType(params Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic type.
|