[mapserver-commits] r10129 - in trunk/mapserver: . mapscript/csharp
mapscript/csharp/config
svn at osgeo.org
svn at osgeo.org
Sun May 2 08:02:54 EDT 2010
Author: tamas
Date: 2010-05-02 08:02:51 -0400 (Sun, 02 May 2010)
New Revision: 10129
Modified:
trunk/mapserver/HISTORY.TXT
trunk/mapserver/mapscript/csharp/Makefile.vc
trunk/mapserver/mapscript/csharp/config/AssemblyInfo.cs
Log:
Fix security exception issue in C# with MSVC2010 (#3438)
Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT 2010-04-29 18:31:52 UTC (rev 10128)
+++ trunk/mapserver/HISTORY.TXT 2010-05-02 12:02:51 UTC (rev 10129)
@@ -14,6 +14,8 @@
Current Version (SVN trunk):
----------------------------
+- Fix security exception issue in C# with MSVC2010 (#3438)
+
- Write out join CONNECTIONTYPE when saving a mapfile. (#3435)
- Fixed attribute queries to use an extent stored (and cached) as part of the queryObj
Modified: trunk/mapserver/mapscript/csharp/Makefile.vc
===================================================================
--- trunk/mapserver/mapscript/csharp/Makefile.vc 2010-04-29 18:31:52 UTC (rev 10128)
+++ trunk/mapserver/mapscript/csharp/Makefile.vc 2010-05-02 12:02:51 UTC (rev 10129)
@@ -47,6 +47,10 @@
!ENDIF
!ENDIF
+!IF $(MSVC_VER) >= 1600
+CSC = $(CSC) /define:CLR4 /debug:full
+!ENDIF
+
#SWIG = swig
!IFDEF DLLBUILD
Modified: trunk/mapserver/mapscript/csharp/config/AssemblyInfo.cs
===================================================================
--- trunk/mapserver/mapscript/csharp/config/AssemblyInfo.cs 2010-04-29 18:31:52 UTC (rev 10128)
+++ trunk/mapserver/mapscript/csharp/config/AssemblyInfo.cs 2010-05-02 12:02:51 UTC (rev 10129)
@@ -92,3 +92,7 @@
// Web page that should be running under restricted permissions.
[assembly: AllowPartiallyTrustedCallers]
+// Use the .NET Framework 2.0 transparency rules (level 1 transparency) as default
+#if (CLR4)
+[assembly: SecurityRules(SecurityRuleSet.Level1)]
+#endif
\ No newline at end of file
More information about the mapserver-commits
mailing list