I proved this script -> https://github.com/dotnet/sdk/issues/12297#issuecomment-2885270708 and configurated de .csproj putting false the generation of the assembly file and after that the solution was succesfully built. Check out the IDE, because i was using rider and i had a problem with the files looking red but with no issue (even building the solution) and the problem was related with the cache of RIDER so i cleaned it and worked. I hope this helps.