Skip to content

Bump System.Drawing.Common from 4.5.1 to 4.7.2 in /src/Web/WebMVC #137

Bump System.Drawing.Common from 4.5.1 to 4.7.2 in /src/Web/WebMVC

Bump System.Drawing.Common from 4.5.1 to 4.7.2 in /src/Web/WebMVC #137

Status Success
Total duration 43s
Artifacts

dotnetcore.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build
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: src/BuildingBlocks/WebHostCustomization/WebHost.Customization/WebHostExtensions.cs#L17
The behavior of 'string.ToUpper()' could vary based on the current user's locale settings. Replace this call in 'IWebHost.IsInKubernetes()' with a call to 'string.ToUpper(CultureInfo)'.
build: src/BuildingBlocks/WebHostCustomization/WebHost.Customization/WebHostExtensions.cs#L15
In externally visible method 'bool IWebHostExtensions.IsInKubernetes(IWebHost webHost)', validate parameter 'webHost' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument.
build: src/BuildingBlocks/WebHostCustomization/WebHost.Customization/WebHostExtensions.cs#L36
In externally visible method 'IWebHost IWebHostExtensions.MigrateDbContext<TContext>(IWebHost webHost, Action<TContext, IServiceProvider> seeder)', validate parameter 'seeder' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument.
build: src/BuildingBlocks/WebHostCustomization/WebHost.Customization/WebHostExtensions.cs#L24
In externally visible method 'IWebHost IWebHostExtensions.MigrateDbContext<TContext>(IWebHost webHost, Action<TContext, IServiceProvider> seeder)', validate parameter 'webHost' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument.
build: src/BuildingBlocks/WebHostCustomization/WebHost.Customization/WebHostExtensions.cs#L32
Method 'IWebHost IWebHostExtensions.MigrateDbContext<TContext>(IWebHost webHost, Action<TContext, IServiceProvider> seeder)' passes a literal string as parameter 'message' of a call to 'void LoggerExtensions.LogInformation(ILogger logger, string message, params object[] args)'. Retrieve the following string(s) from a resource table instead: "Migrating database associated with context {DbContextName}".
build: src/BuildingBlocks/WebHostCustomization/WebHost.Customization/WebHostExtensions.cs#L55
Method 'IWebHost IWebHostExtensions.MigrateDbContext<TContext>(IWebHost webHost, Action<TContext, IServiceProvider> seeder)' passes a literal string as parameter 'message' of a call to 'void LoggerExtensions.LogInformation(ILogger logger, string message, params object[] args)'. Retrieve the following string(s) from a resource table instead: "Migrated database associated with context {DbContextName}".
build: src/BuildingBlocks/WebHostCustomization/WebHost.Customization/WebHostExtensions.cs#L59
Method 'IWebHost IWebHostExtensions.MigrateDbContext<TContext>(IWebHost webHost, Action<TContext, IServiceProvider> seeder)' passes a literal string as parameter 'message' of a call to 'void LoggerExtensions.LogError(ILogger logger, Exception exception, string message, params object[] args)'. Retrieve the following string(s) from a resource table instead: "An error occurred while migrating the database used on context {DbContextName}".
build: src/Web/WebMVC/Program.cs#L52
'ApplicationInsightsWebHostBuilderExtensions.UseApplicationInsights(IWebHostBuilder)' is obsolete: 'This method is deprecated in favor of AddApplicationInsightsTelemetry() extension method on IServiceCollection.'
build: src/Web/WebMVC/Areas/Identity/Pages/Error.cshtml.cs#L20
'ResponseCacheAttribute' cannot be applied to Razor Page handler methods. It may be applied either to the Razor Page model or applied globally.
build: src/Web/WebMVC/Views/Sponsors/Index.cshtml#L6
The variable 'rowIndex' is assigned but its value is never used