-
Notifications
You must be signed in to change notification settings - Fork 10k
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
On Linux, integration tests using ManifestEmbeddedFileProvider does not work with a specified root parameter #26990
Comments
The problem is in To work this around, just replace But it is still a bug to me. |
As part of the migration of components from dotnet/extensions to dotnet/runtime (aspnet/Announcements#411) we will be bulk closing some of the older issues. If you are still interested in having this issue addressed, just comment and the issue will be automatically reactivated (even if you aren't the author). When you do that, I'll page the team to come take a look. If you've moved on or workaround the issue and no longer need this change, just ignore this and the issue will be closed in 7 days. If you know that the issue affects a package that has moved to a different repo, please consider re-opening the issue in that repo. If you're unsure, that's OK, someone from the team can help! |
Issue still occurs on .NET-Core 2.1.805 (latest 2.1 at the time of this posting). |
Paging @dotnet/extensions-migration ! This issue has been revived from staleness. Please take a look and route to the appropriate repository. |
I couldn't figure out the best area label to add to this issue. Please help me learn by adding exactly one area label. |
@BrennanConroy do you know what area label this belongs to? |
@pranavkm putting this on MVC since we built it for Identity UI, we should obsolete it and remove it in the future since we recommend using Static Web Assets instead. |
Thanks for contacting us. |
Hi. Thanks for contacting us. |
Description
On Linux only, when a test project intended for integration tests of Razor Class Libraries uses
ManifestEmbeddedFileProvider(Assembly, string)
, the below callstack is encountered when the resource is accessed in the test.The version of ASP.Net-Core I'm using is
2.2.0
.It failed with the following callstack:
In this project, both
ManifestEmbeddedFileProvider(Assembly)
andManifestEmbeddedFileProvider(Assembly, string)
are used but only the latter fails.To Reproduce
Steps to reproduce the behavior:
$ git clone https://github.com/Daniel-Khodabakhsh/ManifestEmbeddedLinuxBug.git
Expected behavior
The behaviour of this project should be the same on Windows and Linux.
The text was updated successfully, but these errors were encountered: