Jump to content

HTML not loading

Go to solution Solved by ladybug,
On 12/16/2021 at 2:20 AM, Slottr said:

This sounds like user error

UPDATE: It was Firefox caching it for some reason.  I cleared cache and it's fixed. Why does it cache old fes when I update them that's stupid anyway I fixed it. 

Hey,so I made a .Net Core Web App then copied the project and added more code and when I open it it opens a blank web page even though the Index view for it is the same as the previous project because it's a copy and the previous one works. Is there a chance it's something else in the code or it is the surely caused by the HTML files (views) in the project? No error messages and nothing in visual studio.

 

Link to comment
https://linustechtips.com/topic/1396327-html-not-loading/
Share on other sites

Link to post
Share on other sites

Can’t give you the first idea without any code 

Community Standards || Tech News Posting Guidelines

---======================================================================---

CPU: R5 9600X || GPU: RX 9070 XT|| Memory: 32GB || Cooler: Peerless Assassin || PSU: RM850e|| Case: Lian Li A3

Link to comment
https://linustechtips.com/topic/1396327-html-not-loading/#findComment-15157499
Share on other sites

Link to post
Share on other sites

11 minutes ago, Slottr said:

Can’t give you the first idea without any code 

omg I found the reason. Visual Studio in its infinite wisdom deleted the Razor folder with all the views from debug in explorer because apparently renaming your namespace makes your project unusable. Seriously Microsoft?! I mean I expect the ultimate bugginess from everything Microsoft now but this is just they are going to know about this! Do you know any solutions to respawn or regenerate the folder automatically without having to create another copy and then copying and pasting all night between the two?

Link to comment
https://linustechtips.com/topic/1396327-html-not-loading/#findComment-15157520
Share on other sites

Link to post
Share on other sites

17 minutes ago, stefanmz said:

omg I found the reason. Visual Studio in its infinite wisdom deleted the Razor folder with all the views from debug in explorer because apparently renaming your namespace makes your project unusable. Seriously Microsoft?! I mean I expect the ultimate bugginess from everything Microsoft now but this is just they are going to know about this! Do you know any solutions to respawn or regenerate the folder automatically without having to create another copy and then copying and pasting all night between the two?

This sounds like user error

Community Standards || Tech News Posting Guidelines

---======================================================================---

CPU: R5 9600X || GPU: RX 9070 XT|| Memory: 32GB || Cooler: Peerless Assassin || PSU: RM850e|| Case: Lian Li A3

Link to comment
https://linustechtips.com/topic/1396327-html-not-loading/#findComment-15157543
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×