Compile takes way too long


A

Alexander Wykel

My application is taking way too long to build. It use to never take so
long. I change only line and I think it recompiles all the classes in the
assembly because it hangs forever. Here is the compiler line from the output
window during complication:

Target CoreCompile:
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Csc.exe /noconfig
/nowarn:1701,1702 /platform:x86 /errorreport:prompt /warn:4
/define:DEBUG;TRACE /main:AutoDeveloper.Program /reference:"C:\Program
Files\Binarymission Technologies Ltd\BinaryComboBox .NET Version 2.1 (for
..NET 2.0)\Binarymission.BinaryComboBox.dll" /reference:"C:\Program
Files\Binarymission Technologies Ltd\BinaryHeaderControl .NET 2.0 for .NET
2.0\Binarymission.BinaryMenuItem.dll" /reference:"C:\Program
Files\Binarymission Technologies Ltd\BinaryPanelBar .NET Ver.
2.0\Binarymission.BinaryPanelBar.dll" /reference:"D:\My Documents\Visual
Studio 2008\Projects\Project Endeavour Phase
One\DynamicGuiModule\bin\Debug\DynamicGuiModule.dll" /reference:"D:\My
Documents\Visual Studio 2008\Projects\Project Endeavour Phase
One\Extensions\bin\Debug\Extensions.dll" /reference:"D:\My Documents\Visual
Studio 2008\Projects\Project Endeavour Phase
One\FormBuilder\bin\Debug\FormBuilder.exe" /reference:"D:\My Documents\Visual
Studio 2008\Projects\Project Endeavour Phase One\Global\bin\Debug\Global.dll"
/reference:"D:\My Documents\Visual Studio 2008\Projects\Project Endeavour
Phase One\NTKSDataLayer\bin\Debug\NTKSDataLayer.dll" /reference:"D:\My
Documents\Visual Studio 2008\Projects\Project Endeavour Phase
One\P2SUI\bin\Debug\P2SUI.dll"
/reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Configuration.dll
/reference:"C:\Program Files\Reference
Assemblies\Microsoft\Framework\v3.5\System.Core.dll" /reference:"C:\Program
Files\Reference
Assemblies\Microsoft\Framework\v3.5\System.Data.DataSetExtensions.dll"
/reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll
/reference:"C:\Program Files\Reference
Assemblies\Microsoft\Framework\v3.5\System.Data.Linq.dll"
/reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Deployment.dll
/reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll
/reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll
/reference:"C:\Program Files\Reference
Assemblies\Microsoft\Framework\v3.5\System.Web.Extensions.dll"
/reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll
/reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll
/reference:"C:\Program Files\Reference
Assemblies\Microsoft\Framework\v3.5\System.Xml.Linq.dll" /reference:"D:\My
Documents\Visual Studio 2008\Projects\Project Endeavour Phase
One\UIHelper\bin\Debug\UIHelper.dll" /debug+ /debug:full /filealign:512
/nowin32manifest /optimize- /out:blush:bj\Debug\AutoDeveloper.exe
/resource:blush:bj\Debug\AutoDeveloper.ConfigureColumns.resources
/resource:blush:bj\Debug\AutoDeveloper.ConfigureComponent.resources
/resource:blush:bj\Debug\AutoDeveloper.ConfigureEvents.resources
/resource:blush:bj\Debug\AutoDeveloper.ControlToolBox.resources
/resource:blush:bj\Debug\AutoDeveloper.CrudOperations.resources
/resource:blush:bj\Debug\AutoDeveloper.DataBinder.resources
/resource:blush:bj\Debug\AutoDeveloper.DataSource.resources
/resource:blush:bj\Debug\AutoDeveloper.DefaultComponentSettings.resources
/resource:blush:bj\Debug\AutoDeveloper.Dumper.resources
/resource:blush:bj\Debug\AutoDeveloper.Properties.Resources.resources
/resource:blush:bj\Debug\AutoDeveloper.TabFormBuilder.resources
/resource:blush:bj\Debug\AutoDeveloper.Forms.AppConfigSettings.resources
/resource:blush:bj\Debug\AutoDeveloper.CustomTabs.resources
/resource:blush:bj\Debug\AutoDeveloper.MessageBox.resources
/resource:blush:bj\Debug\AutoDeveloper.NewMethod.resources
/resource:blush:bj\Debug\AutoDeveloper.Progress.resources
/resource:blush:bj\Debug\AutoDeveloper.PropertyEditor.resources
/resource:blush:bj\Debug\AutoDeveloper.TabName.resources
/resource:blush:bj\Debug\AutoDeveloper.Forms.test.resources
/resource:blush:bj\Debug\AutoDeveloper.User_Control.ApplicationConfiguration.resources
/resource:XML\CodeFileHeader.cs,AutoDeveloper.XML.CodeFileHeader.cs
/resource:XML\AutoDeveloper.xml,AutoDeveloper.XML.AutoDeveloper.xml
/resource:XML\AutoDevDefaults.xml,AutoDeveloper.XML.AutoDevDefaults.xml
/target:winexe Exception\AutoDevDesignException.cs
Exception\AutoDevRuntimeException.cs Controller\CodeGenerator.cs
Forms\AppConfigSettings.cs Forms\AppConfigSettings.Designer.cs
Forms\ConfigureColumns.cs Forms\ConfigureColumns.Designer.cs
Forms\ConfigureComponent.cs Forms\ConfigureComponent.Designer.cs
Forms\ConfigureEvents.cs Forms\ConfigureEvents.Designer.cs
Forms\ControlToolBox.cs Forms\ControlToolBox.Designer.cs
Forms\CrudOperations.cs Forms\CrudOperations.Designer.cs Forms\CustomTabs.cs
Forms\CustomTabs.Designer.cs Forms\DataBinder.cs Forms\DataBinder.Designer.cs
Forms\DataSource.cs Forms\DataSource.Designer.cs
Forms\DefaultComponentSettings.cs Forms\DefaultComponentSettings.Designer.cs
Forms\Dumper.cs Forms\Dumper.Designer.cs Forms\test.cs Forms\test.Designer.cs
Properties\AssemblyInfo.cs Controller\Loader.cs Forms\MessageBox.cs
Forms\MessageBox.Designer.cs Forms\NewMethod.cs Forms\NewMethod.Designer.cs
Program.cs Forms\Progress.cs Forms\Progress.Designer.cs
Forms\PropertyEditor.cs Forms\PropertyEditor.Designer.cs
Forms\TabFormBuilder.cs Forms\TabFormBuilder.Designer.cs Forms\TabName.cs
Forms\TabName.Designer.cs Properties\Resources.Designer.cs "User
Control\ApplicationConfiguration.cs" "User
Control\ApplicationConfiguration.Designer.cs"
XML\XSD\AutoDeveloper\AutoDeveloper_14.cs
 
