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