Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Build warnings in VS2008 for clean unmodified install of DNN4.8.2 Build warnings in VS2008 for clean unmodified install of DNN4.8.2
Previous
 
Next
New Post
5/3/2008 10:17 AM
 

As mentioned in my first post in this thread, it's all core DNN from a clean install with the minimum number of required modules installed plus one optional module,   the DNN XML module.  Again, no errors, just warnings with many seemingly harmless such as variables not being used.  But again, I prefer coding in a clean environment that is both error free and warning free.

Here's the relevant output from the build:

D:\Inetpub\DNNDev\admin\Users\EditProfileDefinition.ascx.vb(60,0): warning BC42022: Property without an 'As' clause; type of Object assumed.
D:\Inetpub\DNNDev\admin\Users\EditProfileDefinition.ascx.vb(64,0): warning BC42020: Variable declaration without an 'As' clause; type of Object assumed.
D:\Inetpub\DNNDev\admin\Users\EditProfileDefinition.ascx.vb(186,0): warning BC42021: Function without an 'As' clause; return type of Object assumed.
D:\Inetpub\DNNDev\admin\Users\EditProfileDefinition.ascx.vb(204,0): warning BC42021: Function without an 'As' clause; return type of Object assumed.
D:\Inetpub\DNNDev\admin\Users\MemberServices.ascx.vb(200,0): warning BC42021: Function without an 'As' clause; return type of Object assumed.
D:\Inetpub\DNNDev\admin\Users\MemberServices.ascx.vb(229,0): warning BC42021: Function without an 'As' clause; return type of Object assumed.
D:\Inetpub\DNNDev\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.
D:\Inetpub\DNNDev\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) '.
D:\Inetpub\DNNDev\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) '.
D:\Inetpub\DNNDev\admin\Localization\LanguageEditor.ascx.vb(164,0): warning BC42024: Unused local variable: 'nodeIndex'.
D:\Inetpub\DNNDev\admin\Localization\LanguagePack.ascx.vb(51,0): warning BC42036: Operands of type Object used in expressions for 'Select', 'Case' statements; runtime errors could occur.
D:\Inetpub\DNNDev\admin\Localization\LanguagePack.ascx.vb(51,0): warning BC42036: Operands of type Object used in expressions for 'Select', 'Case' statements; runtime errors could occur.
D:\Inetpub\DNNDev\admin\Localization\LanguagePack.ascx.vb(51,0): warning BC42036: Operands of type Object used in expressions for 'Select', 'Case' statements; runtime errors could occur.
D:\Inetpub\DNNDev\admin\Localization\LanguagePack.ascx.vb(51,0): warning BC42036: Operands of type Object used in expressions for 'Select', 'Case' statements; runtime errors could occur.
D:\Inetpub\DNNDev\admin\Localization\TimeZoneEditor.ascx.vb(124,0): warning BC42024: Unused local variable: 'parent'.
D:\Inetpub\DNNDev\admin\Localization\TimeZoneEditor.ascx.vb(183,0): warning BC42024: Unused local variable: 'parent'.
D:\Inetpub\DNNDev\admin\Localization\TimeZoneEditor.ascx.vb(246,0): warning BC42024: Unused local variable: 'dv'.
D:\Inetpub\DNNDev\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.
D:\Inetpub\DNNDev\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.
D:\Inetpub\DNNDev\admin\ModuleDefinitions\ModuleDefValidator.ascx.vb(84,0): warning BC42024: Unused local variable: 'strMessage'.
D:\Inetpub\DNNDev\admin\Packages\Install.ascx.vb(273,0): warning BC42021: Function without an 'As' clause; return type of Object assumed.
D:\Inetpub\DNNDev\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.
D:\Inetpub\DNNDev\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.
D:\Inetpub\DNNDev\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) '.
D:\Inetpub\DNNDev\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) '.
D:\Inetpub\DNNDev\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)'.
D:\Inetpub\DNNDev\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)'.
D:\Inetpub\DNNDev\admin\Scheduling\EditSchedule.ascx.vb(163,0): warning BC42024: Unused local variable: 'strMessage'.
D:\Inetpub\DNNDev\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.
D:\Inetpub\DNNDev\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.
D:\Inetpub\DNNDev\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.
D:\Inetpub\DNNDev\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.
D:\Inetpub\DNNDev\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.
D:\Inetpub\DNNDev\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.
D:\Inetpub\DNNDev\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.
D:\Inetpub\DNNDev\DesktopModules\Adsense\EditAdsense.ascx.vb(252,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\dnndev\1c162e88\9408039\App_Web_6jp7fips.2.vb(51,0): warning BC40055: Casing of namespace name 'HTML' does not match casing of namespace name 'Html' in file 'B:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dnndev\1c162e88\9408039\App_Web_6jp7fips.0.vb'.
D:\Inetpub\DNNDev\DesktopModules\HTML\EditHtml.ascx.vb(153,0): warning BC40000: 'Public Sub SynchronizeModule()' is obsolete: 'This method is deprecated.  Plaese use ModuleController.SynchronizeModule(ModuleId)'.
D:\Inetpub\DNNDev\DesktopModules\MarketShare\Edit.ascx.vb(57,0): warning BC40000: 'Public Sub SynchronizeModule()' is obsolete: 'This method is deprecated.  Plaese use ModuleController.SynchronizeModule(ModuleId)'.
D:\Inetpub\DNNDev\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.
D:\Inetpub\DNNDev\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'.
D:\Inetpub\DNNDev\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'.
D:\Inetpub\DNNDev\Default_DNN482_20080312.aspx(23,0): warning BC40004: WithEvents variable 'Form' conflicts with property 'Form' in the base class 'Page' and should be declared 'Shadows'.
D:\Inetpub\DNNDev\ErrorPage.aspx(10,0): warning BC40004: WithEvents variable 'Form' conflicts with property 'Form' in the base class 'Page' and should be declared 'Shadows'.
D:\Inetpub\DNNDev\Default.aspx(23,0): warning BC40004: WithEvents variable 'Form' conflicts with property 'Form' in the base class 'Page' and should be declared 'Shadows'.
Validation Complete
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========


CT
 
New Post
5/3/2008 10:21 AM
 

Curious, I thought Core Team was in the know on this kind of stuff. So how does it work up there on Mighty Mount Olympus? We mere mortals are dying to know. But if you told us, then you'd have to kill us anyway, right? Isn't that the way it works on the Top Secret Stuff like target dates for Cambrian release?


CT
 
New Post
5/5/2008 3:43 PM
 

I've been asking for clean build for years. The latest excuse on Gemini was that fixes might break exisiting code.

IMHO, if the compiler complains, there is always a reason and it should always be fixed. The only reason people fix errors is to see their app run.

Heaven only knows if Cambrian will compile cleanly, but there are no excuses left with a brand new version.

 

 


Dwayne J. Baldwin
 
New Post
5/8/2008 12:03 PM
 

Thanks for your support! Glad to know there are other developers who share my point of view.

I'm wondering how architecture, design, development decisions get made for DotNetNuke. Is there a link to a currently maintained document discussing the decision-making process?

Is the decision-making process ever influenced by efforts to conduct surveys or polls of DNN developers who are committed to DNN but not in the Core Team loop?


CT
 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Build warnings in VS2008 for clean unmodified install of DNN4.8.2 Build warnings in VS2008 for clean unmodified install of DNN4.8.2


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out