Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Blazor Server App Not Displaying CSS When I Run Build on the .csproj file in Visual Studio

$
0
0

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

enter image description here

when i build the .csproj

enter image description here

console error

enter image description here

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


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>