How to share assembly attributes between multiple assemblies?

R

RoveR

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
 
R

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top