欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

vs2019報錯:配置“Debug|Win32”的 Designtime 生成失敗IntelliSense 可能不可用的問題

 更新時間:2020年08月07日 11:41:18   作者:絲貝視像-高精度計算機視覺  
這篇文章主要介紹了vs2019報錯:配置“Debug|Win32”的 Designtime 生成失敗IntelliSense 可能不可用 出錯內(nèi)容,非常不錯,具有一定的參考借鑒價值,需要的朋友可以參考下

vs2019報錯內(nèi)容:
配置“Debug|Win32”的 Designtime 生成失敗。IntelliSense 可能不可用

出錯內(nèi)容

 錯誤 : 項目“D:\mTensorflow\yolov4_darknet-master\build\darknet\darknet.vcxproj”配置“Debug|Win32”的 Designtime 生成失敗。IntelliSense 可能不可用。
    設(shè)置環(huán)境變量 TRACEDESIGNTIME = true 并重啟 Visual Studio 以進(jìn)行調(diào)查。
錯誤 : 項目“D:\mTensorflow\yolov4_darknet-master\build\darknet\darknet.vcxproj”配置“Debug|Win32”的 Designtime 生成失敗。IntelliSense 可能不可用。
    設(shè)置環(huán)境變量 TRACEDESIGNTIME = true 并重啟 Visual Studio 以進(jìn)行調(diào)查。
錯誤 : 項目“D:\mTensorflow\yolov4_darknet-master\build\darknet\darknet.vcxproj”配置“Debug|Win32”的 Designtime 生成失敗。IntelliSense 可能不可用。
    設(shè)置環(huán)境變量 TRACEDESIGNTIME = true 并重啟 Visual Studio 以進(jìn)行調(diào)查。
錯誤 : 項目“D:\mTensorflow\yolov4_darknet-master\build\darknet\darknet.vcxproj”配置“Debug|Win32”的 Designtime 生成失敗。IntelliSense 可能不可用。
    設(shè)置環(huán)境變量 TRACEDESIGNTIME = true 并重啟 Visual Studio 以進(jìn)行調(diào)查。
錯誤 : 項目“D:\mTensorflow\yolov4_darknet-master\build\darknet\darknet.vcxproj”配置“Debug|Win32”的 Designtime 生成失敗。IntelliSense 可能不可用。
    設(shè)置環(huán)境變量 TRACEDESIGNTIME = true 并重啟 Visual Studio 以進(jìn)行調(diào)查。
錯誤 : 項目“D:\mTensorflow\yolov4_darknet-master\build\darknet\darknet.vcxproj”配置“Debug|Win32”的 Designtime 生成失敗。IntelliSense 可能不可用。
    設(shè)置環(huán)境變量 TRACEDESIGNTIME = true 并重啟 Visual Studio 以進(jìn)行調(diào)查。
錯誤 : 項目“D:\mTensorflow\yolov4_darknet-master\build\darknet\darknet.vcxproj”配置“Debug|Win32”的 Designtime 生成失敗。IntelliSense 可能不可用。
    設(shè)置環(huán)境變量 TRACEDESIGNTIME = true 并重啟 Visual Studio 以進(jìn)行調(diào)查。
錯誤 : 項目“D:\mTensorflow\yolov4_darknet-master\build\darknet\darknet.vcxproj”配置“Debug|Win32”的 Designtime 生成失敗。IntelliSense 可能不可用。
    設(shè)置環(huán)境變量 TRACEDESIGNTIME = true 并重啟 Visual Studio 以進(jìn)行調(diào)查。
錯誤 : 項目“D:\mTensorflow\yolov4_darknet-master\build\darknet\darknet.vcxproj”配置“Debug|Win32”的 Designtime 生成失敗。IntelliSense 可能不可用。
    設(shè)置環(huán)境變量 TRACEDESIGNTIME = true 并重啟 Visual Studio 以進(jìn)行調(diào)查。
錯誤 : 項目“D:\mTensorflow\yolov4_darknet-master\build\darknet\darknet.vcxproj”配置“Debug|Win32”的 Designtime 生成失敗。IntelliSense 可能不可用。
    設(shè)置環(huán)境變量 TRACEDESIGNTIME = true 并重啟 Visual Studio 以進(jìn)行調(diào)查。

查找錯誤

