在vb中调试大项目 [英] debugging big projects in vb

查看:81
本文介绍了在vb中调试大项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在考虑将vb6项目转换为vb.net。

此项目有超过300个窗体。我们关注的一个问题是,每当我们对项目的一个形式进行任何更改,并且点击F5到

运行它时,调试器会编译所有的内容。

vs.net在执行

项目之前的项目。这是发展的噩梦。这需要很长时间。有没有

a的方式让vs.net不能编译所有东西,只编译我们访问的表格

,就像在vb6中一样。

We are considering to convert a vb6 project to vb.net.
This project has over 300 windows forms. One of our concern is that in
vs.net whenever we make any change in a form of the project, and hit F5 to
run it, the debugger compiles everything in the project before executing the
project. This is a nightmare for development. It takes very long. Is there
a way to make vs.net not compile everything and only compile the forms that
we visit, like in vb6.

推荐答案

为什么这是一场噩梦?用C ++编写的所有专业开发都是这样编译的,并且它们通常具有非常大的应用程序。那是多么真实的

软件开发工作,你做了一个完整的编译。但是,.NET会进行
增量编译。你做了一次完整的构建,但是如果你对一个表单进行了更改,那么增量编译将查找已经更改的内容和

编译更改。这并不像你想象的那么糟糕。


windtunnel <无线******** @ discussions.microsoft.com>在消息中写道

新闻:5C ********************************** @ microsof t.com ...
why is that a nightmare?all professional development in C++ and such compile
this way and they have very large applications generally. that is how real
software development works, you do a full compile. However, .NET does
incremental compiles. You do a full build once, but then if you make a
change to one form, incremental compile will look for what has changed and
compile the changes. It''s not as bad as you may think it to be.

"windtunnel" <wi********@discussions.microsoft.com> wrote in message
news:5C**********************************@microsof t.com...
我们正在考虑将vb6项目转换为vb.net。
这个项目有300多个窗体。我们关注的一点是,在
vs.net中,每当我们对项目的某个形式进行任何更改,并点击F5来运行它时,调试器会在执行之前编译项目中的所有内容

项目。这是发展的噩梦。这需要很长时间。是否
有一种方法可以让vs.net不编译所有内容,只编译我们访问过的表单
,就像在vb6中一样。
We are considering to convert a vb6 project to vb.net.
This project has over 300 windows forms. One of our concern is that in
vs.net whenever we make any change in a form of the project, and hit F5 to
run it, the debugger compiles everything in the project before executing
the
project. This is a nightmare for development. It takes very long. Is
there
a way to make vs.net not compile everything and only compile the forms
that
we visit, like in vb6.



只有在选择构建时才会出现增量构建。来自Build

菜单。如果你不是,那就是重建。将会发生。

" Brian Henry" <峰; br ********** @ newsgroups.nospam>在消息中写道

新闻:ez **************** @ TK2MSFTNGP14.phx.gbl ...
The incremental build only occurs if you choose "Build" from the "Build"
menu. If you don''t, a "Re-Build" will occur.
"Brian Henry" <br**********@newsgroups.nospam> wrote in message
news:ez****************@TK2MSFTNGP14.phx.gbl...
为什么一个噩梦?用C ++编写的所有专业开发都是这样编译的,一般都有非常大的应用程序。那就是真正的软件开发如何工作,你做了一个完整的编译。但是,.NET
会进行增量编译。你做了一次完整的构建,但是如果你对一个表单进行更改,增量编译将查找已更改的内容并编译更改。这并不像你想象的那么糟糕。

windtunnel <无线******** @ discussions.microsoft.com>在消息中写道
新闻:5C ********************************** @ microsof t.com。 ..
why is that a nightmare?all professional development in C++ and such
compile this way and they have very large applications generally. that is
how real software development works, you do a full compile. However, .NET
does incremental compiles. You do a full build once, but then if you make
a change to one form, incremental compile will look for what has changed
and compile the changes. It''s not as bad as you may think it to be.

"windtunnel" <wi********@discussions.microsoft.com> wrote in message
news:5C**********************************@microsof t.com...
我们正在考虑将vb6项目转换为vb.net。
这个项目有300多个窗体。我们关注的一点是,在
vs.net中,每当我们对项目的某个形式进行任何更改,并点击F5运行它时,调试器会在执行之前编译项目中的所有内容

项目。这是发展的噩梦。这需要很长时间。是否
有一种方法可以让vs.net不编译所有内容,只编译我们访问过的表单
,就像在vb6中一样。
We are considering to convert a vb6 project to vb.net.
This project has over 300 windows forms. One of our concern is that in
vs.net whenever we make any change in a form of the project, and hit F5
to
run it, the debugger compiles everything in the project before executing
the
project. This is a nightmare for development. It takes very long. Is
there
a way to make vs.net not compile everything and only compile the forms
that
we visit, like in vb6.




重点是你仍然可以进行增量构建


" Scott M." < S - *** @ nospam.nospam>在消息中写道

news:O7 ************* @tk2msftngp13.phx.gbl ...
the point is that you still can do an incremental build

"Scott M." <s-***@nospam.nospam> wrote in message
news:O7*************@tk2msftngp13.phx.gbl...
增量版本仅在以下情况下发生:你选择建立来自Build
菜单。如果你不是,那就是重建。将会发生。

" Brian Henry" <峰; br ********** @ newsgroups.nospam>在消息中写道
新闻:ez **************** @ TK2MSFTNGP14.phx.gbl ...
The incremental build only occurs if you choose "Build" from the "Build"
menu. If you don''t, a "Re-Build" will occur.
"Brian Henry" <br**********@newsgroups.nospam> wrote in message
news:ez****************@TK2MSFTNGP14.phx.gbl...
为什么这是一场噩梦?所有C ++中的专业开发等以这种方式编译并且它们通常具有非常大的应用程序。
是真正的软件开发如何工作,你做一个完整的编译。但是,
.NET会进行增量编译。你做了一次完整的构建,但是如果你对一个表单进行了更改,增量编译将查找已更改的内容并编译更改。这并不像你想象的那么糟糕。

windtunnel <无线******** @ discussions.microsoft.com>在消息中写道
新闻:5C ********************************** @ microsof t.com。 ..
why is that a nightmare?all professional development in C++ and such
compile this way and they have very large applications generally. that
is how real software development works, you do a full compile. However,
.NET does incremental compiles. You do a full build once, but then if you
make a change to one form, incremental compile will look for what has
changed and compile the changes. It''s not as bad as you may think it to
be.

"windtunnel" <wi********@discussions.microsoft.com> wrote in message
news:5C**********************************@microsof t.com...
我们正在考虑将vb6项目转换为vb.net。
这个项目有300多个窗体。我们关注的一点是,在
vs.net中,每当我们对项目的某个形式进行任何更改,并点击F5运行它时,调试器会在执行之前编译项目中的所有内容

项目。这是发展的噩梦。这需要很长时间。是否
有一种方法可以让vs.net不编译所有内容,只编译我们访问过的表单
,就像在vb6中一样。
We are considering to convert a vb6 project to vb.net.
This project has over 300 windows forms. One of our concern is that in
vs.net whenever we make any change in a form of the project, and hit F5
to
run it, the debugger compiles everything in the project before executing
the
project. This is a nightmare for development. It takes very long. Is
there
a way to make vs.net not compile everything and only compile the forms
that
we visit, like in vb6.





这篇关于在vb中调试大项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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