I want to run Castle.Core under medium trust, and I know how to do it in theory.
- Add [AllowPatiallyTrustedCallers] to the Assembly.cs
- Disable Trace Logger - (because it uses reflection)
First problem, there is is no Assembly.cs, so apparently you can use nant to build with a command line like:
nant -D:assembly.allow-partially-trusted-callers=true
But that returns an error
NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 26/12/2003)
Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net
Buildfile: file:///D:/Downloads/development - source/Castle Proxy/Core/src/Castl
e.Core/default.build
Target(s) specified: nant
BUILD FAILED
Property 'project::get-name()' has not been set.
Total time: 0.1 seconds.
How do I set this or resolve the issue? The svn for this the Castle.Core is https://svn.castleproject.org/svn/castle/Core/trunk so your welcome to check it out before answering if you want