Dec 29, 2019 01:54 PM|Dads|LINK
Im having the same issue too... Everytime i add a new razor page (not scaffolded item but just a single blank razor page), the namespace isn't correct.
It seems the folder structure is not being included. I have to manually correct the namespace of the page everytime to include the folder structure or else the namespace would clash.
Im using Visual studio 2019 and .net core 2.2. I'm not having this kind of error before but 2 days ago, i reformatted my machine and reinstalled VS2019... and now the issue is happening.
Does anyone have a solution on this?