Skip to content

Fix typo and improve HostedExcelAddIn #92

Fix typo and improve HostedExcelAddIn

Fix typo and improve HostedExcelAddIn #92

Triggered via pull request June 4, 2025 21:50
Status Success
Total duration 1m 59s
Artifacts

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: Source/Samples/QuickStart/QuickStartAddIn.cs#L33
'ServiceCollectionExtensions.AddExcelFunctionsProcessor(IServiceCollection, Func<IEnumerable<ExcelFunctionRegistration>, IEnumerable<ExcelFunctionRegistration>>)' is obsolete: 'Please use AddExcelFunctionsProcessor<TProcessor>()'
build: Source/ExcelRna.Extensions.Logging/LogDisplayLoggerProvider.cs#L19
Non-nullable field '_optionsReloadToken' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: Source/ExcelRna.Extensions.Logging/LogDisplayLoggerProvider.cs#L22
Possible null reference assignment.
build: Source/ExcelRna.Extensions.Logging/LogDisplayLogger.cs#L38
Nullability in constraints for type parameter 'TState' of method 'LogDisplayLogger.BeginScope<TState>(TState)' doesn't match the constraints for type parameter 'TState' of interface method 'ILogger.BeginScope<TState>(TState)'. Consider using an explicit interface implementation instead.
build: Source/ExcelRna.Extensions.Hosting.Tests/HostedExcelAddInTests.cs#L68
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: Source/ExcelRna.Extensions.Hosting.Tests/HostedExcelAddInTests.cs#L50
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: Source/Samples/QuickStart/QuickStartAddIn.cs#L33
'ServiceCollectionExtensions.AddExcelFunctionsProcessor(IServiceCollection, Func<IEnumerable<ExcelFunctionRegistration>, IEnumerable<ExcelFunctionRegistration>>)' is obsolete: 'Please use AddExcelFunctionsProcessor<TProcessor>()'
build: Source/ExcelRna.Extensions.Logging/LogDisplayLoggerProvider.cs#L19
Non-nullable field '_optionsReloadToken' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: Source/ExcelRna.Extensions.Logging/LogDisplayLoggerProvider.cs#L22
Possible null reference assignment.
build: Source/ExcelRna.Extensions.Logging/LogDisplayLogger.cs#L38
Nullability in constraints for type parameter 'TState' of method 'LogDisplayLogger.BeginScope<TState>(TState)' doesn't match the constraints for type parameter 'TState' of interface method 'ILogger.BeginScope<TState>(TState)'. Consider using an explicit interface implementation instead.