I've played with c# project properties, since this even I've reset the parameters I get those messages in warning window. Is this important for the compiled program ? How can I rectify this ? Because before playing with project properties i was not getting those warnings.
The referenced assembly "MySql.Data.Entity, Version=126.96.36.199, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL" has a dependency on "System.Data.Entity, Version=188.8.131.52, Culture=neutral, PublicKeyToken=b77a5c561934e089" which is not listed as part of the "Client" TargetFrameworkSubset. If this dependent reference is required, you may get compilation errors.
Reference 'System.Data.SqlServerCe' does not allow partially trusted callers.
Reference 'MySql.Data.Entity' does not allow partially trusted callers.
(Use 4 instead of 3.5 if you're using 4, but from the error it looks like you're using 3.5)
In VS Project Properties window -> Target framework (it shouldn't point to the "Client Profile" distribution of .NET)
Ismail Never change a running system lol. I'm wonderuning why you does not have stored your work on repository.
If you have the default standalone application than you have to check the following:
If you have ASP application or you have some code security or your application need permissions than you have to determine the Permissions for a ClickOnce Application.
I have this will solve your problem.
Finally I've found the answer of the debility I've did. It's shown in the picture. I've checked the JIT option. Because, when I have used the exe program in another computer as I' did not take a copy of "MySql.Data.dll" my program was not working and was finishing by an exception. In the warning of this exception it was saying about to check the JIT. I've checked it(and I forgot it). After trying all the possiblity I found the solution. But I don't understand why this dll is protected. It must be a part of GNU ??
reason of the problem http://turcguide.com/stack/mysqldll.jpg