.NET .NET Version 3.5 .NET Version 4 ASP.NET Azure Error Solving Errors Final Fantasy Series Games General Development Misc Share Point 2010 Silverlight Silverlight 2 Silverlight Version 3 Silverlight Version 4 Tips Uncategorized Visual Studio Visual Studio 2010 Visual Studio 2012 Windows Phone
Archive for the Category: .NET Version 4
Camera phones these days store the orientation the phone was in when taking the photo and store the photo in the camera device layout. So this means if your software dosn’t know to rotate the image it will appear rotated on screen. Here is a simple extension method to fix the orientation when you load […]
I recently ran into a problem that I needed to track what has actually changed on the Entity before it gets stored. It turns out that this level of tracking isn’t available in a TableServiceContext unlike it’s similar style providers like the Linq to SQL one. It turns out you can achieve this quite simply. […]
Error – This method explicitly uses CAS policy, which has been obsoleted by the .NET Framework. In order to enable CAS policy for compatibility reasons, please use the NetFx40_LegacySecurityPolicy configuration switch.
If you change your App.Config to the following this error will go away. See here for information regarding this http://connect.microsoft.com/VisualStudio/feedback/details/509613/system-notsupportedexception-this-method-explicitly-uses-cas-policy-which-has-been-obsoleted-by-the-net-framework <?xml version=”1.0″?> <configuration> <startup> <supportedRuntime version=”v4.0″ sku=”.NETFramework,Version=v4.0″/> </startup> <runtime> <NetFx40_LegacySecurityPolicy enabled=”true”/> </runtime> </configuration>