于是,按照報錯中的提示,添加環(huán)境變量TRACEDESIGNTIME = true,重新打開visual studio項目,得到下面的結(jié)果

錯誤 : 項目“D:\mTensorflow\yolov4_darknet-master\build\darknet\darknet.vcxproj”配置“Debug|Win32”的 Designtime 生成失敗。IntelliSense 可能不可用。
    檢查 %TEMP% 目錄中的 *.designtime.log 文件。
錯誤 : 項目“D:\mTensorflow\yolov4_darknet-master\build\darknet\darknet.vcxproj”配置“Debug|Win32”的 Designtime 生成失敗。IntelliSense 可能不可用。
    檢查 %TEMP% 目錄中的 *.designtime.log 文件。
錯誤 : 項目“D:\mTensorflow\yolov4_darknet-master\build\darknet\darknet.vcxproj”配置“Debug|Win32”的 Designtime 生成失敗。IntelliSense 可能不可用。
    檢查 %TEMP% 目錄中的 *.designtime.log 文件。
錯誤 : 項目“D:\mTensorflow\yolov4_darknet-master\build\darknet\darknet.vcxproj”配置“Debug|Win32”的 Designtime 生成失敗。IntelliSense 可能不可用。
    檢查 %TEMP% 目錄中的 *.designtime.log 文件。
錯誤 : 項目“D:\mTensorflow\yolov4_darknet-master\build\darknet\darknet.vcxproj”配置“Debug|Win32”的 Designtime 生成失敗。IntelliSense 可能不可用。
    檢查 %TEMP% 目錄中的 *.designtime.log 文件。
錯誤 : 項目“D:\mTensorflow\yolov4_darknet-master\build\darknet\darknet.vcxproj”配置“Debug|Win32”的 Designtime 生成失敗。IntelliSense 可能不可用。
    檢查 %TEMP% 目錄中的 *.designtime.log 文件。
錯誤 : 項目“D:\mTensorflow\yolov4_darknet-master\build\darknet\darknet.vcxproj”配置“Debug|Win32”的 Designtime 生成失敗。IntelliSense 可能不可用。
    檢查 %TEMP% 目錄中的 *.designtime.log 文件。
錯誤 : 項目“D:\mTensorflow\yolov4_darknet-master\build\darknet\darknet.vcxproj”配置“Debug|Win32”的 Designtime 生成失敗。IntelliSense 可能不可用。
    檢查 %TEMP% 目錄中的 *.designtime.log 文件。
錯誤 : 項目“D:\mTensorflow\yolov4_darknet-master\build\darknet\darknet.vcxproj”配置“Debug|Win32”的 Designtime 生成失敗。IntelliSense 可能不可用。
    檢查 %TEMP% 目錄中的 *.designtime.log 文件。
錯誤 : 項目“D:\mTensorflow\yolov4_darknet-master\build\darknet\darknet.vcxproj”配置“Debug|Win32”的 Designtime 生成失敗。IntelliSense 可能不可用。
    檢查 %TEMP% 目錄中的 *.designtime.log 文件。

這里有個問題,怎么知道%TEMP%在哪里,我通常常是在命令提示符下這做的,

C:\Users\Administrator>%temp%
'C:\Users\ADMINI~1\AppData\Local\Temp' 不是內(nèi)部或外部命令,也不是可運行的程序
或批處理文件。

可以看到,%TEMP%原來就是這個文件夾,C:\Users\Administrator\AppData\Local\Temp (根據(jù)用戶名不同而不同),然后,根據(jù)提示,在其下找到這些文件,我算了一下,大概上面每一條對應(yīng)4個這樣的文件,總共有一大堆:

(文件名是一長串?dāng)?shù)字).designtime.log

隨便打開其中一個,一直往后拉,看報錯的地方,內(nèi)容大致如下,

項目“D:\mTensorflow\yolov4_darknet-master\build\darknet\darknet.vcxproj”(GetProjectDirectories 個目標(biāo)):

正在使用工具版本“Current”進(jìn)行生成。
D:\mTensorflow\yolov4_darknet-master\build\darknet\darknet.vcxproj(55,5): error MSB4019: 找不到導(dǎo)入的項目“C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\BuildCustomizations\CUDA 10.0.props”。請確認(rèn) Import 聲明“C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\\BuildCustomizations\CUDA 10.0.props”中的表達(dá)式正確,且文件位于磁盤上。

