Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report]: System.InvalidOperationException: Could not load the embedded file manifest 'Microsoft.Extensions.FileProviders.Embedded.Manifest.xml' for assembly 'KafkaFlow.Admin.Dashboard'. #497

Closed
1 task done
massada opened this issue Dec 17, 2023 · 0 comments · Fixed by #501
Labels
bug Something isn't working

Comments

@massada
Copy link
Contributor

massada commented Dec 17, 2023

Prerequisites

  • I have searched issues to ensure it has not already been reported

Description

Package Microsoft.Extensions.FileProviders.Embedded was removed from the Dashboard project in this MR:

539a007

App throws when using the v3.0.2 Dashboard project:

System.InvalidOperationException: Could not load the embedded file manifest 'Microsoft.Extensions.FileProviders.Embedded.Manifest.xml' for assembly 'KafkaFlow.Admin.Dashboard'.
   at Microsoft.Extensions.FileProviders.Embedded.Manifest.ManifestParser.Parse(Assembly assembly, String name)
   at Microsoft.Extensions.FileProviders.ManifestEmbeddedFileProvider..ctor(Assembly assembly, String root)
   at KafkaFlow.Admin.Dashboard.ApplicationBuilderExtensions.<>c__DisplayClass1_0.<UseKafkaFlowDashboard>b__0(IApplicationBuilder appBuilder)
   at Microsoft.AspNetCore.Builder.MapExtensions.Map(IApplicationBuilder app, PathString pathMatch, Boolean preserveMatchedPathSegment, Action`1 configuration)
   at KafkaFlow.Admin.Dashboard.ApplicationBuilderExtensions.UseKafkaFlowDashboard(IApplicationBuilder app, Action`1 dashboard)
   at KafkaFlow.Admin.Dashboard.ApplicationBuilderExtensions.UseKafkaFlowDashboard(IApplicationBuilder app)
   at Farfetch.ProductAvailability.BlockingRulesProcessor.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env) in C:\source\productavailability\blocking-rules-processor\src\BlockingRulesProcessor\Startup.cs:line 267
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
   at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)

Steps to reproduce

Update to v3.0.2

Expected behavior

Not throwing

Actual behavior

Throwing

KafkaFlow version

v3.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

1 participant