When you open an already existing full trust application in Visual Studio 2010 beta 2, you might encounter this error after the first build.
MSB3134: The permission set requested by the application exceeded the permissions allowed by the Internet or Intranet zones. Select Full Trust or to continue using partial trust, define your custom permission set in the Security Page of the Project Designer.
This error and the rationale behind it is explained by Kristopher Makey here.
Unfortunately, fix is not clear. Solution is as below.
- Open <Application>/Properties/app.manifest
- Remove everything between <security> tag
- Go to Application Properties > Security tab. Select the permission as ‘Full trust’ and save and compile.
Simple Isn’t it 🙂