Re: new to Nant

Ryan Boggs <[email protected]> Sat, 31 Mar 2012 10:06:54 -0700
Newsgroups gmane.comp.windows.dotnet.nant.user
Message-ID <CAJg1EnDkNFRgroDQsRL8TsbhAN6-x0NBn+HeWvDQE_qCqg0Djg@mail.gmail.com>
Forgot to CC list.  Sorry about that.

Thanks,
Ryan

---------- Forwarded message ----------
From: Ryan Boggs <[email protected]>
Date: Sat, Mar 31, 2012 at 10:06 AM
Subject: Re: [NAnt-users] new to Nant
To: Ruben Rotteveel <[email protected]>


Hi Ruben,

Unfortunately, I think this could possibly be a bug in the asminfo
task. =A0I'm going to investigate this further.

In the meantime, could you please report this in the issues log on
NAnt's github site? Link provided below:
https://github.com/nant/nant

Thanks,
Ryan

On Sat, Mar 31, 2012 at 8:16 AM, Ruben Rotteveel
<[email protected]> wrote:
> I=92m new to Nant and am editing a build script.=A0 I need to build the
> assemblies in my project to AllowPartiallyTrustedCallers, however when I =
add
> the attribute to the assemblyinfo builder I get the following error:
>
>
>
> =91=85CommonAssemblyInfo.cs' could not be generated.
>
> =A0=A0=A0 Assembly attribute with type 'AllowPartiallyTrustedCallers' cou=
ld not be
> loaded.
>
>
>
> Any help is greatly appreciated.
>
>
>
> This is the part that creates the assemblyinfo.
>
>
>
> <target name=3D"update-common-assemblyinfo">
>
> =A0=A0=A0 <echo message=3D"Generating common AssemblyInfo file..." />
>
> =A0=A0=A0 <!-- ensure src/CommonAssemblyInfo.cs is writable if it already=
 exists
> -->
>
> =A0=A0=A0 <attrib file=3D"${root.dir}\src\CommonAssemblyInfo.cs" readonly=
=3D"false"
> if=3D"${file::exists('${root.dir}\src\CommonAssemblyInfo.cs')}" />
>
> =A0=A0=A0 <!-- generate the source file holding the common assembly-level
> attributes -->
>
> =A0=A0=A0 <asminfo output=3D"${root.dir}\src\CommonAssemblyInfo.cs"
> language=3D"CSharp">
>
> =A0=A0=A0=A0=A0 <imports>
>
> =A0=A0=A0=A0=A0=A0=A0 <import namespace=3D"System" />
>
> =A0=A0=A0=A0=A0=A0=A0 <import namespace=3D"System.Security" />
>
> =A0=A0=A0=A0=A0=A0=A0 <import namespace=3D"System.Reflection" />
>
> =A0=A0=A0=A0=A0=A0=A0 <import namespace=3D"System.Runtime.InteropServices=
" />
>
> =A0=A0=A0=A0=A0 </imports>
>
> =A0=A0=A0=A0=A0 <attributes>
>
> =A0=A0=A0=A0=A0=A0=A0 <attribute type=3D"CLSCompliantAttribute" value=3D"=
true" />
>
> =A0=A0=A0=A0=A0=A0=A0 <attribute type=3D"ComVisibleAttribute" value=3D"fa=
lse" />
>
> =A0=A0=A0=A0=A0=A0=A0 <attribute type=3D"AssemblyProductAttribute"
> value=3D"${product.fullname}" />
>
> =A0=A0=A0=A0=A0=A0=A0 <attribute type=3D"AssemblyCompanyAttribute" value=
=3D"${product.url}" />
>
> =A0=A0=A0=A0=A0=A0=A0 <attribute type=3D"AssemblyCopyrightAttribute"
> value=3D"${product.copyright}" />
>
> =A0=A0=A0=A0=A0=A0=A0 <attribute type=3D"AssemblyTrademarkAttribute" valu=
e=3D"Apache License,
> Version 2.0" />
>
> =A0=A0=A0=A0=A0=A0=A0 <attribute type=3D"AssemblyCultureAttribute" value=
=3D"" />
>
> =A0=A0=A0=A0=A0=A0=A0 <attribute type=3D"AssemblyVersionAttribute"
> value=3D"${project.version}" />
>
> =A0=A0=A0=A0=A0=A0=A0 <attribute type=3D"AssemblyConfigurationAttribute"
> value=3D"${project.framework}; ${project.version}; ${project.buildtype}" =
/>
>
> =A0=A0=A0=A0=A0=A0=A0 <attribute type=3D"AllowPartiallyTrustedCallers" va=
lue=3D"" />
>
> =A0=A0=A0=A0=A0 </attributes>
>
> =A0=A0=A0 </asminfo>
>
> =A0 </target>
>
>
> -------------------------------------------------------------------------=
-----
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> NAnt-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>

---------------------------------------------------------------------------=
---
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here =

http://p.sf.net/sfu/sfd2d-msazure