已完成生成項目“darknet.vcxproj”的操作 - 失敗。

項目評估性能摘要:
        0 毫秒 D:\mTensorflow\yolov4_darknet-master\build\darknet\darknet.vcxproj   1 次調(diào)用

項目性能摘要:
        1 毫秒 D:\mTensorflow\yolov4_darknet-master\build\darknet\darknet.vcxproj   1 次調(diào)用

生成失敗。

D:\mTensorflow\yolov4_darknet-master\build\darknet\darknet.vcxproj(55,5): error MSB4019: 找不到導(dǎo)入的項目“C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\BuildCustomizations\CUDA 10.0.props”。請確認(rèn) Import 聲明“C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\\BuildCustomizations\CUDA 10.0.props”中的表達(dá)式正確,且文件位于磁盤上。
    0 個警告
    1 個錯誤

已用時間 00:00:01.77

提示找不到項目,要求確認(rèn) Import 聲明“C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\BuildCustomizations\CUDA 10.0.props”中的表達(dá)式正確,

處理錯誤

接下來,打開下面這個文件夾看一下,

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\BuildCustomizations\

發(fā)現(xiàn)確實沒有CUDA 10.0.props這個文件,但是有CUDA 10.1.props(這個是我使用的版本);

然后,用記事本打開darknet.vcxproj,所里面所有的CUDA 10.0.props都替換成CUDA 10.1.props,問題解決。

總結(jié)

該報錯由路徑錯誤引起,至于具體是哪個路徑不對,需要根據(jù)自己的項目來處理?;旧细鶕?jù)前面提到的方法,一步一步,應(yīng)該很快能定位錯誤的位置。

其他參考

另外,在微軟官網(wǎng)上有這么一段,不過當(dāng)時是軟件BUG,現(xiàn)在的VS2019中,出現(xiàn)這個錯誤的話,一般就是路徑有問題了

https://developercommunity.visualstudio.com/content/problem/776877/error-designtime-build-failed-for-project-cuserstc.html

error : Designtime build failed for project 'C:\Users\tcjso\source\repos\MazeProgram\MazeProgram\MazeProgram.vcxproj' configuration 'Debug|Win32'. IntelliSense might be unavailable. Set environment variable TRACEDESIGNTIME = true and restart Visual Studio to investigate.

Closed - Fixed fixed in: visual studio 2019 version 16.4visual studio 2019 version 16.3windows 10.0Fixed In: Visual Studio 2019 version 16.4 Preview 4

Timothy C. Johnson Software Author reported Oct 15, 2019 at 01:31 AM

