I have been working on a project using Blazor Server .net6. In Visual studio i normally work in the Sln file and also run build to check changes. everything always works perfectly and looks normal. we are getting close to production (I have been working on this project all by myself with no help from managers) and dont really know how to go about deployment.
I tried to run build on the .csproj as opposed to the solution file which i normally do and the css does not seem to be applied. both are in the same directory
Is this an issue. I am not sure if the sln file be used when trying to deploy or the actual .csproj
when i build the sln
when i build the .csproj
console error
this is a new project which i had just built to see if maybe i have cause the problem in development but even when i create the project and simply try to build the same issues occur.
for legal reason i cant take screenshot from my work laptop but the issues are still the same as images above
I tried to use chatgpt but it didnt help


