它显示 39 个错误。所有错误都是这样的:
错误 1 警告为错误:“FreeImageAPI.Plugins.PluginRepository.Plugin(string)”上的 XML 注释具有“表达式”的 typeparamref 标记,但没有该名称的类型参数 C:\Users\Public\Documents\@Programming \FreeImage\Wrapper\FreeImage.NET\cs\Library\Classes\PluginRepository.cs 63 27 库
在源文件上:
/// <summary>
/// Returns an instance of <see cref="FreeImageAPI.Plugins.FreeImagePlugin"/>.
/// <typeparamref name="expression"/> is searched in:
/// <c>Format</c>, <c>RegExpr</c>,
/// <c>ValidExtension</c> and <c>ValidFilename</c>.
/// </summary>
/// <param name="expression">The expression to search for.</param>
/// <returns>An instance of <see cref="FreeImageAPI.Plugins.FreeImagePlugin"/>.</returns>
public static FreeImagePlugin Plugin(string expression)
{
FreeImagePlugin result = null;
expression = expression.ToLower();
foreach (FreeImagePlugin plugin in plugins)
{
if (plugin.Format.ToLower().Contains(expression) ||
plugin.RegExpr.ToLower().Contains(expression) ||
plugin.ValidExtension(expression, StringComparison.CurrentCultureIgnoreCase) ||
plugin.ValidFilename(expression, StringComparison.CurrentCultureIgnoreCase))
{
result = plugin;
break;
}
}
return result;
}
我如何解决它 ?提前致谢