繁体   English   中英

在C#上编译错误FreeImage

[英]Compile errors FreeImage on C#

当我尝试编译FreeImageNET C#wrapper时,我不断收到几条错误消息(目前为35)。 所有消息都采用相同的格式。

实际上我发现之前已经问过这个问题,答案是将“typeparamref”改为“paramref”。 但是,其余的错误消息已经包含“paramref”,所以我不知道要更改什么来纠正这些错误。

任何帮助,将不胜感激。

其中两条错误消息如下:

Error   1   Warning as Error: XML comment on 'FreeImageAPI.Palette.Palette(FreeImageAPI.Metadata.MetadataTag)' has a paramref tag for 'dib', but there is no parameter by that name D:\[kur]\[csharp]\image_tools\FreeImage\Wrapper\FreeImage.NET\cs\Library\Classes\Palette.cs 70  63  Library


Error   2   Warning as Error: XML comment on 'FreeImageAPI.Metadata.GifInformation.CreateGlobalPalette(int)' has a paramref tag for 'palette', but there is no parameter by that name   D:\[kur]\[csharp]\image_tools\FreeImage\Wrapper\FreeImage.NET\cs\Library\Classes\GifInformation.cs  76  23  Library

正如错误所述,对描述不存在的参数的方法有XML注释。 除了不将警告视为错误之外,另一种解决方案是不让Visual Studio创建XML文档(这可以在项目设置的“Build”选项卡中找到)。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM