如何解決devenv.exe應(yīng)用程序錯誤?應(yīng)用程序發(fā)生異常?
來源: 三好IT網(wǎng) 2022-12-15 14:48:22
打開VS2008/2010時,經(jīng)常碰到:devenv.exe應(yīng)用程序錯誤,應(yīng)用程序發(fā)生異常,造成的原因是多種的,可能是環(huán)境變量配置出錯,可能是你安裝了沖突的插件,如Visual Assist X,可能是VS軟件路徑配置錯誤,也可能是C:\Windows\System32中缺失某個文件,也可能是電腦兼容性問題~以鄙人經(jīng)驗,下面就隨小編一起去看看具體的解決方法吧。
方法:
1、【嘗試方法一】初始化Microsoft Visual Studio軟件,還原默認值
在cmd中輸入初始化VS2010命令:
devenv /resetsettings
或者
devenv.exe /resetuserdata
或者
在VS→工具→導(dǎo)入和導(dǎo)出工具→重置所有設(shè)置
PS:這種方法一般可以解決問題,但是過了一段時間又會出現(xiàn)同樣的錯誤
2、【嘗試方法二】項目的頭文件和庫有沖突,即相關(guān)包含文件或者庫文件有沖突,這種是鄙人經(jīng)常碰到的原因。部分網(wǎng)友可能會使用VS配置OpenCV的開發(fā)環(huán)境,這時不得不對VS的【VC++】進行增加或者修改【包含文件和庫文件】的路徑。這時候,如果包含文件或庫文件有沖突,就會出現(xiàn)這種情況。解決方法,就是刪除沒有必要的【包含目錄】和【庫目錄】路徑
3、如:我之前因為配置了OpenCV的路徑,后來新建其他項目就出現(xiàn)devenv.exe應(yīng)用程序錯誤。解決方法是,到項目的【屬性管理器】→【Microsoft.cpp.Win32.user】→【VC++目錄】→【包含目錄】和【庫目錄】中,把OpenCV的目錄都去掉(或者把你不用的路徑去掉),以避免頭文件的沖突
4、或者直接選擇【從父類或者項目默認設(shè)置繼承】以避免出錯
5、若之前,修改過【可執(zhí)行文件目錄】,也可以還原為【從父類或者項目默認設(shè)置繼承】
6、【嘗試方法三】一般恢復(fù)默認值可以解決問題,還不行,那就只能換個軟件,重新下載一個Microsoft Visual Studio 10軟件,重新安裝吧
7、是不是很簡單啦!希望對大家會有幫助!
標(biāo)簽: 應(yīng)用程序錯誤 應(yīng)用程序發(fā)生異常
猜你喜歡

如何解決devenv.exe應(yīng)用程序錯誤?應(yīng)用程序發(fā)生異常?
2022-12-15 14:48:22

qq空間背景音樂克隆器如何使用?qq空間背景音樂克隆器使用方法
2022-12-15 14:47:53

msvcirt.dll是什么文件?msvcirt.dll代表什么含義?
2022-12-15 14:47:22

上網(wǎng)本怎么重裝系統(tǒng)?上網(wǎng)本重裝系統(tǒng)詳細圖文教程
2022-12-15 14:46:43

PhotoBooth是什么意思?Photo Booth是什么?
2022-12-15 14:45:20

筆記本內(nèi)存條怎么裝?筆記本內(nèi)存條安裝圖文教程
2022-12-15 14:44:55

擴容盤是什么?擴容盤如何修復(fù)?
2022-12-15 14:44:29

為什么安裝不上打印機的驅(qū)動?安裝打印機驅(qū)動無法安裝怎么解決?
2022-12-15 14:43:47

谷歌google搜索打不開怎么辦?谷歌打不開的最新解決方法
2022-12-14 15:45:17

阿爾法路由器怎么配置?阿爾法路由器的好環(huán)境配置方法
2022-12-14 15:44:53

如何用格式工廠轉(zhuǎn)換MMF格式?格式工廠怎么轉(zhuǎn)換格式?
2022-12-14 15:44:32

什么是木馬查殺?360安全衛(wèi)士木馬查殺使用技巧
2022-12-14 15:44:11

電腦騰訊視頻軟件的彈幕功能怎么設(shè)置?電視版騰訊彈幕在哪開?
2022-12-14 15:43:52

怎樣把Vista升級安裝成win7?Vista安裝成win7操作步驟
2022-12-14 15:43:06

將Office Word2007轉(zhuǎn)換成97-2003版本?怎么把word文檔改為97-2003版?
2022-12-14 15:42:43

QQ安全管家怎樣?QQ安全管家好用嗎?
2022-12-14 15:42:23

如何解決筆記本電腦輸入字母變成數(shù)字問題?解決方法
2022-12-14 15:42:04

百度一鍵root怎么獲取權(quán)限?百度一鍵root權(quán)限獲取方法
2022-12-14 15:41:43

暴風(fēng)影音左眼是什么意思?暴風(fēng)影音左眼怎么開啟?
2022-12-14 15:41:21

如何去掉瀏覽器確實允許此網(wǎng)頁訪問剪貼板的提示?瀏覽器安全設(shè)置原因
2022-12-14 15:41:01

網(wǎng)頁打開很慢怎么辦?瀏覽器修復(fù)步驟
2022-12-14 15:40:38

如何解決內(nèi)存不能為read的方法?內(nèi)存不能為read的原因
2022-12-14 15:40:08

帶寬網(wǎng)絡(luò)2m 4m下載速度是多少?如何測試網(wǎng)絡(luò)速度?
2022-12-14 15:39:47

Win7系統(tǒng)操作中心在哪里?Win7系統(tǒng)操作中心功能
2022-12-14 15:39:22

win7系統(tǒng)如何使用daemon tools虛擬光驅(qū)?daemon tools虛擬光驅(qū)使用方法
2022-12-14 15:38:51