Skip to content

Introduce DI as complementary project/package #21

Introduce DI as complementary project/package

Introduce DI as complementary project/package #21

Triggered via pull request July 4, 2024 15:15
Status Success
Total duration 1m 6s
Artifacts

build.dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 warnings
build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: Blumchen.DependencyInjection/Workers/ServiceCollectionExtensions.cs#L10
'THostedService' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in 'Microsoft.Extensions.DependencyInjection.ServiceCollectionHostedServiceExtensions.AddHostedService<THostedService>(IServiceCollection)'. The generic parameter 'T' of 'Blumchen.Workers.ServiceCollectionExtensions.AddBlumchen<T, TU>(IServiceCollection, T)' 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: Blumchen.DependencyInjection/Workers/ServiceCollectionExtensions.cs#L10
'THostedService' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in 'Microsoft.Extensions.DependencyInjection.ServiceCollectionHostedServiceExtensions.AddHostedService<THostedService>(IServiceCollection)'. The generic parameter 'T' of 'Blumchen.Workers.ServiceCollectionExtensions.AddBlumchen<T, TU>(IServiceCollection, T)' 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.