![]() Public IViewComponentResult Invoke() => View() Ĭomponents/ProductBox/Default.cshtml is completely emptyĪfter flipping back-and-forth between the base project, a first blank project template with files copied over, and a 2nd blank project with files copied over. NET 6 installed, and I'm testing this from a clean project created from template.Ĭomponents/ProductBox.cs contains public class ProductBox : ViewComponent How can I solve this? (other than opening it in Windows) The View Component breaks the application in Linux, even if the View Component is not being reference at all. Moved Pages/Shared/Components/ to Views/Shared/Components. I found this issue: View Component Loading Issue on Production ASP.NET Core I delete that one specific file and the application starts again. In Chrome, it will give a 404 error after a security warning. Running it simply opens a blank page in Firefox. I add the file Pages/Shared/Components/ProductBox/Default.cshtml and it fails to load. I got Pages/Shared/Components that contains ProductBox.cs and ProductBoxModel.cs and it runs fine. I started copying everything over file by file. I created a new web application to see whether ASP.NET runs and it does. DESKTOP CLEANER APPLICATIONS ARCHLINUX WINDOWSI boot up the Windows VM and the very same project runs.įirst of all, what is to blame, JetBrains Rider, ASP.NET, or my installation? I've been developing desktop apps without any issue. Now that I try to open the solution on a Linux desktop with JetBrains Rider IDE, the project fails to load at all. ![]() I even have it running in production on a Linux server for years without issue. My web application runs perfectly fine in Windows. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |