Visual Studio and maximum length of the path of a project reference

后端 未结 3 1859
终归单人心
终归单人心 2021-01-17 10:11

We have a number of projects, and each lives deep in a folder structure. When one set of projects needs to reference a project in a different folder, the reference can fail

3条回答
  •  长情又很酷
    2021-01-17 11:02

    Short answer - don't do that and it will not hurt. Consider less deep hierarchies and make related projects to live close.

    MSBuild is managed application and CLR have restriction on path/file name length of about 256 characters...

提交回复
热议问题