Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2022 - Refresh the process list before attempting another attach Error

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"

enter image description here

Start an application

like image 813
Mert Metin Avatar asked Oct 12 '25 01:10

Mert Metin


1 Answers

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).

like image 160
Roberto GIARDI Avatar answered Oct 16 '25 07:10

Roberto GIARDI



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!