【发布时间】:2018-08-22 01:08:15
【问题描述】:
我到处寻找答案,但没有运气,所以我决定问问。 我要实现openalpr(开源自动车牌识别) 存储库在我自己的 PC 上,我正在关注 this video 来完成任务。我已经完成了他所做的所有步骤,最后,当我尝试构建它时,在其中一个 .cs 代码中有 CS0246 错误说:
Error CS0246 The type or namespace name 'AlprNet' could not be found (are you missing a using directive or an assembly reference?) number_plate c:\users\sohib\documents\visual studio 2015\Projects\number_plate\number_plate\Form1.cs
我只能在我的 D:\Projects\plate_recognition\openalpr-master\src\bindings\csharp\AlprNetTest 中找到 AlprNet,它是 .csproj 格式的。
AlprNet 不像其他参考文献那样采用 .dll 格式,因此我无法在参考文献中引用它。 我发现有人说这可能是因为 .NET Framework 平台的不同版本。我几乎没有做任何检查,因为我认为它与 .NET 无关
在我看来,我应该链接该 AlprNet.csproj 以获取其内容,但我不确定。如果有人能帮助解决这个问题,我将不胜感激。
【问题讨论】: