NetFx40_LegacySecurityPolicy in design-time mode
问题 Is there any way to make legacy design-time code execute with NetFx40_LegacySecurityPolicy switched on? More specificaly, is there any way to make DevExpress 8.2 winforms designer work in VisualStudio 2010? I got errors due to this issue and found no help about design-time mode, just about run-time: <runtime> <NetFx40_LegacySecurityPolicy enabled="true"/> </runtime> How should I fix problems with winforms designer? 回答1: Just add this <NetFx40_LegacySecurityPolicy enabled="true"/> into your