none
Error_18_error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations\CUDA 8.0.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk._D:\caff RRS feed

  • 问题

  • 2013版visual studio错误:Error 18 error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations\CUDA 8.0.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. D:\caffe\caffe-master\windows\libcaffe\libcaffe.vcxproj 42 5 upgrade_solver_proto_text怎么解决
    2016年12月3日 4:40

全部回复

  • 你好

    根据错误信息提示,你的项目所需调用的CUDA 8.0.props找不到。

    首先,先去路径 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations\CUDA 8.0.props

    查看CUDA 8.0.props是否存在该路径下。如果建议你先去下载CUDA 8  。我在我的虚拟机上下载了这个插件做了一个测试:

    在下载CUDA 8之后,该props出现在该路径下,可以看下我这边的截图:


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    2016年12月5日 9:37
    版主
  • If it couldn't find files CUDA 8.0.props and CUDA 8.0.targets in 

    "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations",

    you may check if they are existing in the path 

    "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations",

    if it does, copy them to the path 

    "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations".

    2019年5月31日 2:33