I'm using VS.NET 2003. One of the modules in my VB.NET project has over
10,000 lines of codes. If I Build solution, the compiler sometimes hangs on
that project at "Performing main compilation...". I have to close the IDE
with an exception (prompted for send report to MS). This problem happens on
my other computer as well. 6 1604
There are more reasons than just the IDE to break up the 10,000 lines
module.
- Sahil Malik
You can reach me thru my blog http://www.dotnetjunkies.com/weblog/sahilmalik
"John Smith" <so*****@microsoft.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl... I'm using VS.NET 2003. One of the modules in my VB.NET project has over 10,000 lines of codes. If I Build solution, the compiler sometimes hangs on that project at "Performing main compilation...". I have to close the IDE with an exception (prompted for send report to MS). This problem happens on my other computer as well.
"Sahil Malik" <co*****************@nospam.com> wrote in message
news:OH**************@tk2msftngp13.phx.gbl... There are more reasons than just the IDE to break up the 10,000 lines module.
Usually, but not always. One assembly in my project is an auto-generated
data-access layer, which provides a mapping between our object-relational
system and typed/named access for the business objects to use. It's
currently weighing in at about 70,000 lines (around 300 ish classes). For
auto-generated stuff like this, it's too much of a hassle to generate a
source file for each class (it doesn't have to be edited after all), so we
just generate chunks of around 20,000 lines (to avoid the 32,000 or 65,000
or whatever C++ line limit).
Stu - Sahil Malik You can reach me thru my blog
http://www.dotnetjunkies.com/weblog/sahilmalik
"John Smith" <so*****@microsoft.com> wrote in message news:%2****************@tk2msftngp13.phx.gbl... I'm using VS.NET 2003. One of the modules in my VB.NET project has over 10,000 lines of codes. If I Build solution, the compiler sometimes hangs on that project at "Performing main compilation...". I have to close
the IDE with an exception (prompted for send report to MS). This problem happens on my other computer as well.
Can you commandline compile it and reference the dll instead?
- Sahil Malik
You can reach me thru my blog http://www.dotnetjunkies.com/weblog/sahilmalik
"Stu Smith" <st*****@nospam-digita.com> wrote in message
news:eN*************@TK2MSFTNGP09.phx.gbl... "Sahil Malik" <co*****************@nospam.com> wrote in message news:OH**************@tk2msftngp13.phx.gbl... There are more reasons than just the IDE to break up the 10,000 lines module.
Usually, but not always. One assembly in my project is an auto-generated data-access layer, which provides a mapping between our object-relational system and typed/named access for the business objects to use. It's currently weighing in at about 70,000 lines (around 300 ish classes). For auto-generated stuff like this, it's too much of a hassle to generate a source file for each class (it doesn't have to be edited after all), so we just generate chunks of around 20,000 lines (to avoid the 32,000 or 65,000 or whatever C++ line limit).
Stu
- Sahil Malik You can reach me thru my blog
http://www.dotnetjunkies.com/weblog/sahilmalik
"John Smith" <so*****@microsoft.com> wrote in message news:%2****************@tk2msftngp13.phx.gbl... > I'm using VS.NET 2003. One of the modules in my VB.NET project has over > 10,000 lines of codes. If I Build solution, the compiler sometimes > hangs > on that project at "Performing main compilation...". I have to close the > IDE with an exception (prompted for send report to MS). This problem > happens on my other computer as well. > >
Besides ASM, I never compiled anything else in commandline. How to
commandline compile the VB.NET dll exactly?
"Sahil Malik" <co*****************@nospam.com> wrote in message
news:Os*************@TK2MSFTNGP09.phx.gbl... Can you commandline compile it and reference the dll instead?
- Sahil Malik You can reach me thru my blog http://www.dotnetjunkies.com/weblog/sahilmalik "Stu Smith" <st*****@nospam-digita.com> wrote in message news:eN*************@TK2MSFTNGP09.phx.gbl... "Sahil Malik" <co*****************@nospam.com> wrote in message news:OH**************@tk2msftngp13.phx.gbl... There are more reasons than just the IDE to break up the 10,000 lines module.
Usually, but not always. One assembly in my project is an auto-generated data-access layer, which provides a mapping between our object-relational system and typed/named access for the business objects to use. It's currently weighing in at about 70,000 lines (around 300 ish classes). For auto-generated stuff like this, it's too much of a hassle to generate a source file for each class (it doesn't have to be edited after all), so we just generate chunks of around 20,000 lines (to avoid the 32,000 or 65,000 or whatever C++ line limit).
Stu
- Sahil Malik You can reach me thru my blog
http://www.dotnetjunkies.com/weblog/sahilmalik
"John Smith" <so*****@microsoft.com> wrote in message news:%2****************@tk2msftngp13.phx.gbl... > I'm using VS.NET 2003. One of the modules in my VB.NET project has > over > 10,000 lines of codes. If I Build solution, the compiler sometimes > hangs > on that project at "Performing main compilation...". I have to close
the > IDE with an exception (prompted for send report to MS). This problem > happens on my other computer as well. > >
John Smith <so*****@microsoft.com> wrote: Besides ASM, I never compiled anything else in commandline. How to commandline compile the VB.NET dll exactly?
Bring up the command prompt which is one of the shortcuts under the
VS.NET 2003 menu, then type
vbc
To see the various command line options etc that the VB.NET compiler
can take.
--
Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
The only downside would be; probably you wouldn't be able to debug the auto
generated code though. Atleast not easily.
- Sahil Malik
You can reach me thru my blog http://www.dotnetjunkies.com/weblog/sahilmalik
"Jon Skeet [C# MVP]" <sk***@pobox.com> wrote in message
news:MP************************@msnews.microsoft.c om... John Smith <so*****@microsoft.com> wrote: Besides ASM, I never compiled anything else in commandline. How to commandline compile the VB.NET dll exactly?
Bring up the command prompt which is one of the shortcuts under the VS.NET 2003 menu, then type
vbc
To see the various command line options etc that the VB.NET compiler can take.
-- Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet If replying to the group, please do not mail me too This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: steve |
last post by:
I am setting up a huge database in mysql, and I get the above error in
Linux. I believe it is related to the size of one of my tables, which
is 4,294,966,772 bytes in size. Can someone help. How...
|
by: rked |
last post by:
I get nameSPAN1 is undefined when I place cursor in comments box..
<%@ LANGUAGE="VBScript" %>
<% DIM ipAddress
ipAddress=Request.Servervariables("REMOTE_HOST")
%>
<html>
<head>
<meta...
|
by: Kums |
last post by:
What is the maximum permissible size of a database? Is there any limitation.
What is the maximum # of tablespace's allowed in a database?
Thanks for your response.
|
by: Peter Ballard |
last post by:
Hi all,
I've got a C program which outputs all its data using a statement of
the form:
putchar(ch, outfile);
This has worked fine for years until it had to output more than 2GB of
data...
|
by: vigori |
last post by:
I have an application that send a file to a web service (I built both the
application and the web service)
I set the max file size via web.config of the web service:
<httpRuntime...
|
by: Claudio Grondi |
last post by:
I have just started to play around with the bsddb3 module interfacing
the Berkeley Database.
Beside the intended database file
databaseFile.bdb
I see in same directory also the
__db.001...
|
by: Ron |
last post by:
Hi all,
How do I determine the size of the tables I'm using? I looked under
properties and it's not there. The book I just browsed said table is
limited to 1GB. How do I find out what size my...
|
by: Daniel |
last post by:
c# string size limit? length of string limit?
|
by: Salad |
last post by:
I'm asking this for curiosity's sake. Is there a code module size limit?
I looked at Access Specifications in help and didn't notice a code limit
size. For some odd reason I was under the...
|
by: shawno |
last post by:
Hi,
We're running DB2 v8.1 on a windows platform and have a database that
is quite large. It basically contains one table with a BLOB field
(each blob is a zip file, maybe 500K to 1MB), and...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |