BlogEngine.NET 1.3 编译出了一些问题

by alpha 15. February 2008 14:33

一个错误,15个警告。

其中BlogEngine.Core能正常编译通过,但是会产生15个警告,警告说明如下:

Warning    1    XML comment on 'BlogEngine.Core.Ping.TrackbackMessage.TrackbackMessage(BlogEngine.Core.IPublishable, System.Uri)' has a param tag for 'post', but there is no parameter by that name    D:\Document\Visual Studio 2005\DownProject\BlogEngine.NET 1.3 (source)\BlogEngine.Core\Ping\Trackback.cs    194    22    BlogEngine.Core
Warning    2    Parameter 'item' has no matching param tag in the XML comment for 'BlogEngine.Core.Ping.TrackbackMessage.TrackbackMessage(BlogEngine.Core.IPublishable, System.Uri)' (but other parameters do)    D:\Document\Visual Studio 2005\DownProject\BlogEngine.NET 1.3 (source)\BlogEngine.Core\Ping\Trackback.cs    196    42    BlogEngine.Core
Warning    3    Unreachable code detected    D:\Document\Visual Studio 2005\DownProject\BlogEngine.NET 1.3 (source)\BlogEngine.Core\API\MetaWeblog\MetaWeblogHandler.cs    72    13    BlogEngine.Core
Warning    4    Parameter 'request' has no matching param tag in the XML comment for 'BlogEngine.Core.API.MetaWeblog.MetaWeblogHandler.NewMediaObject(string, string, string, BlogEngine.Core.API.MetaWeblog.MWAMediaObject, System.Web.HttpContext)' (but other parameters do)    D:\Document\Visual Studio 2005\DownProject\BlogEngine.NET 1.3 (source)\BlogEngine.Core\API\MetaWeblog\MetaWeblogHandler.cs    286    131    BlogEngine.Core
Warning    5    Parameter 'rootUrl' has no matching param tag in the XML comment for 'BlogEngine.Core.API.MetaWeblog.MetaWeblogHandler.GetCategories(string, string, string, string)' (but other parameters do)    D:\Document\Visual Studio 2005\DownProject\BlogEngine.NET 1.3 (source)\BlogEngine.Core\API\MetaWeblog\MetaWeblogHandler.cs    347    102    BlogEngine.Core
Warning    6    Parameter 'rootUrl' has no matching param tag in the XML comment for 'BlogEngine.Core.API.MetaWeblog.MetaWeblogHandler.GetUserBlogs(string, string, string, string)' (but other parameters do)    D:\Document\Visual Studio 2005\DownProject\BlogEngine.NET 1.3 (source)\BlogEngine.Core\API\MetaWeblog\MetaWeblogHandler.cs    430    101    BlogEngine.Core
Warning    7    Missing XML comment for publicly visible type or member 'BlogEngine.Core.Web.Controls.BlogBasePage.ResolveScriptUrl(string)'    D:\Document\Visual Studio 2005\DownProject\BlogEngine.NET 1.3 (source)\BlogEngine.Core\Web\Controls\BlogBasePage.cs    240    25    BlogEngine.Core
Warning    8    XML comment is not placed on a valid language element    D:\Document\Visual Studio 2005\DownProject\BlogEngine.NET 1.3 (source)\BlogEngine.Core\Category.cs    168    5    BlogEngine.Core
Warning    9    Field 'BlogEngine.Core.API.MetaWeblog.MWACategory.id' is never assigned to, and will always have its default value null    D:\Document\Visual Studio 2005\DownProject\BlogEngine.NET 1.3 (source)\BlogEngine.Core\API\MetaWeblog\MetaWeblogHandler.cs    680    19    BlogEngine.Core
Warning    10    Field 'BlogEngine.Core.API.MetaWeblog.MWAUserInfo.nickname' is never assigned to, and will always have its default value null    D:\Document\Visual Studio 2005\DownProject\BlogEngine.NET 1.3 (source)\BlogEngine.Core\API\MetaWeblog\MetaWeblogHandler.cs    821    19    BlogEngine.Core
Warning    11    Field 'BlogEngine.Core.API.MetaWeblog.MWAUserInfo.userID' is never assigned to, and will always have its default value null    D:\Document\Visual Studio 2005\DownProject\BlogEngine.NET 1.3 (source)\BlogEngine.Core\API\MetaWeblog\MetaWeblogHandler.cs    825    19    BlogEngine.Core
Warning    12    Field 'BlogEngine.Core.API.MetaWeblog.MWAUserInfo.url' is never assigned to, and will always have its default value null    D:\Document\Visual Studio 2005\DownProject\BlogEngine.NET 1.3 (source)\BlogEngine.Core\API\MetaWeblog\MetaWeblogHandler.cs    829    19    BlogEngine.Core
Warning    13    Field 'BlogEngine.Core.API.MetaWeblog.MWAUserInfo.email' is never assigned to, and will always have its default value null    D:\Document\Visual Studio 2005\DownProject\BlogEngine.NET 1.3 (source)\BlogEngine.Core\API\MetaWeblog\MetaWeblogHandler.cs    833    19    BlogEngine.Core
Warning    14    Field 'BlogEngine.Core.API.MetaWeblog.MWAUserInfo.lastName' is never assigned to, and will always have its default value null    D:\Document\Visual Studio 2005\DownProject\BlogEngine.NET 1.3 (source)\BlogEngine.Core\API\MetaWeblog\MetaWeblogHandler.cs    837    19    BlogEngine.Core
Warning    15    Field 'BlogEngine.Core.API.MetaWeblog.MWAUserInfo.firstName' is never assigned to, and will always have its default value null    D:\Document\Visual Studio 2005\DownProject\BlogEngine.NET 1.3 (source)\BlogEngine.Core\API\MetaWeblog\MetaWeblogHandler.cs    841    19    BlogEngine.Core

 

 编译BlogEngine.Web会出现错误,具体错误位置暂时还没有找到,错误信息如下:

(0,0): error CS1010: 常量中有换行符
Validation Complete
========== Build: 1 succeeded or up-to-date, 1 failed, 0 skipped ==========
 

Tags: Views:1584

BlogEngine.NET

Comments

2/14/2008 4:03:12 PM #

下了个最新的版本,用上了,现在版本号是1.3.0.14用起来还不太适应,作者对Theme机制作了修改,慢慢熟悉先

Alpha |

2/18/2008 4:18:30 AM #

友情提示一下哈,看到你好像还没有备案,这个可要注意注意哦!

helloshp |

2/19/2008 3:51:17 AM #

@helloshp,我好像有备案过的,备案号忘记掉了,也懒得去查了,觉得那东西没有啥实际作用,等有关部门通知我非要备案不可了再说:)

Alpha |

2/20/2008 3:50:20 AM #

没有备案的话,说不定那天网站就会突然被封,没有任何提前的通知的,我见过很多过这种情况,包括我自己也遭过,呵呵,所以有必要还是要注意一下。
对了,我那个博客,其实是我给我父亲做的一个博客,我自己本人是做技术的。以前我给我父亲做博客之前就反复看你的博客过后,才开始萌发用BlogEnging来做的。呵呵!

helloshp |

2/20/2008 11:53:31 AM #

说起来惭愧,我的博客更新的不快,而且内容写的很少~_~。

Alpha |

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen  浙ICP备09023819号  

关于作者

Alpha

1.男
2.已婚
3.网虫
4.宝宝叫yoyo

Calendar

<<  July 2010  >>
MondayTuesdayWednesdayThursdayFridaySaturdaySunday
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

View posts in large calendar

RecentComments

Comment RSS