MS VS Warnings

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
12/5/2006 12:03:03 AM
Gravatar
Total Posts 488

MS VS Warnings

The current code version produces some warnings when being compiled in Visual Studio 2005. Of course, warnings are not errors, but there are lots of them, so it would be much better if they also will be corrected. Some of them are listed below.

1. ConfigurationSettings.AppSettings is said to be obsolete, ConfigurationManager.AppSettings is recommended to use instead.
If the second variant is supported on Mono, could you change this?

2. 'Brettle.Web.NeatUpload.InputFile.TmpFile' is obsolete: 'This property is obsolete and will be removed in a future version.  Instead use other members like InputFile.MoveTo(), InputFile.HasFile, and InputFile.ContentLength.'

3. Some "usings" are duplicate:
    - 'System' in \mojoPortal.Business.WebHelpers\IndexItem.cs
    - 'mojoPortal.Web' in \Web\Setup\Default.aspx.cs
    - 'mojoPortal.Business.WebHelpers' in \Web\ForumView.aspx.cs

There are also some "unreachable code detected" and "variable never used".
 

12/5/2006 10:56:33 AM
Gravatar
Total Posts 18439

Re: MS VS Warnings

These are mostly cleaned up in mojoPortal projects now though there are still some in other related projects that I don't plan to do anything about.

Joe
12/5/2006 9:58:12 PM
Gravatar
Total Posts 488

Re: MS VS Warnings

Thanks.

Is there any documentation on the list of projects in the solution? Where are they from, what are developed under mojoPortal project and what are just used?
You must sign in to post in the forums. This thread is closed to new posts.