It feels weird to have the packages path as the return value from a function that generates a project (I'd expect the return value to the be the C# project path); it should probably be an out parameter instead.