我在最新的 Windows 10 下將 Chrome 32 升級到 64 位,現在我的 VS2022 專案無法使用 Chrome 作為我選擇的瀏覽器進行除錯。它們在 Firefox(最新)甚至 MS Edge 下運行良好。
我得到這個無法附加錯誤:

我的除錯組態檔:
"profiles": {
"ShippingScheduler": {
"commandName": "Project",
"launchBrowser": true,
"launchUrl": "",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "https://localhost:8822",
"dotnetRunMessages": true
},
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"launchUrl": "https://localhost:8822",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
我確實注意到 Chrome 64 位現在甚至需要 15 秒才能打開,就像普通瀏覽器一樣。嘗試在 VS2022 下運行它也很慢。
uj5u.com熱心網友回復:
Chrome 安裝程式在后臺運行,需要 20 到 30 分鐘才能完成,盡管我可以將 Chrome 作為普通瀏覽器“運行”。幾次重新啟動并清除快取后,Chrome 64 位正常啟動,我能夠將 VS 行程附加到它。
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/475498.html
