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

后端 未结 3 1817
终归单人心
终归单人心 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 10:49

    The max recommended project name length is 64 char. Team foundation server do not allow more than 64 char See the following link http://www.grabthecode.com/visual-studio/length-of-visual-studio-project-name

    0 讨论(0)
  • 2021-01-17 10:52

    You can find the naming conventions laid out by Microsoft in the below link Microsoft Docs

    0 讨论(0)
  • 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...

    0 讨论(0)
提交回复
热议问题