Me and my group of three work on three different machines and in different IDE's more specifically we work with Rider on MacOS and Visual Studio on Windows. I created a local reposityory and updated the .gitignore using https://gitignore.io/api/rider,macos,csharp,windows,visualstudio.

I committed and pushed the gitignore and gitattributes files to GitHub, then made a new ASP.NET Core MVC solution in Visual Studio and committed and pushed that too.

One of my groupmembers on a Mac in Rider cloned the repository and tried to run it. It runs succesfully but the webpage looks as if there is no styling at all.

Below is an image of how it looks on my machine in Google Chrome on Windows and a picture of how it looks on his Mac in Google Chrome.

Styled ASP.NET Core MVC on Windows in Google Chrome

Styled ASP.NET Core MVC on Windows in Google Chrome

NonStyled ASP.NET Core MVC on MacOS in Google Chrome

NonStyled ASP.NET Core MVC on MacOS in Google Chrome

Why does this happen and how can i avoid it? Do you need any more details to determine it, then i will gladly provide it.

Related posts

Recent Viewed