When I start to Console Application on Visual Studio 2022. I refreshed an process How can I solve it?
OS: Windows 10 Version: .NETFramework 4.7.2
"Refresh the process list before attempting another attach"
Start an application
This isn't the solution, but rather a workaround. Microsoft has closed this issue as a problem between TrendMicro and the Windows 24H2 update. Below are some workarounds for your executable projects, and also for IIS Express hosted web projects.
For executable projects (WinForms, ConsoleApp etc...), try to remove <Prefer32Bit>false</Prefer32Bit>
from your .csProj
file.
For IIS Express hosted web projects, try to set Use64BitIISExpress
on your .csProj
file: <Use64BitIISExpress>false</Use64BitIISExpress>
, or go to Project properties -> Web -> Server and check the Bittnet flag.
AnyCPU compiled applications are affected by this issue (IIS Express included).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With