Ad

Advertisements

W

Wen Yuan Wang [MSFT]

Hello awykel,

It seems you are developing .net 2.0 Winform Application in VS 2008. You
noticed VS takes a long time to build your project. correct? If I
misunderstood anything here, please don't hesitate to correct me.

As far as I know, VS IDE always builds all the class in the assembly. This
shouldn't be the reason why csc.exe takes a long time to compile the
project, if it used to never take so long.
At first, I'd like to suggest checking if you installed any other 3rd party
add-ins on your VS 2008. You can disable them by "Tools|Add-in Manager".
Some add-in may results a performance issue on VS IDE.
After that, you may create a simple project to check if the issue also
occurs on new project. This could help on identity if this is a VS IDE
related issue or Project Specific issue.
At last, did you add any assemble in the project these days? Because VS IDE
complied the project with all referenced assemble, some assemble may cause
the VS IDE take a long to compile.

Hope this helps. Please try the above method and let me know if these help.
We are glad to assist you.

Have a great day,
Best regards,
Wen Yuan


Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
A

Alexander Wykel

Ordered a new hard drive with 10000RPM and 8mb cache I think that would help
from what I read on the INet.
--
Alexander L. Wykel
AW Software Works



"Wen Yuan Wang [MSFT]" said:
Hello awykel,

It seems you are developing .net 2.0 Winform Application in VS 2008. You
noticed VS takes a long time to build your project. correct? If I
misunderstood anything here, please don't hesitate to correct me.

As far as I know, VS IDE always builds all the class in the assembly. This
shouldn't be the reason why csc.exe takes a long time to compile the
project, if it used to never take so long.
At first, I'd like to suggest checking if you installed any other 3rd party
add-ins on your VS 2008. You can disable them by "Tools|Add-in Manager".
Some add-in may results a performance issue on VS IDE.
After that, you may create a simple project to check if the issue also
occurs on new project. This could help on identity if this is a VS IDE
related issue or Project Specific issue.
At last, did you add any assemble in the project these days? Because VS IDE
complied the project with all referenced assemble, some assemble may cause
the VS IDE take a long to compile.

Hope this helps. Please try the above method and let me know if these help.
We are glad to assist you.

Have a great day,
Best regards,
Wen Yuan


Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Ad

Advertisements

W

Wen Yuan Wang [MSFT]

Hello Alexander,

Thanks for your reply. I agree, a powerful machine could be helpful.
Anyway, if you need any assistance, please also feel free to let us know,
again. We are glad to assist you.

Have a great day,
Best regards,
Wen Yuan
Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top