incubator-npanday-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Wessendorf <mat...@apache.org>
Subject Re: AssemblyInfo
Date Tue, 10 Jan 2012 14:57:37 GMT
any complains, if I commit it ?

-M

On Tue, Jan 10, 2012 at 2:39 PM, Matthias Wessendorf <matzew@apache.org> wrote:
> Hi,
>
> I uploaded a patch against the 1.4.1 incubating branch:
>
>
> https://issues.apache.org/jira/browse/NPANDAY-529
>
>
> -M
>
> On Tue, Jan 10, 2012 at 1:40 PM, Brett Porter <brett@apache.org> wrote:
>> I don't think that's possible, from my understanding of the code.
>>
>> You could probably supply a custom AssemblyInfo.cs generated/modified by hand. Otherwise,
DefaultAssemblyInfoMarshaller would need to be improved to support custom/missing types.
>>
>> - Brett
>>
>> On 10/01/2012, at 9:07 PM, Matthias Wessendorf wrote:
>>
>>> using the "assemblyInfo" @parameter, like:
>>>
>>>                <assemblyInfo>
>>>                    <key1>FOO</key1>
>>>                    <key2>FOO</key2>
>>>                </assemblyInfo>
>>>
>>>
>>> gives me the following:
>>> [assembly: CustomStringAttribute("key1", "FOO")]
>>> [assembly: CustomStringAttribute("key2", "FOO")]
>>>
>>> Not quite what I want -
>>>
>>> On Tue, Jan 10, 2012 at 10:41 AM, Matthias Wessendorf <matzew@apache.org>
wrote:
>>>> Hi,
>>>>
>>>> is there a way to easily append (desired) attributes to the generated
>>>> AssemblyInfo.cs file ?
>>>>
>>>> I'd like to have the following attributes in there:
>>>>
>>>> [assembly: InternalsVisibleTo("Mocks")]
>>>> [assembly: InternalsVisibleTo("MockObjects")]
>>>>
>>>> Thx!
>>>>
>>>> --
>>>> Matthias Wessendorf
>>>>
>>>> blog: http://matthiaswessendorf.wordpress.com/
>>>> sessions: http://www.slideshare.net/mwessendorf
>>>> twitter: http://twitter.com/mwessendorf
>>>
>>>
>>>
>>> --
>>> Matthias Wessendorf
>>>
>>> blog: http://matthiaswessendorf.wordpress.com/
>>> sessions: http://www.slideshare.net/mwessendorf
>>> twitter: http://twitter.com/mwessendorf
>>
>> --
>> Brett Porter
>> brett@apache.org
>> http://brettporter.wordpress.com/
>>
>
>
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Mime
View raw message