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. 10 1164
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... 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.
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... 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... 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.
the point is that you still can do an incremental build
"Scott M." <s-***@nospam.nospam> wrote in message
news:O7*************@tk2msftngp13.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... 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... 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.
But not when hitting F5, which was the point of the question.
"Brian Henry" <br**********@newsgroups.nospam> wrote in message
news:uf**************@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... 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... 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... 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.
"windtunnel" <wi********@discussions.microsoft.com> schrieb: 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.
Notice that incremental build was not supported for VB.NET 2002.
In addition to the other comments, make sure that "Project" -> "Properties
of <project name>..." -> "Configuration settings" -> "Optimizations" -> [X]
"Use incremental build" is checked.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
"Scott M." <s-***@nospam.nospam> schrieb: But not when hitting F5, which was the point of the question.
I doubt that this is true. Hitting F5, for example, doesn't recreate the
executable if there were no changes made to the code in the meantime. I
didn't extensively play around with the "incremental build" project setting,
but I assume that if the setting is checked an incremental build will be
done when pressing F5.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Yes, you are right Herfried. I did not know this feature had been added
automatically to 2003.
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:uP*************@TK2MSFTNGP15.phx.gbl... "windtunnel" <wi********@discussions.microsoft.com> schrieb: 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.
Notice that incremental build was not supported for VB.NET 2002.
In addition to the other comments, make sure that "Project" -> "Properties of <project name>..." -> "Configuration settings" -> "Optimizations" -> [X] "Use incremental build" is checked.
-- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Windtunnel,
Did you know that you can with right clicking on a project file temporaly
exclude it from your project.
And than divide your project in folders, and than exclude a folder.
Maybe this helps
Cor
Herfried, what does the "Enable Optimizations" mean (it's the line just above
the "incremental Compile" radio button?
"Herfried K. Wagner [MVP]" wrote: "windtunnel" <wi********@discussions.microsoft.com> schrieb: 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.
Notice that incremental build was not supported for VB.NET 2002.
In addition to the other comments, make sure that "Project" -> "Properties of <project name>..." -> "Configuration settings" -> "Optimizations" -> [X] "Use incremental build" is checked.
-- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
"Dennis" <De****@discussions.microsoft.com> schrieb: Herfried, what does the "Enable Optimizations" mean (it's the line just above the "incremental Compile" radio button?
Visual Basic Compiler Options -- '/optimize'
<URL:http://msdn.microsoft.com/library/en-us/vblr7/html/valrfOptimizeEnabledisableOptimizations.asp>
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: broebel |
last post by:
I'm just wondering,
people tell me that helping to debug someone elses program is a really good
way to learn to understand the language it's programmed in.
My question is: from wich point of...
|
by: Gary |
last post by:
I have problem in debugging a solution.
The steps are explained below.
1. Build the solution which has some 100 projects.
2. goto debug mode, the IDE starts verifying the build for all the...
|
by: chuayongquan |
last post by:
I have a memory leak in my program. Now how do I read the following
messages:
Info: AfxDllCanUnloadNow returning S_OK
Detected memory leaks!
Dumping objects ->
{14831} normal block at...
|
by: Johann Blake |
last post by:
I can hardly believe I'm the first one to report this, but having gone
through the newsgroup, it appears that way.
I would like to open a solution in the VS.NET IDE that consists of
multiple...
|
by: Dean R. Henderson |
last post by:
I have a project built for ASP.NET that recently started running really slow
in debug mode (it takes about 10 seconds or more to step from one line of
code to the next).
This just started...
|
by: Colin |
last post by:
I recently installed both XP SP2 and Visual Studio 2005 and now when I try to
debug my application I get an error: "Error while trying to run project:
Unable to start debugging on the web server....
|
by: Martin Odhelius |
last post by:
Hello,
I have a very fustrating problems while debugging ASP.NET applications.
When I am debugging and stepping thru code (with F10 or F11) Visual
Studio some times suddenly just stop responding...
|
by: phnimx |
last post by:
Hi ,
We have developed a number of plug-in .NET Library Components that we
typically deploy with our various applications by installing them into the
GAC.
Each of the applications contains an...
|
by: jwwicks |
last post by:
Introduction
This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the...
|
by: jwwicks |
last post by:
C/C++ Programs and Debugging in Linux
This tutorial will give you a basic idea how to debug a program in Linux using GDB. As you are aware Visual Studio doesn’t run on Linux so you have to use...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |