[assembly:
AssemblyTitle("")However, there are projects in our company that the AssemblyTitle is different from the project name. There are also several instances wherein the Assembly name is different from the project name. Please advice.
[assembly:
AssemblyTitle("")However, there are projects in our company that the AssemblyTitle is different from the project name. There are also several instances wherein the Assembly name is different from the project name. Please advice.
Is there metadata/manifest for the Project Name of an Assembly?
Rodrigo Harambure
I actually do not need it at runtime. It just so happened that I am a build administrator and it is sometimes painstaking to trace where one assembly came from. Especially when all assemblies of multiple projects are thrown to a single directory. I taught it would help me a lot if I'll be able to know from what project an assembly came from.
I tried creating an app that would list all the projects in a certain folder and then list the corresponding assemblies that the projects creates. However, this takes a lot of time if there are a lot of projects in that folder. I taught that a metadata in the assembly containing the project name would be better. Thanks for the reply anyway.
Alan Pa
yy608
No there's no such metadata. You don't need Visual Studio to build assemblies so there may not even be a project.
I'm curious why you need the project name at runtime
elixus
How did you implement that Opening a project file and finding the output assembly name shouldn't have to take very long.
I would certainly expect it to be faster than to load the assembly with reflection and look for attributes.