Board index » delphi » Re: .NET Blows

Re: .NET Blows


2007-10-08 10:36:30 PM
delphi214
John Jacobson writes:
Quote
csc.exe is the C# compiler from Microsoft. Apparently, Delphi 2007 uses it.
D2007 uses MSBuild, which is indeed a .NET 2.0 app. There's a registry
setting to restore the old build system, but you lose the MSBuild
features, of course. I don't know why you're seeing such high CSC
activity, but I am gussing you'd see the same if you invoked MSBuild
from the command line. It might be a good way to narrow down the
problem.
--
Craig Stuntz [TeamB] ?Vertex Systems Corp. ?Columbus, OH
Delphi/InterBase Weblog : blogs.teamb.com/craigstuntz
Borland newsgroup denizen Sergio González has a new CD of
Irish music out, and it is good: tinyurl.com/7hgfr
 
 

Re: .NET Blows

Quote
This morning I can not use D2007. Every time I try to do a build or compile
it hangs, while csc.exe gobbles up 50% of the CPU. This goes on for
several minutes, until I get tired of waiting and cancel it.

csc.exe is the C# compiler from Microsoft. Apparently, Delphi 2007 uses it.

This is ridiculous.
I very much doubt that your problem lies in CSC
 

Re: .NET Blows

John Jacobson writes:
Quote

csc.exe is the C# compiler from Microsoft. Apparently, Delphi 2007 uses it.
Only if you have C# code in your app.
--
Nick Hodges
Delphi Product Manager - CodeGear
blogs.codegear.com/nickhodges
 

Re: .NET Blows

Nick Hodges (CodeGear) writes:
Quote
>csc.exe is the C# compiler from Microsoft. Apparently, Delphi 2007 uses
>it.

Only if you have C# code in your app.
Are you sure?
groups.google.com/group/borland.public.delphi.non-technical/msg/1
5934c9f35a57fb6
(preview.tinyurl.com/2huyuh)
MSBuild does deserialize from XML when it runs, so it wouldn't
surprise me if that is what's going on here.
But I don't know why it is dying on John's machine. I wonder if his
config file is corrupt?
--
Craig Stuntz [TeamB] ?Vertex Systems Corp. ?Columbus, OH
Delphi/InterBase Weblog : blogs.teamb.com/craigstuntz
How to ask questions the smart way:
www.catb.org/~esr/faqs/smart-questions.html
 

Re: .NET Blows

"Craig Stuntz [TeamB]" <XXXX@XXXXX.COM [a.k.a. acm.org]>skrev i meddelandet news:470a5fba$XXXX@XXXXX.COM...
Quote
Nick Hodges (CodeGear) writes:

>>csc.exe is the C# compiler from Microsoft. Apparently, Delphi 2007 uses
>>it.
>
>Only if you have C# code in your app.

Are you sure?

groups.google.com/group/borland.public.delphi.non-technical/msg/1
5934c9f35a57fb6

(preview.tinyurl.com/2huyuh)

the thread describe the startup process of BDS,
but Johns problem is when he do a build or compile...
 

Re: .NET Blows

Ingvar Anderberg writes:
Quote
the thread describe the startup process of BDS,
but Johns problem is when he do a build or compile...
Both processes include deserializing objects from XML, which is what
invokes CSC.
--
Craig Stuntz [TeamB] ?Vertex Systems Corp. ?Columbus, OH
Delphi/InterBase Weblog : blogs.teamb.com/craigstuntz
Want to help make Delphi and InterBase better? Use QC!
qc.borland.com -- Vote for important issues
 

Re: .NET Blows

Craig Stuntz [TeamB] writes:
Quote
Both processes include deserializing objects from XML, which is what
invokes CSC.
... and what is cached by DelphiSpeedUp.
--
Regards,
Andreas Hausladen
 

Re: .NET Blows

Andreas Hausladen writes:
Quote
... and what is cached by DelphiSpeedUp.
Are you only talking about the start page, or are you talking about
MSBuild as well? If it is the latter, then John, are you using
DelphiSpeedUp?
--
Craig Stuntz [TeamB] ?Vertex Systems Corp. ?Columbus, OH
Delphi/InterBase Weblog : blogs.teamb.com/craigstuntz
All the great TeamB service you've come to expect plus (New!)
Irish Tin Whistle tips: learningtowhistle.blogspot.com
 

Re: .NET Blows

Craig Stuntz [TeamB] writes:
Quote

Are you sure?
No, I guess I am not --
--
Nick Hodges
Delphi Product Manager - CodeGear
blogs.codegear.com/nickhodges
 

Re: .NET Blows

Quote
Perhaps, but it is not my job to debug CodeGear's code that uses it.
I didn't say it was on account that I have never heard of you :-) The fact
is though, you can not say ".NET blows" because an app that uses it is
misbehaving. It makes no sense.
 

Re: .NET Blows

Craig Stuntz [TeamB] writes:
Quote
Are you only talking about the start page, or are you talking about
MSBuild as well? If it is the latter, then John, are you using
DelphiSpeedUp?
He wouldn't see a CSC.EXE process if he uses DSU ;-)
--
Regards,
Andreas Hausladen
 

Re: .NET Blows

John Jacobson <jake@j[nospam]snewsreader.com>writes
<470a39b8$XXXX@XXXXX.COM>
Quote
This morning I can not use D2007. Every time I try to do a build or compile it
hangs, while csc.exe gobbles up 50% of the CPU. This goes on for several
minutes, until I get tired of waiting and cancel it.
Reboot seemed to fix it.
--
***Free Your Mind***
Posted with JSNewsreader Preview 0.9.7.3460
 

Re: .NET Blows

Captain Jake writes:
Quote
Reboot seemed to fix it.
You didn't try turning it off and back on again first? Haven't we
learned anything from the IT Crowd?
:)
--
Regards,
Bruce McGee
Glooscap Software
 

Re: .NET Blows

Andreas Hausladen writes:
Quote
Craig Stuntz [TeamB] writes:

>Are you only talking about the start page, or are you talking about
>MSBuild as well? If it is the latter, then John, are you using
>DelphiSpeedUp?

He wouldn't see a CSC.EXE process if he uses DSU ;-)

Do you ship precompiled serialization assemblies? Good call!
(Not having sgen'd serializers can easily slow down startup time)
 

Re: .NET Blows

Quote
No, I guess I am not --
That's the interesting twist with MS's latest dev techs: it is such a
spaghetti plate that it can quickly end up with dependencies to anything
and everything...
Eric