I had been working fine on my previous machine, but i bought a new one and I installed everything I needed there (Win 7 x64 Enterprise, VS 2010 Proffesional SP1) and I downloaded several projects from my CVSNT repository.
Now, in the new PC, I'm having a lot of security troubles running the applications. The last one says something like
Attempt by security transparent method 'Namespace.class.method()' to access security critical method 'Namespace.class.method()' failed.
Assembly 'Assembly' is marked with the AllowPartiallyTrustedCallersAttribute, and uses the level 2 security transparency model. Level 2 transparency causes all methods in AllowPartiallyTrustedCallers assemblies to become security transparent by default, which may be the cause of this exception.
Before that never happened before, and now several trust issues are bothering all the time.
I'm running VS as administrator and dont have the UAC enabled.
Any suggestion of how to solve this issues and why are all my projects having Trust problems?