需要VS 2005 * 3 MINUTES *来编译ASP.NET 2.0网站 [英] Takes VS 2005 *3 MINUTES* to compile ASP.NET 2.0 website

查看:93
本文介绍了需要VS 2005 * 3 MINUTES *来编译ASP.NET 2.0网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在修改外部DLL时,需要VS 2005 1,2和somtimes 3 MINUTES来编译ASP.NET 2.0网站

。事实上,当我点击''Build'',

看起来VS 2005在实际开始之前大部分时间都会挂起

编译。如果我在没有修改DLL的情况下修改WebSite项目本身的内容,则编译需要几秒钟。


为什么?如何控制这种行为?


通过创建一个简单的WebSite和我从该WebSite项目引用的简单DLL,我能够重现这种行为。

It takes VS 2005 1, 2, and somtimes 3 MINUTES to compile ASP.NET 2.0 website
when external DLL is modified. As a matter of fact, when I click ''Build'',
it looks like VS 2005 hangs for most of that time before it actually starts
compiling. If I modify something inside WebSite project itself without
modifying DLL, it takes few seconds to compile.

Why? How can I control this behavior?

I was able to reproduce this behavior by creating a simple WebSite and
simple DLL that I reference from that WebSite project.

推荐答案

Amelyan,


您已经发布了此消息3次,并且您已接受

说明提供的解释是有道理的。


但你还没有说你是否尝试过发布的简单解决方案,

以及是否是否有效。


你试过吗?是否有用?


Juan T. Llibre,ASP.NET MVP

ASP.NET常见问题解答: http://asp.net.do/faq/

Foros de ASP.NET en Espa?ol: http://asp.net.do/foros/

======================================

Amelyan < bamelyan at wi.rr.com>在消息中写道

新闻:eH ************* @ TK2MSFTNGP10.phx.gbl ...
Amelyan,

you have posted this message 3 times now, and you accepted
that the explanation which was offered made sense.

But you have not said whether you tried the simple solution posted,
and whether it works or not.

Did you try it ? Does it work ?


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Espa?ol : http://asp.net.do/foros/
======================================
"Amelyan" <bamelyan at wi.rr.com> wrote in message
news:eH*************@TK2MSFTNGP10.phx.gbl...
需要VS 2005 1,在修改外部DLL时,编译ASP.NET 2.0网站的时间为3分钟。事实上,当我点击Build时,看起来VS
2005在实际开始编译之前大部分时间都会挂起。如果我在不修改DLL的情况下修改WebSite项目本身内部的内容,则需要几秒钟才能编译。

为什么?如何控制这种行为?

我能够通过创建一个简单的WebSite和我从该WebSite项目引用的简单DLL来重现这种行为。
It takes VS 2005 1, 2, and somtimes 3 MINUTES to compile ASP.NET 2.0 website when
external DLL is modified. As a matter of fact, when I click ''Build'', it looks like VS
2005 hangs for most of that time before it actually starts compiling. If I modify
something inside WebSite project itself without modifying DLL, it takes few seconds to
compile.

Why? How can I control this behavior?

I was able to reproduce this behavior by creating a simple WebSite and simple DLL that I
reference from that WebSite project.



Juan,


是的,我试过了你的建议。当我删除旧的DLL并在每次编译时将它重新添加到引用时,这个过程需要更长的时间。所以,这个

解决方案是没用的。


Juan T. Llibre <无*********** @ nowhere.com>在消息中写道

新闻:%2 **************** @ TK2MSFTNGP12.phx.gbl ...
Juan,

Yes, I tried the your suggestion. When I remove the old DLL and re-add it
to references every time compile, this process takes even longer. So, this
solution is useless.

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Amelyan,

你现在已经发了3次这个消息了,你接受了
提供的解释是有道理的。

但你还没有说你是否尝试过发布简单的解决方案,
以及它是否有效。

你试过吗?它是否有效?




ASP.NET MVP
ASP.NET常见问题解答: http://asp.net.do/faq/
Foros de ASP.NET en Espa?ol: http://asp.net.do/foros/
======== ==============================
Amelyan < bamelyan at wi.rr.com>在消息中写道
新闻:eH ************* @ TK2MSFTNGP10.phx.gbl ...
Amelyan,

you have posted this message 3 times now, and you accepted
that the explanation which was offered made sense.

But you have not said whether you tried the simple solution posted,
and whether it works or not.

