Bugs item #3383872, was opened at 2011-08-01 15:28 Message generated for change (Settings changed) made by sainzg You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=3383872&group_id=31650
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: 0.91-alpha2 Status: Open Resolution: None >Priority: 9 Private: No Submitted By: Gus (sainzg) Assigned to: Nobody/Anonymous (nobody) Summary: Cannot compile.Net 4.0 on the server with Nant 0.91 Alpha 2 Initial Comment: Recently we updated our build server to .Net 4.0 and installed SDK for Windows 7 and .NET 4.0 as required, then upgraded to Nant. 091.Alpha2 because with Alpha 1 could no longer compile .net 3.5 / .net 4.0. We are also using Nantcontrib 0.85 We are still having this same error being reported BUILD FAILED INTERNAL ERROR System.Security.SecurityException: Request for the permission of type 'System.Se curity.Permissions.EnvironmentPermission, mscorlib, Version=4.0.0.0, Culture=neu tral, PublicKeyToken=b77a5c561934e089' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMa rk& stackMark, Boolean isPermSet) at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, S tackCrawlMark& stackMark) at System.Security.CodeAccessPermission.Demand() at System.IO.Path.GetTempPath() at System.IO.Path.GetTempFileName() at NAnt.Contrib.Tasks.MsbuildTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) at NAnt.Core.Project.Execute() at NAnt.Core.Project.Run() The action that failed was: Demand The type of the first permission that failed was: System.Security.Permissions.EnvironmentPermission The first permission that failed was: <IPermission class="System.Security.Permissions.EnvironmentPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true"/> ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=3383872&group_id=31650 ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers