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=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"/>


----------------------------------------------------------------------

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=detail&atid=402868&aid=3383872&group_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

Reply via email to