Lost Paths to References in VS2022

Hi,

Im trying to use our GitLab Repoitory with Visual Studio 2022.
Because of the issue that Visual Studio uses master as main branch and GitLab main instead, I have to create a Project in GitLab, then pushing all files from VS into the project, merging master into main and cloning a new project in Visual Studio.

A bit laborious, but works so far.

My problem is that in VS some pathes to the References ( .dll files ) are empty so the project has missing dependencies for me.

All pathes existing in the remote vs project file on gitlab:

In VS Project the path is empty:

For comparison, the Project References from the source project:

How can this be fixed or is there a way to create/synch VS Projects with GitLab to prevent that issues?

Thanks