If you create a new winform project with SharpDevelop 4, then drag an OpenFileDialog (or SaveFileDialog) to the form, then show the dialog (.ShowDialog), Norton internet security 2011 blocks the application and delete it (the binary). The sonar protection of norton reports a "suspicious behaving" of the application. This does not happens with projects created by Visual Studio. I run Win 7.
I thought maybe this have something to do with a lack of single-threaded apartment attribute. Does SharpDevelop use this attribute for winforms? Where it is located? And in general: What difference between SharpDevelop and Visual Studio's Auto-generated code may cause this?
EDIT:
- The problem occurs both inside SharpDevelop debugging and outside with the binary.
- Setting .AutoUpgradeEnabled to False solved the problem. However, when code generated by Visual Studio, the problem doesn't occur regardless of the value of .AutoUpgradeEnabled.