I have a blazor server project, and I wanted to move some of the shared components to a different assembly to see if it would make a difference in the compilation times (bonus for letting me know if this would work...), but this isn't going so well.
In VS2019 the razor.cs parts of the components are at the same level as the .razor parts (rather than being 'under' them as they are in the blazor project), and other components can't find them. Oddly the project builds and runs, but the components are just drawn blank. I've cleaned, rebuilt, deleted the bin and obj folders, restarted VS etc, and no changes.
I have updated the _Imports.razor file, and everything should be as it needs to be, but this just isn't working.
Any help appreciated!
EDIT: This is 'Under':

