I made an offline installer of the VS Community 2019. When running from that location the installer reports the following error:
The source layout directory is too long. The layout directory name must be less than {0} characters.
I made an offline installer of the VS Community 2019. When running from that location the installer reports the following error:
The source layout directory is too long. The layout directory name must be less than {0} characters.
Windows OS has this restriction that your path cannot be greater than a certain number. Install it in a simpler drive level directories like "C:\Program Files\Visual Studio" or "C:\Visual Studio". More hierarchy adds to your limit and VS installation itself creates numerous inner level directories and at some point, some of those might hit the limit.
this happens when the path is too long: Fix: copy the setup directory to C:> rename the folder containing the setup files to a short name like VS
That should work
I moved The Whole Setup to my c drive and it worked. I have 500GB of free space in my C Drive