What is the difference between "dotnet build xxx.sln" vs "dotnet build .proj" by .proj?

Viewed 139

It seems the two methods have some difference as if I try to build using my sln it throws all sorts of error (like cannot copy, part of path cannot found or complaining about possible path length limit) but if I build .proj by .proj (according to sln) it build fine ? It is happening inside Jenkins .net6 build container. It is failing during restore stage.

Any idea what it can be ?

Thanks

0 Answers
Related