Michael Washington wrote
Lance Keay wrote
I am currently developing using 4.8.4 SOURCE. My SOLUTION (22 projects) build time is 2-7 seconds. And this is in a VMware virtual machine using windows server 2003. The host machine is running XPpro with Intel Core 2 Duo T7500 @ 2.2GHz and 4GB RAM.
So 20 MINUTES (1200 Seconds) is extraordinary.
|
I think the issue is that when you are usig the WSP method you are compiling inside the Core. With WAP you are compiling outside the core so the build time is much faster.
My point is that you can compile using WSP if you don't use the source.
I use WSP 7 days a week 5-8 hours a day. I have about 15 projects in an install version of DNN and I just hit build and it built in 30 seconds...
I don't need to use the source, and I am already using WSP, but the problem stays. I've noticed that only when I change the code inside the App_Code\<MyModuleName> folder (where my module's code is) - the whole compilation occurs (changing the ascx files will not compile the whole code). Maybe I should copy it to a Class Library project...
BTW, This is my build log:
------ Build started: Project: http://localhost/DotNetNukeWebTest/, Configuration: Debug Any CPU ------
Validating Web Site
Building directory '/DotNetNukeWebTest/admin/Authentication/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/admin/Authentication/'.
Building directory '/DotNetNukeWebTest/controls/'.
Building directory '/DotNetNukeWebTest/Admin/Users/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/Admin/Users/'.
Building directory '/DotNetNukeWebTest/Admin/Lists/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/Admin/Lists/'.
Building directory '/DotNetNukeWebTest/Admin/Security/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/Admin/Security/'.
Building directory '/DotNetNukeWebTest/admin/Containers/'.
Building directory '/DotNetNukeWebTest/admin/ControlPanel/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/admin/ControlPanel/'.
Building directory '/DotNetNukeWebTest/admin/Files/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/admin/Files/'.
Building directory '/DotNetNukeWebTest/admin/Host/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/admin/Host/'.
Building directory '/DotNetNukeWebTest/admin/Localization/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/admin/Localization/'.
Building directory '/DotNetNukeWebTest/admin/Log/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/admin/Log/'.
Building directory '/DotNetNukeWebTest/admin/Logging/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/admin/Logging/'.
Building directory '/DotNetNukeWebTest/admin/ModuleDefinitions/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/admin/ModuleDefinitions/'.
Building directory '/DotNetNukeWebTest/admin/Modules/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/admin/Modules/'.
Building directory '/DotNetNukeWebTest/admin/Packages/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/admin/Packages/'.
Building directory '/DotNetNukeWebTest/admin/Portal/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/admin/Portal/'.
Building directory '/DotNetNukeWebTest/admin/Sales/'.
Building directory '/DotNetNukeWebTest/admin/Scheduling/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/admin/Scheduling/'.
Building directory '/DotNetNukeWebTest/admin/Search/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/admin/Search/'.
Building directory '/DotNetNukeWebTest/admin/Skins/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/admin/Skins/'.
Building directory '/DotNetNukeWebTest/admin/Syndication/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/admin/Syndication/'.
Building directory '/DotNetNukeWebTest/admin/Tabs/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/admin/Tabs/'.
Building directory '/DotNetNukeWebTest/admin/Vendors/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/admin/Vendors/'.
Building directory '/DotNetNukeWebTest/admin/Wizards/'.
Building directory '/DotNetNukeWebTest/controls/SolpartMenu/'.
Building directory '/DotNetNukeWebTest/DesktopModules/Adsense/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/DesktopModules/Adsense/'.
Building directory '/DotNetNukeWebTest/DesktopModules/AuthenticationServices/DNN/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/DesktopModules/AuthenticationServices/DNN/'.
Building directory '/DotNetNukeWebTest/DesktopModules/AuthenticationServices/LiveID/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/DesktopModules/AuthenticationServices/LiveID/'.
Building directory '/DotNetNukeWebTest/DesktopModules/AuthenticationServices/OpenID/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/DesktopModules/AuthenticationServices/OpenID/'.
Building directory '/DotNetNukeWebTest/DesktopModules/HTML/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/DesktopModules/HTML/'.
Building directory '/DotNetNukeWebTest/DesktopModules/Links/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/DesktopModules/Links/'.
Building directory '/DotNetNukeWebTest/DesktopModules/MarketShare/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/DesktopModules/MarketShare/'.
Building directory '/DotNetNukeWebTest/DesktopModules/FirstModule/Tester/'.
Building directory '/DotNetNukeWebTest/DesktopModules/FirstModule/'.
Building directory '/DotNetNukeWebTest/DesktopModules/SecondModule/Test/Properties/'.
Building directory '/DotNetNukeWebTest/DesktopModules/SecondModule/Test/'.
Building directory '/DotNetNukeWebTest/DesktopModules/SecondModule/Test2/Properties/'.
Building directory '/DotNetNukeWebTest/DesktopModules/SecondModule/Test2/'.
Building directory '/DotNetNukeWebTest/Install/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/Install/'.
Building directory '/DotNetNukeWebTest/js/'.
Building directory '/DotNetNukeWebTest/Portals/_default/Containers/DNN-Blue/'.
Building directory '/DotNetNukeWebTest/Portals/_default/Containers/DNN-Gray/'.
Building directory '/DotNetNukeWebTest/Portals/_default/Containers/_default/'.
Building directory '/DotNetNukeWebTest/Portals/_default/Skins/DNN-Blue/'.
Building directory '/DotNetNukeWebTest/Portals/_default/Skins/DNN-Gray/'.
Building directory '/DotNetNukeWebTest/Portals/_default/Skins/_default/'.
Building directory '/DotNetNukeWebTest/Portals/_default/'.
Building directory '/DotNetNukeWebTest/Providers/HtmlEditorProviders/Fck/Custom/'.
Building directory '/DotNetNukeWebTest/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/dialog/common/'.
Building directory '/DotNetNukeWebTest/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/dialog/fck_flash/'.
Building directory '/DotNetNukeWebTest/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/dialog/fck_image/'.
Building directory '/DotNetNukeWebTest/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/dialog/fck_link/'.
Building directory '/DotNetNukeWebTest/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/dialog/fck_select/'.
Building directory '/DotNetNukeWebTest/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/dialog/fck_spellerpages/spellerpages/'.
Building directory '/DotNetNukeWebTest/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/dialog/fck_universalkey/'.
Building directory '/DotNetNukeWebTest/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/js/'.
Building directory '/DotNetNukeWebTest/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/lang/'.
Building directory '/DotNetNukeWebTest/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/plugins/autogrow/'.
Building directory '/DotNetNukeWebTest/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/plugins/placeholder/lang/'.
Building directory '/DotNetNukeWebTest/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/plugins/placeholder/'.
Building directory '/DotNetNukeWebTest/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/plugins/simplecommands/'.
Building directory '/DotNetNukeWebTest/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/plugins/tablecommands/'.
Building directory '/DotNetNukeWebTest/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/_source/classes/'.
Building directory '/DotNetNukeWebTest/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/_source/commandclasses/'.
Building directory '/DotNetNukeWebTest/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/_source/internals/'.
Building directory '/DotNetNukeWebTest/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/_source/'.
Building directory '/DotNetNukeWebTest/Providers/HtmlEditorProviders/Fck/FCKeditor/'.
Building directory '/DotNetNukeWebTest/Providers/HtmlEditorProviders/Fck/IE Custom/common/'.
Building directory '/DotNetNukeWebTest/Providers/HtmlEditorProviders/Fck/App_LocalResources/'.
Building directory '/DotNetNukeWebTest/Providers/HtmlEditorProviders/Fck/'.
Building directory '/DotNetNukeWebTest/Resources/ContentRotator/scripts/'.
Building directory '/DotNetNukeWebTest/Resources/FeedBrowser/scripts/'.
Building directory '/DotNetNukeWebTest/Resources/Shared/scripts/MSAJAX/'.
Building directory '/DotNetNukeWebTest/Resources/Shared/scripts/'.
Building directory '/DotNetNukeWebTest/Resources/SkinWidgets/scripts/'.
Building directory '/DotNetNukeWebTest/Resources/TabStrip/scripts/'.
Building directory '/DotNetNukeWebTest/'.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Users\EditProfileDefinition.ascx.vb(60,0): warning BC42022: Property without an 'As' clause; type of Object assumed.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Users\EditProfileDefinition.ascx.vb(64,0): warning BC42020: Variable declaration without an 'As' clause; type of Object assumed.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Users\EditProfileDefinition.ascx.vb(186,0): warning BC42021: Function without an 'As' clause; return type of Object assumed.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Users\EditProfileDefinition.ascx.vb(204,0): warning BC42021: Function without an 'As' clause; return type of Object assumed.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Users\MemberServices.ascx.vb(200,0): warning BC42021: Function without an 'As' clause; return type of Object assumed.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Users\MemberServices.ascx.vb(229,0): warning BC42021: Function without an 'As' clause; return type of Object assumed.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Security\EditGroups.ascx.vb(145,0): warning BC42025: Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Files\FileManager.ascx.vb(1166,0): warning BC40000: 'Public Function GetFolder(PortalID As Integer, FolderPath As String) As Services.FileSystem.FolderInfo' is obsolete: 'This method is obsolete. It has been replaced by GetFolderInfo(ByVal PortalID As Integer, ByVal FolderID As Integer, ByVal ignoreCache As Boolean) '.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Files\FileManager.ascx.vb(1171,0): warning BC40000: 'Public Function GetFolder(PortalID As Integer, FolderPath As String) As Services.FileSystem.FolderInfo' is obsolete: 'This method is obsolete. It has been replaced by GetFolderInfo(ByVal PortalID As Integer, ByVal FolderID As Integer, ByVal ignoreCache As Boolean) '.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Localization\LanguageEditor.ascx.vb(164,0): warning BC42024: Unused local variable: 'nodeIndex'.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Localization\LanguagePack.ascx.vb(51,0): warning BC42036: Operands of type Object used in expressions for 'Select', 'Case' statements; runtime errors could occur.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Localization\LanguagePack.ascx.vb(51,0): warning BC42036: Operands of type Object used in expressions for 'Select', 'Case' statements; runtime errors could occur.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Localization\LanguagePack.ascx.vb(51,0): warning BC42036: Operands of type Object used in expressions for 'Select', 'Case' statements; runtime errors could occur.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Localization\LanguagePack.ascx.vb(51,0): warning BC42036: Operands of type Object used in expressions for 'Select', 'Case' statements; runtime errors could occur.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Localization\TimeZoneEditor.ascx.vb(124,0): warning BC42024: Unused local variable: 'parent'.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Localization\TimeZoneEditor.ascx.vb(183,0): warning BC42024: Unused local variable: 'parent'.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Localization\TimeZoneEditor.ascx.vb(246,0): warning BC42024: Unused local variable: 'dv'.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\ModuleDefinitions\EditModuleDefinition.ascx.vb(140,0): warning BC42025: Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\ModuleDefinitions\EditModuleDefinition.ascx.vb(870,0): warning BC42025: Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\ModuleDefinitions\ModuleDefValidator.ascx.vb(84,0): warning BC42024: Unused local variable: 'strMessage'.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Packages\Install.ascx.vb(273,0): warning BC42021: Function without an 'As' clause; return type of Object assumed.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Portal\Template.ascx.vb(128,0): warning BC40000: 'Public Function GetFolder(PortalID As Integer, FolderPath As String) As Services.FileSystem.FolderInfo' is obsolete: 'This method is obsolete. It has been replaced by GetFolderInfo(ByVal PortalID As Integer, ByVal FolderID As Integer, ByVal ignoreCache As Boolean) '.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Portal\Template.ascx.vb(180,0): warning BC40000: 'Public Function GetFoldersByPortal(PortalID As Integer) As System.Collections.ArrayList' is obsolete: 'This method is obsolete. It has been replaced by GetFolders(ByVal PortalID As Integer) '.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Portal\Template.ascx.vb(228,0): warning BC40000: 'Public Function GetFolderPermissionsByFolder(PortalID As Integer, Folder As String) As System.Collections.ArrayList' is obsolete: 'This method has been deprecated. Please use GetFolderPermissionsCollectionByFolderPath(PortalId, Folder)'.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Portal\SiteWizard.ascx.vb(133,0): warning BC42025: Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Portal\SiteWizard.ascx.vb(167,0): warning BC42025: Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Sales\PayPalSubscription.aspx.vb(135,0): warning BC40000: 'Public Function GetListEntryInfo(ListName As String, Value As String, ParentKey As String) As Common.Lists.ListEntryInfo' is obsolete: 'This method has been deprecated. PLease use GetListEntryInfo(ByVal ListName As String, ByVal Value As String)'.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Scheduling\EditSchedule.ascx.vb(163,0): warning BC42024: Unused local variable: 'strMessage'.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Scheduling\ViewSchedule.ascx.vb(90,0): warning BC42104: Variable 'str' is used before it has been assigned a value. A null reference exception could result at runtime.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Scheduling\ViewScheduleStatus.ascx.vb(141,0): warning BC42025: Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Vendors\Affiliates.ascx.vb(108,0): warning BC42105: Function 'DisplayDate' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Vendors\Vendors.ascx.vb(169,0): warning BC42105: Function 'DisplayAddress' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Vendors\Vendors.ascx.vb(189,0): warning BC42105: Function 'DisplayEmail' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Vendors\Vendors.ascx.vb(212,0): warning BC42105: Function 'formatURL' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\admin\Vendors\Vendors.ascx.vb(244,0): warning BC42105: Function 'FilterURL' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\DesktopModules\Adsense\EditAdsense.ascx.vb(252,0): warning BC40000: 'Public Sub SynchronizeModule()' is obsolete: 'This method is deprecated. Plaese use ModuleController.SynchronizeModule(ModuleId)'.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\DesktopModules\HTML\EditHtml.ascx.vb(153,0): warning BC40000: 'Public Sub SynchronizeModule()' is obsolete: 'This method is deprecated. Plaese use ModuleController.SynchronizeModule(ModuleId)'.
C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnukewebtest\72bc985b\85165e32\App_Web_t0nfziou.2.vb(52,0): warning BC40055: Casing of namespace name 'HTML' does not match casing of namespace name 'Html' in file 'C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnukewebtest\72bc985b\85165e32\App_Web_t0nfziou.0.vb'.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\DesktopModules\MarketShare\Edit.ascx.vb(57,0): warning BC40000: 'Public Sub SynchronizeModule()' is obsolete: 'This method is deprecated. Plaese use ModuleController.SynchronizeModule(ModuleId)'.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\Portals\_default\subhost.aspx(22,0): warning BC42104: Variable 'DomainName' is used before it has been assigned a value. A null reference exception could result at runtime.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\Providers\HtmlEditorProviders\Fck\FckHtmlEditorOptions.aspx(26,0): warning BC40004: WithEvents variable 'form' conflicts with property 'form' in the base class 'Page' and should be declared 'Shadows'.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\Providers\HtmlEditorProviders\Fck\fckimagegallery.aspx(40,0): warning BC40004: WithEvents variable 'form' conflicts with property 'form' in the base class 'Page' and should be declared 'Shadows'.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\Default.aspx(23,0): warning BC40004: WithEvents variable 'form' conflicts with property 'form' in the base class 'Page' and should be declared 'Shadows'.
C:\Users\Eran.HOME\Documents\Web Projects\DotNetNukeWebTest\ErrorPage.aspx(10,0): warning BC40004: WithEvents variable 'form' conflicts with property 'form' in the base class 'Page' and should be declared 'Shadows'.
Validation Complete
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========