Devenv构建不编译 [英] Devenv build not compiling

查看:104
本文介绍了Devenv构建不编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我正在通过devenv命令行动作构建.Net解决方案,该项目开始构建,但没有输出dll呈现在日志(而不是输出目录)。

我正在运行的命令是: 

Hi,

I'm building a .Net solution via devenv command line action, the project starting to build but no output dll is presented on the log (and not on the output directory).
the commands I'm running are: 

"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\\vsvars32.bat"
devenv ".../MySolution.sln" /Build "Release|AnyCPU"


此构建生成的日志如下所示:

The log generated by this build looks like this:

------ Build started: Project: MyProject1, Configuration: Release Any CPU ------
------ Build started: Project: MyProject2, Configuration: Release Any CPU ------
------ Build started: Project: MyProject3, Configuration: Release Any CPU ------


正如我所提到的,没有找到输出的dll。

我们在Windows Server 2008 R2,VS 2013更新3,.Net Framework 4.5.2上运行。



故障是零星的,从VS 2013构建解决方案工作正常,以及devenv。我们正在以这种方式运行构建很长一段时间这个问题对我们来说是新的。

(这个构建失败是批量构建解决方案的一部分,发生在两个不同的解决方案上)。



谢谢。 



As I mentioned not output dlls found.
We are running on Windows Server 2008 R2, VS 2013 update 3, .Net Framework 4.5.2.

The failures are sporadic, building the solution from VS 2013 works fine, as well as on devenv. we are running builds this way for a long time and this issue is new to us.
(This build failures comes as part of a batch build of solution and occurred on two different solutions).

Thanks. 

推荐答案

您好Ohad Cohen,

Hi Ohad Cohen,

感谢您在此处发帖。

>>> 项目开始构建但日志中没有输出dll

>>>the project starting to build but no output dll is presented on the log

因为您可以设置 MSBuild项目构建输出详细程度
安静:

将其设置为安静,然后构建解决方案,您将获得没有输出dll的日志:

After you set it to Quiet, then you build your solution, you will get the log without output dll:

要解决此问题,您应该将MSBuild项目构建输出详细程度更改为最小或大于
(工具 - >选项 - >项目和解决方案 - >构建和运行)。

To resolve this issue, you should change the MSBuild project build output verbosity to minimal or above (Tools->Options->Projects and Solutions->Build and Run).


这篇关于Devenv构建不编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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