NuGet.exe pack gives access to the path is denied June 2, 2023 by Tarik Apparently, you need to set ReadOnly=false for the files it accesses