Home > Archive > Visual Studio > July 2004 > How to share assembly attributes between multiple assemblies?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How to share assembly attributes between multiple assemblies?
|
|
|
| Hi,
I have a couple of assemblies containing ServicedComponents-derived classes
which will be registered into the same COM+ Application hence I want them to
have the same ApplicationIDAttribute, ApplicationNameAttribute,
ApplicationAccessControl, etc.
It becomes a management nightmare to manually copying from one
AssemblyInfo.cs to another.
If I use csc.exe, I can put a common .cs file in the root directory and can
then use ..\CommonAssemblyInfo.cs.
But the IDE always performs a copy operation when I reference this file. I
don't want to run NAnt, just because of this but I may have to run a Nant
project to keep everyone in sync.
Does anyone has any good idea to solve this puzzle? Will this short coming
be addressed in the next release of VS.NET?
Thanks.
Rover
| |
| Nicole Calinoiu 2004-07-22, 3:58 pm |
| You can share files between projects via the IDE. See, for example,
http://www.ftponline.com/vsm/2003_0...ne/columns/qa/.
HTH,
Nicole
"RoveR" <RoveR-001@No.Hot.SPAm.Mail.com> wrote in message
news:%2381M1P$bEHA.3792@TK2MSFTNGP09.phx.gbl...
> Hi,
>
> I have a couple of assemblies containing ServicedComponents-derived
> classes
> which will be registered into the same COM+ Application hence I want them
> to
> have the same ApplicationIDAttribute, ApplicationNameAttribute,
> ApplicationAccessControl, etc.
>
> It becomes a management nightmare to manually copying from one
> AssemblyInfo.cs to another.
>
> If I use csc.exe, I can put a common .cs file in the root directory and
> can
> then use ..\CommonAssemblyInfo.cs.
>
> But the IDE always performs a copy operation when I reference this file. I
> don't want to run NAnt, just because of this but I may have to run a Nant
> project to keep everyone in sync.
>
> Does anyone has any good idea to solve this puzzle? Will this short coming
> be addressed in the next release of VS.NET?
>
> Thanks.
>
> Rover
>
>
| |
|
| Nicole,
Thanks for the tip. It is a shame that it was not very conspicuous as its
VS.NET is only good for single project.
Rover
"Nicole Calinoiu" <nicolec@somewhere.net> wrote in message
news:OlB3Q1$bEHA.4064@TK2MSFTNGP09.phx.gbl...
> You can share files between projects via the IDE. See, for example,
> http://www.ftponline.com/vsm/2003_0...ne/columns/qa/.
>
> HTH,
> Nicole
>
>
> "RoveR" <RoveR-001@No.Hot.SPAm.Mail.com> wrote in message
> news:%2381M1P$bEHA.3792@TK2MSFTNGP09.phx.gbl...
them[color=darkred]
I[color=darkred]
Nant[color=darkred]
coming[color=darkred]
>
>
|
|
|
|
|