Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio w/Docker has exited with code 4294967295 (0xffffffff)

On our new company laptops we are running into issues running containers in docker desktop from visual studio. We tried a bunch of things which were unsuccessful. Any help / thoughts would be great as we are running out of ideas.

.Net Core Version 6 / Asp.net Core (web api)

Running docker compose manually in cmd works and I'm able to hit the site. Running docker compose debug profile from visual studio results in:

enter image description here

The output window shows "The program '' has exited with code 4294967295 (0xffffffff)."

Docker desktop shows the container running but I can't grab logs from it or hit it in the url.

WSL is fine and everything is working there.

My home machine works great and i'm able to launch and debug containers.

like image 897
user1717926 Avatar asked Jan 24 '26 19:01

user1717926


1 Answers

Faced with identical error, I was able to resolve by deleting VSDBG debugger folder:

%USERPROFILE%\vsdbg\vs2017u5

After deleting the folder start Visual Studio debugger (F5) and as a result VSDBG debugger will be recreated

Container Tools build properties https://learn.microsoft.com/en-us/visualstudio/containers/container-msbuild-properties?view=vs-2022

like image 174
Vasyl Senko Avatar answered Jan 27 '26 00:01

Vasyl Senko



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!