[nant-dev] [ nant-Bugs-3383872 ] Cannot compile.Net 4.0 on the server with Nant 0.91 Alpha 2
Bugs item #3383872, was opened at 2011-08-01 15:28 Message generated for change (Comment added) made by sainzg You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=402868aid=3383872group_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: Closed Resolution: Works For Me 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/ -- Comment By: Gus (sainzg) Date: 2011-09-02 07:00 Message: Got it resolved, windows security issue. -- Comment By: Gus (sainzg) Date: 2011-09-02 06:59 Message: Select all files in one the folders, in my case was the nant-contrib \ bin files, I've copied them over from another server and windows blocks them until you mark them safe again. So select all files, right click go to properties and there will be a button at the very bottom to mark the safe or the like, click on it, repeat this process for any other files on another folders you might have copied over from different location. -- Comment By: Joseph Remes (jremes) Date: 2011-09-01 15:25 Message: I am getting a very similar error. Request for the permission of type 'System.Security.Permissions.FileIOPermission...' -- You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=402868aid=3383872group_id=31650 -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free Love Thy Logs t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] [ nant-Bugs-3383872 ] Cannot compile.Net 4.0 on the server with Nant 0.91 Alpha 2
Bugs item #3383872, was opened at 2011-08-01 14:28 Message generated for change (Comment added) made by jremes You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=402868aid=3383872group_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/ -- Comment By: Joseph Remes (jremes) Date: 2011-09-01 14:25 Message: I am getting a very similar error. Request for the permission of type 'System.Security.Permissions.FileIOPermission...' -- You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=402868aid=3383872group_id=31650 -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free Love Thy Logs t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] [ nant-Bugs-3383872 ] Cannot compile.Net 4.0 on the server with Nant 0.91 Alpha 2
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=detailatid=402868aid=3383872group_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=detailatid=402868aid=3383872group_id=31650 -- BlackBerryreg; 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