❔ Blazor Project won't compile - Previously did without any changes.
Hi,
I have a blazor project, which previously compiled and ran without issue. My last commit was submitted to source control, which built and published my website as part of the CI/CD step, and all without issue.
Having come back to the project, I am getting errors that it can't recognise a 2 types, however when in the files referenced, I can see what types they are. Their namespace is referenced from the main
I have closed VS, deleted the .vs folder and the bin and obj folders. I restarted my PC. Nothing has worked.
The types it seems to not be able to recognise are
I've not knowingly updated anything my end, and my git client shows that no files have changed at all, so there is no reason I can tell for it to not compile. And Nothing I can do to rid the errors.
My project is in .net6 (I have plans to upgrade to .net7 in the future, but not for now). I really cannot tell why this is happening, or how to sort it...
I have tried re-cloning the project into a different folder and I still get the compilation error. The types exist, their namespaces referenced... I just don't understand...
A similar project using a similar setup still compiles without issue...
I have a blazor project, which previously compiled and ran without issue. My last commit was submitted to source control, which built and published my website as part of the CI/CD step, and all without issue.
Having come back to the project, I am getting errors that it can't recognise a 2 types, however when in the files referenced, I can see what types they are. Their namespace is referenced from the main
_imports.razor file, and to check I have tried copying the entire contents of said imports file (all the usings) to the top of the effected pages, and get the same errors.I have closed VS, deleted the .vs folder and the bin and obj folders. I restarted my PC. Nothing has worked.
The types it seems to not be able to recognise are
RegistrationWindow and ExtensionWindow. I am attempting to build the exact same project that previously built without issues a few days ago, AND which my CI/CD process managed to build and compile.I've not knowingly updated anything my end, and my git client shows that no files have changed at all, so there is no reason I can tell for it to not compile. And Nothing I can do to rid the errors.
My project is in .net6 (I have plans to upgrade to .net7 in the future, but not for now). I really cannot tell why this is happening, or how to sort it...
I have tried re-cloning the project into a different folder and I still get the compilation error. The types exist, their namespaces referenced... I just don't understand...
A similar project using a similar setup still compiles without issue...