Did you try it ? Does it work ?


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Espa?ol : http://asp.net.do/foros/
======================================
"Amelyan" <bamelyan at wi.rr.com> wrote in message
news:eH*************@TK2MSFTNGP10.phx.gbl...
需要VS 2005 1,2和somtimes修改外部DLL时3分钟编译ASP.NET 2.0
网站。事实上,当我点击Build时,看起来VS 2005在它实际开始编译之前大部分时间都会挂起。如果我在不修改DLL的情况下修改WebSite项目内部的内容,则需要几秒钟的时间进行编译。

为什么?如何控制这种行为?

我能够通过创建一个简单的WebSite和我从该WebSite项目引用的简单DLL来重现这种行为。
It takes VS 2005 1, 2, and somtimes 3 MINUTES to compile ASP.NET 2.0
website when external DLL is modified. As a matter of fact, when I click
''Build'', it looks like VS 2005 hangs for most of that time before it
actually starts compiling. If I modify something inside WebSite project
itself without modifying DLL, it takes few seconds to compile.

Why? How can I control this behavior?

I was able to reproduce this behavior by creating a simple WebSite and
simple DLL that I reference from that WebSite project.




你是否尝试过在VS中编译程序集?

Juan T. Llibre,ASP.NET MVP

ASP.NET常见问题解答: http://asp.net。 do / faq /

Foros de ASP.NET en Espa?ol: http://asp.net.do/foros/

===================== =================

Amelyan < bamelyan at wi.rr.com>在消息中写道

新闻:eV ************** @ TK2MSFTNGP15.phx.gbl ...
Have you tried compiling the assembly from within VS ?

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Espa?ol : http://asp.net.do/foros/
======================================
"Amelyan" <bamelyan at wi.rr.com> wrote in message
news:eV**************@TK2MSFTNGP15.phx.gbl...
Juan,
是的,我试过了你的建议。当我删除旧DLL并在每次编译时将其重新添加到引用时,此过程需要更长时间。因此,这种解决方案毫无用处。

Juan T. Llibre <无*********** @ nowhere.com>在消息中写道
新闻:%2 **************** @ TK2MSFTNGP12.phx.gbl ...
Juan,

Yes, I tried the your suggestion. When I remove the old DLL and re-add it to references
every time compile, this process takes even longer. So, this solution is useless.

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Amelyan,

你现在已经发布了这个消息3次了,你接受了
提供的解释是有道理的。

但你还没有说过你是否尝试过发布的简单解决方案,
以及它是否有效。

你试过吗?它是否有效?




ASP.NET MVP
ASP.NET常见问题解答: http://asp.net.do/faq/
Foros de ASP.NET en Espa?ol: http://asp.net.do/foros/
======== ==============================
Amelyan < bamelyan at wi.rr.com>在消息中写道
新闻:eH ************* @ TK2MSFTNGP10.phx.gbl ...
Amelyan,

you have posted this message 3 times now, and you accepted
that the explanation which was offered made sense.

But you have not said whether you tried the simple solution posted,
and whether it works or not.

Did you try it ? Does it work ?


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Espa?ol : http://asp.net.do/foros/
======================================
"Amelyan" <bamelyan at wi.rr.com> wrote in message
news:eH*************@TK2MSFTNGP10.phx.gbl...
需要VS 2005 1,2和somtimes修改外部DLL时3分钟编译ASP.NET 2.0网站。事实上,当我点击Build时,看起来VS
2005在实际开始编译之前大部分时间都会挂起。如果我在不修改DLL的情况下修改WebSite项目本身内部的内容,则需要几秒钟才能编译。

为什么?如何控制这种行为?

我能够通过创建一个简单的WebSite和简单的DLL来重现这种行为,我从该WebSite项目中引用它。
It takes VS 2005 1, 2, and somtimes 3 MINUTES to compile ASP.NET 2.0 website when
external DLL is modified. As a matter of fact, when I click ''Build'', it looks like VS
2005 hangs for most of that time before it actually starts compiling. If I modify
something inside WebSite project itself without modifying DLL, it takes few seconds to
compile.

Why? How can I control this behavior?

I was able to reproduce this behavior by creating a simple WebSite and simple DLL that
I reference from that WebSite project.





这篇关于需要VS 2005 * 3 MINUTES *来编译ASP.NET 2.0网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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