[regression] [worked-in:Don't know - the one B4 latest update.] I got this error opening a project I was working on after the latest VS update:error : Designtime build failed for project ‘C:\Users\tcjso\source\repos\MazeProgram\MazeProgram\MazeProgram.vcxproj' configuration ‘Debug|Win32'. IntelliSense might be unavailable. Set environment variable TRACEDESIGNTIME = true and restart Visual Studio to investigate.Seems to have several of them.Thanks,Tim

Show comments 6

This issue is read only, because it has been in Closed–Fixed state for over 90 days. It was closed for 234 days.

SolutionsMicrosoft Solution

by Visual Studio Feedback System Nov 14, 2019 at 09:19 AM

Changed state ➜ Closed - Fixed

A fix for this issue has been released! Install the most recent release from https://visualstudio.microsoft.com/downloads/ . Thank you for providing valuable feedback which has helped improve the product.

This issue has been closed for over 90 days. If we haven't resolved this issue for you, pleasereport a new problem

Yes, it worksFixed with no extra steps0 No, I tried everythingPlease re-open this0

Solution

by Timothy C. Johnson Software Author Oct 21, 2019 at 02:55 AM

I have REPAIRED Visual Studio with VSI and the problems are not showing up anymore.Thanks,Tim

總結(jié)

到此這篇關(guān)于vs2019報錯:配置“Debug|Win32”的 Designtime 生成失敗IntelliSense 可能不可用的文章就介紹到這了,更多相關(guān)vs2019報錯配置“Debug|Win32”的 Designtime 生成失敗內(nèi)容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持腳本之家!

相關(guān)文章

  • git clone如何指定歷史版本

    git clone如何指定歷史版本

    這篇文章主要介紹了git clone如何指定歷史版本問題,具有很好的參考價值,希望對大家有所幫助。如有錯誤或未考慮完全的地方,望不吝賜教
    2023-05-05
  • Anaconda中pkgs文件夾及如何清空PKGS

    Anaconda中pkgs文件夾及如何清空PKGS

    在anaconda中,最安全的安裝和升級命令是conda install XXX,而python中是pip,但在anaconda下依然可以使用pip升級,這樣一些依賴可能會因為更新后的版本過高出現(xiàn)異常,本文給大家分享Anaconda中pkgs文件夾及pkgs文件清理方法,感興趣你跟隨小編一起學(xué)習(xí)吧
    2022-11-11
  • vscode?debug設(shè)置參數(shù)與環(huán)境變量圖文詳解

    vscode?debug設(shè)置參數(shù)與環(huán)境變量圖文詳解

    這篇文章主要給大家介紹了關(guān)于vscode?debug設(shè)置參數(shù)與環(huán)境變量的相關(guān)資料,文中通過圖文以及代碼示例介紹的非常詳細(xì),對大家的學(xué)習(xí)或者工作具有一定的參考借鑒價值,需要的朋友可以參考下
    2023-09-09
  • 為什么使用框架 使用框架的優(yōu)缺點

    為什么使用框架 使用框架的優(yōu)缺點

    我們是由于效率和易用性的考慮才產(chǎn)生框架??蚣苣芄?jié)省開發(fā)時間。框架強制使用公共的約定,因此它能有效地解決一些共有的問題,比如頁面渲染,assert判斷,安全或者應(yīng)用配置等
    2012-09-09
  • 如何在Unity中使用VR暴風(fēng)魔鏡藍(lán)牙手柄

    如何在Unity中使用VR暴風(fēng)魔鏡藍(lán)牙手柄

    鑒于某些手機在使用大朋SDK以及谷歌SDK時會出現(xiàn)神器的小屏現(xiàn)象(比如某想的)故為了能夠最大程度的兼容更多的手機,決定使用暴風(fēng)魔鏡的SDK。廢話不多說直接將使用暴風(fēng)魔鏡SDK時遇到的問題以及解決方案簡單的羅列一下
    2021-09-09
  • 低版本VS項目在VS2019無法正常編譯的問題

    低版本VS項目在VS2019無法正常編譯的問題

    這篇文章主要介紹了低版本VS項目在VS2019無法正常編譯的問題,文中通過示例代碼介紹的非常詳細(xì),對大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)學(xué)習(xí)吧
    2020-08-08
  • 解決idea從git拉取代碼需要輸入token的問題

    解決idea從git拉取代碼需要輸入token的問題

    這篇文章主要介紹了解決idea從git拉取代碼需要輸入token的問題,具有很好的參考價值,希望對大家有所幫助,如有錯誤或未考慮完全的地方,望不吝賜教
    2024-07-07
  • chatGPT使用及注冊過程中常見的一些錯誤解決方法(所有報錯匯總)

    chatGPT使用及注冊過程中常見的一些錯誤解決方法(所有報錯匯總)

    這篇文章主要介紹了chatGPT注冊報錯及使用過程中報錯匯總及解決方法,本文給大家介紹的非常詳細(xì),對大家的學(xué)習(xí)或工作具有一定的參考借鑒價值,需要的朋友可以參考下
    2023-02-02
  • 代碼中到底應(yīng)不應(yīng)當(dāng)寫注釋?

    代碼中到底應(yīng)不應(yīng)當(dāng)寫注釋?

    注釋的確有其用途,但大部分情況下,程序員在濫用注釋。我是反對夾雜在代碼間的注釋的,我認(rèn)為注釋應(yīng)當(dāng)從代碼中獨立出來——通常被稱為文檔。
    2014-10-10
  • Postman傳遞對象參數(shù)(包含有集合對象)

    Postman傳遞對象參數(shù)(包含有集合對象)

    postman通常需要傳遞各式各樣的參數(shù),本文主要介紹了Postman傳遞對象參數(shù)(包含有集合對象),具有一定的參考價值,感興趣的小伙伴們可以參考一下
    2022-01-01

最新評論