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 ==========
43d3da47-d9ee-4be4-b504-ab2c71e57c1d|0|.0
Tags: Views:1584
BlogEngine.NET