aspnetcore
aspnetcore copied to clipboard
The scoped css file 'Views\Shared\_Layout.cshtml.css' was defined but no associated razor component or view was found for it. Fake.Web D:\dotNet\FakeMelySite\Fake.Web\Views\Shared\_Layout.cshtml.css 1
I am not using blazor at all. I basically copied over a project to work on getting rid of scaffolding to razor pages because to me they are so many that it is not worth using them. I only really need login and register, for now, All these Identity pages are useless as of right now. I also prefer using controllers vs a page and a controller for each page that is stupid as hell IMO but Microsoft must have good reasons for this. My layout was made in MVC project and the copied version is also an MVC project I don't get the issue
@althepal78 thanks for contacting us.
There is a bug in the error code as the feature was originally introduced for Blazor, but the feature is available for MVC and Razor Pages too since 6.0. We might have just missed updating the error code.
Do you not have a _Layout.cshtml inside Views\Shared?
Hi @althepal78. We have added the "Needs: Author Feedback" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
@althepal78 thanks for contacting us.
There is a bug in the error code as the feature was originally introduced for Blazor, but the feature is available for MVC and Razor Pages too since 6.0. We might have just missed updating the error code.
Do you not have a _Layout.cshtml inside Views\Shared?
Yes I do have a layout page as well I literally just redid the whole project. Deleted and copied the other project again. Now the only issue I have is the footer don't want to stay at the bottom.
@althepal78 thanks for the additional details.
Just to make sure that we understand, you are no longer seeing the issue after you cleaned/rebuild/redid the project, are you?
Hi @althepal78. We have added the "Needs: Author Feedback" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
No I didn’t clean or rebuilt the project. I totally deleted it and created a whole new project copied and pasted the code from a different project. I’m trying to use a few controllers vs having 29 razor pages with 29 controllers in the bg
@althepal78 it's not clear if you're still facing this issue. Did it go away after you've removed the offending content, or is it still there?
Hi @althepal78. We have added the "Needs: Author Feedback" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
@althepal78 it's not clear if you're still facing this issue. Did it go away after you've removed the offending content, or is it still there?
I literally deleted it I said that already and redid it
@althepal78 It's not clear what the current issue you're facing is. If the issue is with the footer positioning, this sounds like a CSS problem. If you're experiencing some other issue, could you please describe what it is and provide us with a minimal repro project, hosted as a public GitHub repository? Thanks.
Hi @althepal78. We have added the "Needs: Author Feedback" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.
See our Issue Management Policies for more information.