无法复制文件librdkafka.dll。不支持给定路径的格式

时间:2018-06-07 08:13:00

标签: asp.net-mvc-4 apache-kafka confluent-kafka

我已将Confluent.Kafka NuGet包添加到现有的ASP.Net MVC应用程序(.NET Framework 4.5.2),并在构建项目时收到以下错误:

Severity    Code    Description Project File    Line    Suppression State
Error       Unable to copy file "E:\Dev\{solutiondir}\src\packages\librdkafka.redist.0.11.4\build\..\runtimes\win7-x86\native\msvcr120.dll" 
to "E:\Dev\{solutiondir}\src\{projectdir}\..\..\build\{projectdir}\E:\Dev\{solutiondir}\src\packages\librdkafka.redist.0.11.4\build\..\runtimes\win7-x86\native\msvcr120.dll". 
The given path's format is not supported.   {solutiondir}   E:\Dev\{solutiondir}\src\{projectdir}\{projectname}.csproj  430 

Visual Studio(15.7.3)尝试复制msvcr120.dll的输出目录不正确。 .csproj文件中没有针对librdkafka.dll所依赖的此dll的特定条目。我还没有在the project's GitHub page找到任何相关问题,所以期待任何建议/建议/解决方案。

0 个答案:

没有答案