如果目录更改,VS 2013编译失败 [英] VS 2013 Compilation Failing If Directory Changes

查看:55
本文介绍了如果目录更改,VS 2013编译失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不想混淆水域,所以我会尽量保持它的简单。我有一个VS2013解决方案,当目录命名为"Proj"时,它可以无错误地编译35个以上的项目。但如果我将其重命名为另一个目录则不行。当我为新软件版本创建分支时,我注意到这个
,其中一个项目会失败。使用Diagnostic verbose,解决方案有0个错误,日志中没有任何内容表明哪个项目失败。如果我将目录重命名为"Proj",它会编译
罚款。我完全难过了!



Shawn(Mail@ShawnAugust.Com)

I don't want to muddy the waters so I will try to keep it as simple as I can. I have a VS2013 solution that compiles 35+ projects without error when the directory is named "Proj" but not if I rename it to another directory. I noticed this when I created a branch for a new software version and one of the projects would fail. Using Diagnostic verbose, the solution has 0 errors and nothing in the log to indicate what project is failing. If I rename the directory back to "Proj", it compiles fine. I am completely stumped!


Shawn (Mail@ShawnAugust.Com)

推荐答案

我将项目重命名为"Prj" ;并编译。我将其重命名为更长的路径并再次失败,因为它在Service References目录中找不到一些文件。显然,必须有文件长度限制?失败的是
266个字符?
I renamed project to "Prj" and it compiled. I renamed it to a longer path and it failed again as it could not find a few files within the Service References directory. Apparently, there must be a file length restriction? The one that failed was 266 characters?


这篇关于如果目录更改,VS 2013编译失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