# I can't run my go program in vs code

**URL:** <https://forum.golangbridge.org/t/i-cant-run-my-go-program-in-vs-code/42800>\
**Category:** Technical Discussion\
**Created:** [November 10, 2026, 6:32am UTC](https://forum.golangbridge.org/t/i-cant-run-my-go-program-in-vs-code/42800 "2026-11-10T06:32:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ss613](https://forum.golangbridge.org/user_avatar/forum.golangbridge.org/ss613/32/18041_2.png) [@ss613](https://forum.golangbridge.org/u/ss613)\
**Post date:** [November 10, 2026, 6:32am UTC](https://forum.golangbridge.org/t/i-cant-run-my-go-program-in-vs-code/42800/1 "2026-11-10T06:32:48Z")

</div>

I have trying to run my go program on my windows in vs code. But, I always get that my program execution is blocked.

![image](https://forum.golangbridge.org/uploads/default/original/3X/8/d/8d9d18ffb060c498539da34c03545f59f0dde483.png)

I have searched for the solution and mostly people say to turn off smart app protection but I dont want to compromise on my laptops security. Is there any other way? I have tried adding folder path in the exceptions in the antivirus microsoft defender. I am using go version 1.25.11.
