打开XML文档后,VS2010中的编译时间会增加。 [英] Increased Compile Time in VS2010 once XML Documentation turned on.

查看:55
本文介绍了打开XML文档后,VS2010中的编译时间会增加。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前是使用C#Visual Studio 2010 Ultimate开发应用程序的团队的一员。该解决方案包括两个项目,一个用于类型化数据集,另一个用于其余代码。当我打开主项目
上的XML Documentation file选项时,编译时间从45秒增加到8分钟,问题数量从1096增加到4032(但是所有问题都出现在错误列表中两次大多数运行,数量是8064)

I am currently part of a team developing an application in C# Visual Studio 2010 Ultimate. The solution consists of two projects one for typed data sets and one for the rest of the code. When I turn on the XML Documentation file option on the main project the compile time increases from 45 seconds to 8 minutes and the number of issues increases from 1096 to 4032 (however as all the issues appear in the error list twice on most runs, the number is 8064)

有很多来自应用程序的CS1591消息 最终将记录XML的代码,以及水晶报告背后的自动生成代码。

There are a lot of CS1591 messages some from application  code that will be XML documented eventually and some from the auto-generated code behind the crystal reports.

  Eric Woodroft在http://social.msdn.microsoft.com/Forums上的建议/ en-US / devdocs / thread / 9bbad4cc-e229-49da-a6f7-3cdf470ac53a将编译时间缩短到45秒,但为什么速度差异?

 Eric Woodroft's suggestion at http://social.msdn.microsoft.com/Forums/en-US/devdocs/thread/9bbad4cc-e229-49da-a6f7-3cdf470ac53a brought the compile time back down to 45 seconds, but why the disparity in speed?

推荐答案

我现在已经在这个客户端网站上完成了,但是我打开这个问题为什么这个修复工作。
I have now finished at this client site, but I am leaving this question open as to why this fix works.


这篇关于打开XML文档后,VS2010中的编译时间会增加。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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