Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

PortalWebHosting
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Biz Modules provides professional business modules and solutions for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! (Pro...  Build warnings in VS2008 for clean unmodified install of DNN4.8.2
Previous Previous
 
Next Next
New Post 5/3/2008 7:17 AM
User is offline CT
50 posts
10th Ranked


Re: Build warnings in VS2008 for clean unmodified install of DNN4.8.2  

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 7:21 AM
User is offline CT
50 posts
10th Ranked


Re: Build warnings in VS2008 for clean unmodified install of DNN4.8.2  

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 12:43 PM
User is offline Dwayne Baldwin
502 posts
8th Ranked




Re: Build warnings in VS2008 for clean unmodified install of DNN4.8.2  

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 9:03 AM
User is offline CT
50 posts
10th Ranked


Re: Build warnings in VS2008 for clean unmodified install of DNN4.8.2  

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 Previous
 
Next Next
  Forum  General DotNetN...  Extend It! (Pro...  Build warnings in VS2008 for clean unmodified install of DNN4.8.2
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Lucede Systems Group
Providing a full range of IT services for large and medium sized companies
www.lucede.com
Adaptive InfoSystems, Inc.
We provide custom programming and various levels of support for DotNetNuke and the .Net framework.
www.aisysweb.com
Multipartner Virtual Data Rooms
The Virtual Data Rooms (VDR) provided by an expert advisor, far from any ordinary software company!, supporting the sellers and their consultants. Multipartner builds and services higly professional Virtual Data Rooms (VDR) specifically tailored to M&A, Real Estate and NPL deals.
www.multipartner.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP