Skip to content

Update dotnet.yml

Update dotnet.yml #6

Triggered via push April 17, 2024 20:04
Status Failure
Total duration 3m 22s
Artifacts

dotnet.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 21 warnings
build (Release)
Process completed with exit code 1.
build (Debug)
The job was canceled because "Release" failed.
build (Debug)
The operation was canceled.
build (Release)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (Release): src/Xcaciv.Loader/Xcaciv.Loader/AssemblyContext.cs#L39
Non-nullable field 'loadContext' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build (Release): src/Xcaciv.Loader/Xcaciv.Loader/AssemblyContext.cs#L50
Non-nullable field 'loadContext' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build (Release): src/Xcaciv.Loader/Xcaciv.Loader/AssemblyContext.cs#L67
Possible null reference argument for parameter 'componentAssemblyPath' in 'AssemblyDependencyResolver.AssemblyDependencyResolver(string componentAssemblyPath)'.
build (Release): src/Xcaciv.Loader/Xcaciv.Loader/AssemblyContext.cs#L169
Possible null reference argument for parameter 'className' in 'T AssemblyContext.GetInstance<T>(string className)'.
build (Release): src/Xcaciv.Loader/Xcaciv.Loader/AssemblyContext.cs#L70
Using member 'System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types and members the loaded assembly depends on might be removed.
build (Release): src/Xcaciv.Loader/Xcaciv.Loader/AssemblyContext.cs#L76
Using member 'System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types and members the loaded assembly depends on might be removed.
build (Release): src/Xcaciv.Loader/Xcaciv.Loader/AssemblyContext.cs#L150
Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
build (Release): src/Xcaciv.Loader/Xcaciv.Loader/AssemblyContext.cs#L91
Using member 'System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types and members the loaded assembly depends on might be removed.
build (Release): src/Xcaciv.Loader/Xcaciv.Loader/AssemblyContext.cs#L125
Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
build (Release): src/Xcaciv.Loader/Xcaciv.Loader/AssemblyContext.cs#L127
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The return value of method 'System.Linq.Enumerable.FirstOrDefault<TSource>(IEnumerable<TSource>, Func<TSource, Boolean>)' 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 (Debug): src/Xcaciv.Loader/Xcaciv.Loader/AssemblyContext.cs#L39
Non-nullable field 'loadContext' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build (Debug): src/Xcaciv.Loader/Xcaciv.Loader/AssemblyContext.cs#L50
Non-nullable field 'loadContext' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build (Debug): src/Xcaciv.Loader/Xcaciv.Loader/AssemblyContext.cs#L67
Possible null reference argument for parameter 'componentAssemblyPath' in 'AssemblyDependencyResolver.AssemblyDependencyResolver(string componentAssemblyPath)'.
build (Debug): src/Xcaciv.Loader/Xcaciv.Loader/AssemblyContext.cs#L169
Possible null reference argument for parameter 'className' in 'T AssemblyContext.GetInstance<T>(string className)'.
build (Debug): src/Xcaciv.Loader/Xcaciv.Loader/AssemblyContext.cs#L70
Using member 'System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types and members the loaded assembly depends on might be removed.
build (Debug): src/Xcaciv.Loader/Xcaciv.Loader/AssemblyContext.cs#L76
Using member 'System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types and members the loaded assembly depends on might be removed.
build (Debug): src/Xcaciv.Loader/Xcaciv.Loader/AssemblyContext.cs#L91
Using member 'System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types and members the loaded assembly depends on might be removed.
build (Debug): src/Xcaciv.Loader/Xcaciv.Loader/AssemblyContext.cs#L150
Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
build (Debug): src/Xcaciv.Loader/Xcaciv.Loader/AssemblyContext.cs#L125
Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
build (Debug): src/Xcaciv.Loader/Xcaciv.Loader/AssemblyContext.cs#L127
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The return value of method 'System.Linq.Enumerable.FirstOrDefault<TSource>(IEnumerable<TSource>, Func<TSource, Boolean>)' 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.