A set of .NET Framework managed libraries for developing graphical user interfaces.
- your smart app application has been blocked by windows security applications. just turn off those settings.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
When Smart App Control is enabled on Windows, I am unable to run WinForms or WPF sample applications from Microsoft Visual Studio. After enabling Smart App Control and attempting to run the project, Visual Studio shows the following error.
The application builds successfully, but execution is blocked at runtime due to the application control policy.
1. Is this expected behavior when Smart App Control is enabled?
2. Is there a specific Visual Studio or Windows configuration settings required to prevent Smart App Control from blocking development builds?
A set of .NET Framework managed libraries for developing graphical user interfaces.
AI answer
Smart App Control allows apps to run only if:
Unsigned, unknown development builds fall outside these criteria and are therefore blocked when Smart App Control is enforcing.
For troubleshooting and validation:
If testing how Smart App Control treats a given build (without blocking it), configure it in Evaluation mode and use audit policies as described in the Smart App Control testing guidance.
References:
Hi @Yuvaraj Masilamani ,
Thanks for reaching out.
What you're seeing seems consistent with how Smart App Control can behave when it is running in enforcement mode. A project can still build normally in Visual Studio, but the app may be blocked when it starts if the executable is unsigned or not yet recognized as trusted.
There usually isn't a Visual Studio setting that overrides that behavior for local development builds. In most cases, the practical options are to test on a device or VM where Smart App Control is not enforcing, keep it in Evaluation mode while validating the app, or sign the build with a trusted code-signing certificate.
If you'd like to confirm whether Smart App Control is what is stopping the launch, you can check Event Viewer under Applications and Services Logs > Microsoft > Windows > CodeIntegrity > Operational. Event ID 3077 is typically associated with enforcement blocks, and 3076 is generally used for audit or evaluation scenarios.
If helpful, these Microsoft references go into a bit more detail on the behavior and the available testing options:
Smart App Control overview: https://learn.microsoft.com/en-us/windows/apps/develop/smart-app-control/overview
Test your app's signature with Smart App Control: https://learn.microsoft.com/en-us/windows/apps/develop/smart-app-control/test-your-app-with-smart-app-control
Smart App Control FAQ: https://support.microsoft.com/en-us/topic/what-is-smart-app-control-285ea03d-fa88-4d56-882e-6698afdb7003
Hope this helps! If my answer was helpful, I would greatly appreciate it if you could follow the instructions here so others with the same problem can benefit as well.