In my case, the build action was somehow changed to Embedded resource which is not included in published files.
Changing Embedded resource
to Content
resolves my issue.
More Related Contents:
- How do you create a custom AuthorizeAttribute in ASP.NET Core?
- ASP.NET Core Web API exception handling
- Dynamically change connection string in Asp.Net Core
- How should I inject a DbContext instance into an IHostedService?
- Timeouts with long running ASP.NET MVC Core Controller HTTPPost Method
- Calling function from generated button in Blazor
- How to update values into appsetting.json?
- ASP.NET Core 2.0 LDAP Active Directory Authentication
- Enable OPTIONS header for CORS on .NET Core Web API
- Uploading and Downloading large files in ASP.NET Core 3.1?
- Get current URL in a Blazor component
- Read appsettings json values in .NET Core Test Project
- How to implement Permission Based Access Control with Asp.Net Core
- How do I setup multiple auth schemes in ASP.NET Core 2.0?
- How to consume a Scoped service from a Singleton?
- Upload files and JSON in ASP.NET Core Web API
- How to read values from the querystring with ASP.NET Core?
- ASP.NET Core 1.0 on IIS error 502.5 – Error Code 0x80004005
- Change the JSON serialization settings of a single ASP.NET Core controller
- Avoid or control circular references in Entity Framework Core
- Using IConfiguration in C# Class Library
- Read appsettings.json in Main Program.cs
- How to get docker toolbox to work with .net core 2.0 project
- How do I inject ASP.NET 5 (vNext) user-secrets into my own utility class?
- Tag helper not being processed in ASP.NET Core 2
- ‘HttpPostedFileBase’ in Asp.Net Core 2.0
- Customize JSON property name for options in ASP.NET Core
- ASP.NET Core – Authorization Using Windows Authentication
- Equivalent of UseUrls for .NET Core 3.1/IHostBuilder
- Formatting DateTime in ASP.NET Core 3.0 using System.Text.Json