`./generate.sh -t text -p Microsoft.CodeAnalysis.PooledObjects,5.0.0-1.25277.114` The generated csproj has the following ProjectReference: ` <ProjectReference Include="../../system.collections.immutable/9.0.0/System.Collections.Immutable.9.0.0.csproj" />` This is incorrect because the project is a reference package. Because it is a different package type, the path is incorrect.